No project description provided
Project description
Flaskdoc
FlaskDoc is an extension of the regular Flask API and adds support for Swagger/OpenAPI documentation.
Requirements
- Python 2.7+, 3.5+
Installation
Project is still in active development. The goal is to be able to install it like this
$ pip install flaskdoc
Usage Examples
import swagger.models
import flaskdoc
from flaskdoc import swagger
blp = flaskdoc.Blueprint("sample", __name__)
@blp.route("/echo/<string:sample>",
description="Simple Echo",
methods=[
swagger.GET(tags=["sample"])
]
)
def echo(sample):
return sample
Release History
Meta
Distributed under Apache 2.0 License
Contributing
- Fork it
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flaskdoc-0.1.0a1.tar.gz
(2.5 MB
view hashes)
Built Distribution
flaskdoc-0.1.0a1-py2.py3-none-any.whl
(548.6 kB
view hashes)
Close
Hashes for flaskdoc-0.1.0a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4d802cf3c0627182b71e5483136dc8e08d9fbbd7752ca037e52c742c7e830bd |
|
MD5 | 04f4ac74d6ea978de5b92d7ec706be56 |
|
BLAKE2b-256 | bda5952db9c57acfa5c3026479500bb8b41a613fbdfead0a6edccec2f21c309b |