Closed channelcat closed 7 years ago
From the looks of it Flask-swagger should basically just work for sanic. Not nearly the features of Connexion, but a good start. You could probably just import Flask-swagger and use it. Since its just parsing the actual python file, and doesn't do anything flask specific.
Another place you might want to get inspiration from:
It can be somewhat opinionated about how to build things but has some nice features IMO.
See #380
Closed by @channelcat's extension here: https://github.com/channelcat/sanic-openapi
Is there any swagger-first extension for Sanic?
I'm writing a PoC of Sanic+Connexion https://github.com/zalando/connexion/pull/1250/files
It would be nice to have Swagger/OpenAPI support. I'm not sure what the most intuitive way to implement this is.
Some examples, for inspiration: