abatilo / sanic-swagger

Easily document your Sanic API with a UI (and attrs!)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Easily document your Sanic API with a UI (and attrs!)

License:MIT License


Languages

Language:Python 87.1%Language:HTML 12.4%Language:Dockerfile 0.5%