Skip to main content

OpenAPI / Swagger support for Sanic using attrs

Project description


CircleCI codecov PyPI status PyPI version PyPI pyversions

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)

Uploaded source

Built Distribution

sanic_swagger-0.0.2-py3-none-any.whl (13.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page