Skip to content

Add ability to fallback to OpenAPI example #4

@charjr

Description

@charjr

If a default response has not been defined, by the API or by config: add the ability to fall back to an example field specified in OpenAPI spec.

OpenAPI 3.0 has example.
OpenAPI 3.1 has example and examples.

Supporting examples may be slightly trickier, or just take the first one, one at random, etc.

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