Package used to create flask swagger documentation in few minutes with least possible effort.
Project description
Easy Flask Swagger
Easy Flask Swagger - Creating flask swagger documentation in few minutes with least possible effort.
Installation
Using PIP
pip install easy-flask-swagger
Usage/Examples
from easy_flask_swagger import EasyFlaskSwagger
efs = EasyFlaskSwagger("My Backend Documentation")
efs.setPaths({SwaggerTags.AUTHENTICATION: [signup]})
efs.setSchemas([User])
efs.setDescriptions({
SwaggerTags.AUTHENTICATION: 'For user authentication'
})
pprint(efs.to_dict())
# And that's it 😁
Run Locally
Clone the project
git clone https://github.com/YashMakan/easy-flask-swagger
Go to the project directory
cd my-project
Install dependencies
pip install -r requirements.txt
Run the tests/test.py file
python tests/test.py
Authors
MIT License
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for easy_flask_swagger-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4288aae40ed6f32c1e9e9e24f9da5897ac6c31804b4e9474f5fa1158c5806230 |
|
MD5 | f4140bc6b11264fed78e0750fcc3647f |
|
BLAKE2b-256 | 8c05d35c93b94eb8b55895a589c2f7ac1f008c950ed8fd541638909514c151dd |