wing328 359e52b173 Merge pull request #4188 from cbornet/flask_operations
[Flask] Use x-swagger-router-controller in for operation routing
2016-11-18 14:23:45 +08:00
..
2016-11-17 18:30:59 +01:00
2016-11-17 18:30:59 +01:00
2016-11-17 18:30:59 +01:00
2016-11-17 18:30:59 +01:00
2016-11-17 18:30:59 +01:00

Swagger generated server

Overview

This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub. This is an example of building a swagger-enabled Flask server.

This example uses the Connexion library on top of Flask.

To run the server, please execute the following:

sudo pip install -U connexion typing # install Connexion and Typing from PyPI
python app.py

and open your browser to here:

http://localhost:8080/v2/ui/

Your Swagger definition lives here:

http://localhost:8080/v2/swagger.json