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.

Source Distribution

sanic-swagger-0.0.3.tar.gz (12.3 kB view details)

Uploaded Source

File details

Details for the file sanic-swagger-0.0.3.tar.gz.

File metadata

  • Download URL: sanic-swagger-0.0.3.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for sanic-swagger-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cfe93043c429daa2b77fa790937b45ca52c41c6467fb286887d8e5019718f9dc
MD5 cc49415577166a91c032f263247d642f
BLAKE2b-256 8e029dd7abf30b8d7e8b9da1157abd6108d42177b90e5c36527b6c9e151945d0

See more details on using hashes here.

Supported by

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