Flask-Swag
Swagger spec extractor for flask.
It supports only python3.4 and higher.
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 myapp.app import app
from myapp.exts import swag
@app.route('/some-list')
@swag.mark.query('page', int)
@swag.mark.response(200, "List of somethings.", some_list_schema)
def some_list():
pass
Documentation
You can find out more info at http://flask-swag.readthedocs.org/
Metadata
Release files for Flask-Swag 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Flask-Swag-0.1.2.tar.gz | 790.7 kB | Without provenance | Details for Flask-Swag-0.1.2.tar.gz |
Release files / Flask-Swag-0.1.2.tar.gz
| Download URL | Flask-Swag-0.1.2.tar.gz |
|---|---|
| Size | 790.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22c7776f86ba6c375f902f35e197fbc427d3eb715ea18c52da935c9cc8e80659
|
|
BLAKE2b-256 checksum How to use checksums |
648f70aa8d57f96dfca432335ab6cb720e97c75c1b6cb48859a0108da2212a75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Flask-Swag 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.