macaron
macaron copied to clipboard
Swagger support
Like go-restful built-in Swagger integration. Auto-generated documentation with Swagger is pretty awesome. And you can auto-generate API clients for lots of different languages.
Further on, it is possible to generate code with Swagger json defines.
Generation part can be integration into #40.
+1
Any news on this?
+1
@unknwon Would you consider this feature to live inside macaron itself or prefer an external library? Just had a brief look into the router: Is it true that there's currently no way for non-package code to walk the route-tree?
@FPurchess:
@unknwon Would you consider this feature to live inside macaron itself or prefer an external library?
I would prefer an external library whenever possible.
Just had a brief look into the router: Is it true that there's currently no way for non-package code to walk the route-tree?
I believe you're correct, it seems there is no method for walking route-tree internally also. We could add such method.