macaron icon indicating copy to clipboard operation
macaron copied to clipboard

Swagger support

Open ipfans opened this issue 9 years ago • 6 comments

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.

ipfans avatar Mar 31 '15 08:03 ipfans

Generation part can be integration into #40.

ipfans avatar Mar 31 '15 08:03 ipfans

+1

djcas9 avatar Nov 25 '15 15:11 djcas9

Any news on this?

mandrean avatar May 10 '18 18:05 mandrean

+1

fedir avatar Jan 06 '20 17:01 fedir

@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 avatar Sep 29 '20 06:09 FPurchess

@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.

unknwon avatar Oct 02 '20 08:10 unknwon