2 ms·
Swagger Editor[1] can spit out the skeleton of a Flask based server from an OpenAPI 2.0 specification. The generated code makes use of the Connexion famework[2]
by michaelsbradley 9y ago
Swagger Editor[1] can spit out the skeleton of a Flask based server from an OpenAPI 2.0 specification. The generated code makes use of the Connexion famework[2].
Paste your specification into the editor, fix it if it's not valid, open the "Generate Server" dropdown in the top menu, and select "python-flask".
[1] http://editor.swagger.io/ http://editor.swagger.io/
[2] https://github.com/zalando/connexion/ https://github.com/zalando/connexion/