marshmallow-code / apispec-webframeworks

Web framework plugins for apispec (formally in apispec.ext).
MIT License
32 stars 23 forks source link

How to use with tornado #54

Closed Josca closed 5 years ago

Josca commented 5 years ago

Could you please provide example of usage openapi with tornado framework? I can not find it anywhere.

sloria commented 5 years ago

See the docstring of the plugin: https://github.com/marshmallow-code/apispec-webframeworks/blob/master/src/apispec_webframeworks/tornado.py . It provides a path helper for registering OpenAPI paths from a tornado urlspec.