News for hackers. Stuff that matters.
Re:Swagger is now the OpenAPI Specification by mixmastamyk on Monday October 23, 2017 @02:26PM (#15535603)
Have a blog post handy? Need to make a flask rest api and would like it as automatic as possible.
Re:Swagger is now the OpenAPI Specification by michaelsbradley on Monday October 23, 2017 @02:29PM (#15535644)
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/

[2] https://github.com/zalando/connexion/

Re:Swagger is now the OpenAPI Specification by luhn on Monday October 23, 2017 @04:10PM (#15536545)
Don't have a blog post for you, but I'm pretty sure he's utilitizing Flask-APISpec (https://github.com/jmcarp/flask-apispec). I've been eying it for a while.