Add Swagger to Flask API project with OpenAPI

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Note: Whenever he says "XML", replace that with "YAML" in your head.

Etnis
Автор

Simple and crisp explanation....Thats what I was looking for...Thanks

shiblyaziz
Автор

What about if you have a bunch of apis added later? Will you keep updating the swagger ui manually? It should just pick the api definitions from the code.

Fastapi provides it out of the box without writing a single line of json ourself.

dew_reddit
Автор

Excellent video to integrate swagger to your project

SudharsanaViswanathan
Автор

thanks so much, now i understand where is my problem with flask swagger

queenqueents-ls
Автор

hey i followed along this, and deployed my flask into cpanel server, and when the docs endpoint requested, it would return white blank screen and i read the log that it doesn’t load the resources (index, css, js, etc), could you help?

fairofif
Автор

There is already flask-RestX that produces automatic doc.

n.m