-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support definitions of OpenAPI objects #85
Comments
I second that, but am also still puzzled what colander field of a Update: More research shows, that you can just add more kwargs to a |
Just added a PoC. Any opinions by the masters? @Natim @gabisurita @glasserc |
Alternatively just expose API for that similar to what apispec does: |
At least for the Maybe that's more a matter of making the |
Also, apispec has plugins. The marshmallow one is built-in. |
It would be very helpful if we could somehow generate
definitions
section of OpenAPI schema, $ref information and providing example values.One way would be to provide some kind of metadata property on colander schemas with additional information that could be extracted by
cornice_swagger
and then transformed into proper definitions.The text was updated successfully, but these errors were encountered: