Skip to content

fiber middleware to serve Swagger Ui files and Swagger API documentation which generated from Swagno

Notifications You must be signed in to change notification settings

go-swagno/swagno-fiber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swagno-fiber

fiber middleware to serve Swagger Ui files and doc.json file which generated from Swagno

Usage

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

About

fiber middleware to serve Swagger Ui files and Swagger API documentation which generated from Swagno

Resources

Stars

Watchers

Forks

Languages