go-martini/martini

Swagger Integration (Feature Request)

Opened this issue · 13 comments

Hi

First of all, nice project. I like it a lot.

Some feature that would make this project even more attractive is support for swagger.

Swagger is a specification and complete framework implementation for describing, producing, consuming, and visualizing RESTful web services.

Website: https://developers.helloreverb.com/swagger/
Example: http://petstore.swagger.wordnik.com/

Swagger is already supported by play-framework, scalatra, django, go-restful.

BR, Rene

This would be nice to have. I'm not sure that Martini fits all of the specifications to make for very useful swagger documentation. Swagger is based on REST principals. And while you can create RESTful web services in Martini it is not imposed on you.

Hi

Thanks for the quick answer.

For Django and play-framework it is the same. You can use them to create restful services but it is not imposed to you.

Maybe it could be implemented as configurable/pluggable option.

Yeah, I can do a little more research on this. There has been some work in #76 that will possibly let a third party package have enough access to the routing layer to create a good Swagger integration

+1 for this feature.

+1

+1

I believe martini is able to support this with the routes service. If somebody wants to create a package to support martini and swagger they are more than welcome to. Closing this issue for now to keep the issue tracker clean

I believe... uh ... if somebody... um, well... closing this issue for now to keep the issue tracker clean

I don't mean any harm, but... um... LOL ;-)

:) yeah the issue has been here forever

Sent from my iPhone

On Aug 3, 2014, at 3:23 AM, Stefan notifications@github.com wrote:

I believe... uh ... if somebody... um, well... closing this issue for now to keep the issue tracker clean

I don't mean any harm, but... um... LOL ;-)


Reply to this email directly or view it on GitHub.

This has been useful for me: https://github.com/yvasiyarov/swagger