Developer friendly tool for crafting OpenAPI specs
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.0.1a1.tar.gz
(2.5 MB
view hashes)
Built Distribution
Close
Hashes for flaskdoc-0.0.1a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 075d0140eaa4bad27d46f1267974ade81d02059a7f8fdc834acb8a0f48ed4e88 |
|
MD5 | 34120ad23ab3791ead0316dedb6b9565 |
|
BLAKE2b-256 | 6304b791e36f66554c73d401ae6929d46c8322b7f8ffe9f674288b9aaccb0aff |