Generate Flask code from Swagger docs.
Forked from: https://pypi.python.org/pypi/Flask-Swagger-Codegen
https://asciinema.org/a/18775 (from original author)
- Start with an empty directory
- Add your own .yml file in Swagger format, the rest of this assumes "api.yml" filename is chosen and "test-app" is name.
- Run
pip install Flask-Swagger-Codegen
(for this repo use:pip install git+https://github.com/SamuelMarks/flask-swagger-codegen#egg=flask_swagger_codegen
) flask_swagger_codegen test-app -s api.yml
cd test-app
pip install -r requirements.txt
python -m test_app.__init__
MIT