fiber middleware to serve Swagger Ui files and doc.json file which generated from Swagno
- Get Swagno
- Create your endpoint array. See: https://github.com/go-swagno/swagno/blob/master/README.md#getting-started
- Get swagno-fiber
go get github.com/go-swagno/swagno-fiber
- Import swagno-fiber to your handler
import "github.com/go-swagno/swagno-fiber/swagger"
- Be sure you created swagger instance and endpoints
- Create swagger handler
swagger.SwaggerHandler(app, sw.MustToJson())
- Visit /swagger and /swagger/doc.json for confirmation