OpenAPI / Swagger support for Sanic using attrs
Project description
sanic-swagger
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sanic-swagger-0.0.2.tar.gz
(12.8 kB
view hashes)
Built Distribution
Close
Hashes for sanic_swagger-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2dd7c155a5f7a8bcf9eb0c08af97c81cde56e81f22974719b37f8b1bc847909 |
|
MD5 | 28dc7d3e6baa9b2e218e7fff1d5620bd |
|
BLAKE2b-256 | 85d305a628ac12111d3929c03734942112e74fc188868876b6d1d7094de0a50d |