Connexion
Swagger/OpenAPI First framework for Python on top of Flask
...Connexion allows you to write these specifications, then maps the endpoints to your Python functions. This is what makes it unique from other tools that generate the specification based on your Python code. You are free to describe your REST API with as much detail as you want and then Connexion guarantees that it will work as you specified. We built Connexion this way in order to simplify the development process. Reduce misinterpretation about what an API is going to look like. With Connexion, you write the spec first. Connexion then calls your Python code, handling the mapping from the specification to the code. ...