{"action":"created","issue":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/155","repository_url":"https://api.github.com/repos/gin-gonic/gin","labels_url":"https://api.github.com/repos/gin-gonic/gin/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/gin-gonic/gin/issues/155/comments","events_url":"https://api.github.com/repos/gin-gonic/gin/issues/155/events","html_url":"https://github.com/gin-gonic/gin/issues/155","id":49380447,"number":155,"title":"Automatically generate RESTful API documentation with Swagger","user":{"login":"ndbroadbent","id":139536,"avatar_url":"https://avatars2.githubusercontent.com/u/139536?v=4","gravatar_id":"","url":"https://api.github.com/users/ndbroadbent","html_url":"https://github.com/ndbroadbent","followers_url":"https://api.github.com/users/ndbroadbent/followers","following_url":"https://api.github.com/users/ndbroadbent/following{/other_user}","gists_url":"https://api.github.com/users/ndbroadbent/gists{/gist_id}","starred_url":"https://api.github.com/users/ndbroadbent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndbroadbent/subscriptions","organizations_url":"https://api.github.com/users/ndbroadbent/orgs","repos_url":"https://api.github.com/users/ndbroadbent/repos","events_url":"https://api.github.com/users/ndbroadbent/events{/privacy}","received_events_url":"https://api.github.com/users/ndbroadbent/received_events","type":"User","site_admin":false},"labels":[{"id":107421007,"url":"https://api.github.com/repos/gin-gonic/gin/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":58,"created_at":"2014-11-19T12:27:58Z","updated_at":"2018-04-30T08:05:46Z","closed_at":null,"author_association":"NONE","body":"One thing I really like about [go-restful](https://github.com/emicklei/go-restful) is their [built-in Swagger integration](https://github.com/emicklei/go-restful/blob/master/examples/restful-user-service.go). Check out the example project: https://github.com/emicklei/mora#swagger\n\nSome things I really love about Gin is the focus on performance, and overall, it just seems like a much better designed framework. However, I think that auto-generated documentation with Swagger is pretty awesome. It makes it easy for new engineers to get up-to-speed quickly by reading through the docs, and I especially love the way you can [auto-generate API clients for lots of different languages](https://github.com/swagger-api/swagger-codegen).\n\nI'm not sure how involved this change would be, I'm not sure if this could be done as an extension. But we could probably take lots of inspiration from (or just copy) [the swagger code from go-restful](https://github.com/emicklei/go-restful/tree/master/swagger) (MIT licensed).\n\nAnyway, this is not a huge priority for me, just a nice to have.\n"},"comment":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/comments/385334708","html_url":"https://github.com/gin-gonic/gin/issues/155#issuecomment-385334708","issue_url":"https://api.github.com/repos/gin-gonic/gin/issues/155","id":385334708,"user":{"login":"kostiamol","id":5477699,"avatar_url":"https://avatars0.githubusercontent.com/u/5477699?v=4","gravatar_id":"","url":"https://api.github.com/users/kostiamol","html_url":"https://github.com/kostiamol","followers_url":"https://api.github.com/users/kostiamol/followers","following_url":"https://api.github.com/users/kostiamol/following{/other_user}","gists_url":"https://api.github.com/users/kostiamol/gists{/gist_id}","starred_url":"https://api.github.com/users/kostiamol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostiamol/subscriptions","organizations_url":"https://api.github.com/users/kostiamol/orgs","repos_url":"https://api.github.com/users/kostiamol/repos","events_url":"https://api.github.com/users/kostiamol/events{/privacy}","received_events_url":"https://api.github.com/users/kostiamol/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T08:05:46Z","updated_at":"2018-04-30T08:05:46Z","author_association":"NONE","body":"+1"}}
{"actor":{"display_login":"kostiamol"}}