shreeharsha-factly / chi-swagger-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Go 100.0%