Flask: how to automate OpenAPI v3 documentation?
I need to document an API written in pure Flask 2 and I'm looking for what is a consolidated approach for doing this. I found different viable solutions but being new to Python and Flask I'm not able to choose among them. The solutions I found are: https://github.com/marshmallow-code/apispec https://github.com/jmcarp/flask-apispec https://github.com/marshmallow-code/flask-smorest In order to separate the different API endpoints I use the Flask blueprint. The structure of a MWE is as follows: I first defined two simple domain objects, Author and Book. # author.py class Author: def __init__(self
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.