Skip to content

Syntax for mocks #361

@SamuelMarks

Description

@SamuelMarks

Different languages have ways of generating mock data. E.g., email address, person name, location.

Example fields in OpenAPI are useful for handwriting these.

With Arazzo the complexity could increase seriously, and one would need to trace ids through complex examples (e.g., pet name + adopter name leading to a trade to a new adopter then list all pets owned by that adopter).

One major use-case I see for Arazzo is generating tests + mocks for ones API.

What do you think about having a special syntax for defining mocks within Arrazo?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions