2 ms·
Have a blog post handy? Need to make a flask rest api and would like it as automatic as possible.
by mixmastamyk 9y ago
Have a blog post handy? Need to make a flask rest api and would like it as automatic as possible.
- michaelsbradley 9y agoSwagger 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/
- luhn 9y agoDon't have a blog post for you, but I'm pretty sure he's utilitizing Flask-APISpec (https://github.com/jmcarp/flask-apispec https://github.com/jmcarp/flask-apispec). I've been eying it for a while.