Skip to content

Specifying multiple examples for a given schema isn't possible #245

@elbee19

Description

@elbee19

We'd like to specify a few examples for our operations in our Swagger file, and I guess the only way to do so is to specify a body parameter and fill the 'example' property of the Schema object belonging to that operation.

The spec mentions that the 'example' field in the Schema object is of type object, so it can specify only one example.

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