also need
My example:
func setupSwagger(app *fiber.App) {
j := docs.OpenAPI()
app.Get("/swagger/doc.json", func(ctx *fiber.Ctx) {
ctx.Set("Content-Type", "application/json")
ctx.Status(200).SendString(j)
})
}
same package with doc.go
package docs
// OpenAPI
func OpenAPI() string {
return (&s{}).ReadDoc()
}
I made a middleware for Fiber
https://github.com/arsmn/fiber-swagger
@easonlin404 you can add it to the list of supported frameworks
Most helpful comment
also need