https://github.com/Sean-Bradley/Seans...
In this video I demonstrate adding Swagger UI to your Python 3 Flask API
You'll need to pip install first,
$ pip install flask-swagger-ui
add the 'flask-swagger-ui' and version to your requirements.txt if you deploy and build elsewhere
import flask-swagger-ui into you main app python file, add a static route to serve you swagger.json from, add the swagger ui specific blueprint code to you main app python file, edit your swagger.json to describe your api, then test it out. My code hosted at GitHub shows the code used in this video.
Make a pull request to my GitHub if you want to contribute to this project.
Thanks for watching, remember to like, comment, subscribe and share.
На этой странице сайта вы можете посмотреть видео онлайн Add Swagger UI to Python Flask API длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь SBCODE 08 Март 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 65,764 раз и оно понравилось 581 зрителям. Приятного просмотра!