-
Notifications
You must be signed in to change notification settings - Fork 13
Support for Multiple Response Examples #21
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request