Cornice Swagger
Cornice Swagger is an extension package for Cornice
that allows generating an OpenAPI/Swagger specification from Cornice service definitions.
What does it do?
Cornice swagger builds a valid OpenAPI document with basically these things:
- Path listing and parameters from service path definitions.
- Methods defined from each service view.
- Descriptions from view docstrings.
- Parameters from request schemas when using cornice/colander validators on the
view definition.
- Produced content-types when using colander renderers.
- Accepted content types when they are provided on view definitions.
- Allow user defined tags and responses on view definitions.
Contribution & Feedback
You can find us at Github or the Slack chat.
You may also try the Cornice Mailing List: