https://github.com/samuelmarks/flask-swagger-codegen
Generate Flask code from Swagger docs
https://github.com/samuelmarks/flask-swagger-codegen
Last synced: 3 months ago
JSON representation
Generate Flask code from Swagger docs
- Host: GitHub
- URL: https://github.com/samuelmarks/flask-swagger-codegen
- Owner: SamuelMarks
- Created: 2015-05-14T00:59:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-13T12:36:16.000Z (about 11 years ago)
- Last Synced: 2025-03-23T01:28:05.771Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 155 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
0. Start with an empty directory
1. Add your own .yml file in Swagger format, the rest of this assumes "api.yml" filename is chosen and "test-app" is name.
2. Run `pip install Flask-Swagger-Codegen` (for this repo use: `pip install git+https://github.com/SamuelMarks/flask-swagger-codegen#egg=flask_swagger_codegen`)
3. `flask_swagger_codegen test-app -s api.yml`
4. `cd test-app`
5. `pip install -r requirements.txt`
6. `python -m test_app.__init__`
## License
MIT