Skip to main content

OpenAPI / Swagger support for Sanic using attrs

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
sanic_swagger-0.0.4-py3-none-any.whl (14.7 kB) Copy SHA256 hash SHA256 Wheel py3
sanic-swagger-0.0.4.tar.gz (12.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page