Add Swagger UI to Python Flask API

Publié le: 08 mars 2019
sur la chaîne: SBCODE
65,764
581

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.


Sur cette page du site, vous pouvez voir la vidéo en ligne Add Swagger UI to Python Flask API durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur SBCODE 08 mars 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 65,764 fois et il a aimé 581 téléspectateurs. Bon visionnage!