Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 404 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 404 Bytes

Install go swagger

https://goswagger.io/install.html

Get go packages

Run

  1. go get
  2. go get -u github.com/go-swagger/go-swagger/cmd/swagger
  3. to create spec file run swagger generate spec -o ./swagger.yaml --scan-models

To start

run these commands parallelly

  1. go run main.go and
  2. for swagger ui swagger serve -F=swagger swagger.yaml