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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sanic-swagger-0.0.4.tar.gz.
File metadata
- Download URL: sanic-swagger-0.0.4.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
725f1a1645bb455df90b7fd8eff8acade19d3dc6b009fcff56f8d1539eb98c31
|
|
| MD5 |
382e8c939e9d2badd8bf621540ade896
|
|
| BLAKE2b-256 |
4f16be616b08e83d7505da4eea12a85bba3a135631275197c900a19e19ba9784
|
File details
Details for the file sanic_swagger-0.0.4-py3-none-any.whl.
File metadata
- Download URL: sanic_swagger-0.0.4-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
396736ea096d5ec53ec95e671f263e360148a56a4948a00b5c8cbd0bdcd4c99e
|
|
| MD5 |
1d14acfc4138140cd0df73ef5323ba3c
|
|
| BLAKE2b-256 |
b80eee0f35f757d2a8a954df1f6069621c6251217bd4abfd213733e733e53b45
|