sanic-swagger-37

OpenAPI / Swagger support for Sanic using attrs


Keywords
sanic, swagger, openapi, attrs, cattrs
License
MIT
Install
pip install sanic-swagger-37==0.0.1

Documentation

sanic-swagger

Codacy Badge CircleCI codecov PyPI status PyPI version PyPI pyversions FOSSA Status MIT license

Annotate your Sanic endpoints, and automatically generate a Swagger/OpenAPI compatible JSON spec file.

This project is a fork of both sanic-openapi and sanic-attrs.

As such, you can write all of your models as attrs which gives you the handy ability to use cattrs for dealing with your serialization and deserialization of your models to and from JSON.