Reputation: 402
I have written python
program with some flask rest
logic, and I want to know what is the easiest way to create flask swagger
from it? I saw many tutorials with different packages
but in my opinion they include too much manual work. Is there a package
which does in 1 or 2 steps?
Upvotes: -1
Views: 822
Reputation: 201
I don't think there are any fully automated approaches that you can just apply after-the-fact. I suspect that for Flask the best you can do is something like Flask-RESTPlus. But there are, as you say, others.
Side note: I have myself switched from using Flask to using FastAPI instead, partly because it has OpenAPI specification (a.k.a Swagger) support built in, but it has some other nifty features too.
Upvotes: 5