Skip to content

Support for Multiple Response Examples #21

@bpdev97

Description

@bpdev97

Is your feature request related to a problem? Please describe.
Currently, its not possible to define multiple response body examples for a given status code with django shinobi.

Relevant OpenAPI Documentation (Search for Multiple examples in response bodies):
https://swagger.io/docs/specification/v3_0/adding-examples/

Fast API PR that implemented this feature:
fastapi/fastapi#1267

Issue from Django Ninja that had a PR:
vitalik/django-ninja#586

Describe the solution you'd like
Ideally there would be a way to define multiple response examples for a given status code. If there is interest in implementing this feature, I'd be happy to look over the PR from django ninja and get it into a reviewable state for django shinobi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions