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.4.tar.gz
(12.2 kB
view hashes)
Built Distribution
Close
Hashes for sanic_swagger-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396736ea096d5ec53ec95e671f263e360148a56a4948a00b5c8cbd0bdcd4c99e |
|
MD5 | 1d14acfc4138140cd0df73ef5323ba3c |
|
BLAKE2b-256 | b80eee0f35f757d2a8a954df1f6069621c6251217bd4abfd213733e733e53b45 |