-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pydantic model schema #1480
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@larme would be great for you to look into this issue |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I want to have robust input and output shema validation. Similar to what is achieved with FastAPI https://fastapi.tiangolo.com/.
Describe the solution you'd like
Add support to the JsonInput to:
schema
parameter that can be a type definition or a pydantic model https://pydantic-docs.helpmanual.io/usage/models/ . This will be used to generate the response in the openapi schema https://pydantic-docs.helpmanual.io/usage/schema/Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: