Skip to content

macaron middleware to automatically generate RESTful API documentation with Swagger 2.0.

Notifications You must be signed in to change notification settings

fengbeihong/macaron-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macaron-swagger

macaron middleware to automatically generate RESTful API documentation with Swagger 2.0.

This toolkit is based on the work from https://github.com/swaggo/gin-swagger

Usage

cd $project

# you need to install goswagger first
# go get -u github.com/go-swagger/go-swagger/cmd/swagger
swagger generate spec -o ./swagger.json

go run $GOPATH/src/github.com/fengbeihong/macaron-swagger/cmd/main.go init swagger.json

# now you have the file docs/docs.go

About

macaron middleware to automatically generate RESTful API documentation with Swagger 2.0.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages