Skip to content

SamuelMarks/flask-swagger-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-swagger-codegen

Generate Flask code from Swagger docs.

Origin

Forked from: https://pypi.python.org/pypi/Flask-Swagger-Codegen

Demo

https://asciinema.org/a/18775 (from original author)

Tutorial

  1. Start with an empty directory
  2. Add your own .yml file in Swagger format, the rest of this assumes "api.yml" filename is chosen and "test-app" is name.
  3. Run pip install Flask-Swagger-Codegen (for this repo use: pip install git+https://github.com/SamuelMarks/flask-swagger-codegen#egg=flask_swagger_codegen)
  4. flask_swagger_codegen test-app -s api.yml
  5. cd test-app
  6. pip install -r requirements.txt
  7. python -m test_app.__init__

License

MIT

About

Generate Flask code from Swagger docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published