Skip to main content

Build swagger spec with Flask.

Project description

Swagger spec extractor for flask.

It supports only python3.4 and higher.

PyPI Version Build Status Documentation Status

How to use it

Flask-Swag is a Flask extesnsion.

You can configure by

from flask.ext.swag import Swag

swag = Swag(app)

then, Swagger-UI will be served at /swagger/ui/


You can add details to flask view functions.

from import app
from myapp.exts import swag

@swag.mark.query('page', int)
@swag.mark.response(200, "List of somethings.", some_list_schema)
def some_list():


You can find out more info at

Project details

Download files

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

Files for Flask-Swag, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size Flask-Swag-0.1.2.tar.gz (790.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page