go-swagger toolkit

Swagger 2.0 describes your API's for you, so you don't have to

Spec generation reference

generate spec

The toolkit has a command that will let you generate a swagger spec document from your code. The command integrates with go doc comments, and makes use of structs when it needs to know of types.

9 Nov 2015