openapi-generator/samples/server/petstore/flaskConnexion
xhh 27e43d3fbb Implement toOperationId for python-flask server codegen
and use "operationId" in the template to replace
vendorExtensions.x-operationId
2015-11-25 19:43:31 +08:00
..
controllers Auto generate operationId for python-flask server codegen 2015-11-25 17:55:04 +08:00
swagger Implement toOperationId for python-flask server codegen 2015-11-25 19:43:31 +08:00
app.py added files 2015-11-17 20:14:53 -08:00
README.md Auto generate operationId for python-flask server codegen 2015-11-25 17:55:04 +08:00

Swagger generated server

Overview

This server was generated by the swagger-codegen project. By using the swagger-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:

python3 app.py

and open your browser to here:

http://localhost:8080/ui

Your swagger definition lives here:

http://localhost:8080/swagger.json