init push
This commit is contained in:
10
internal/app/api/routes_swagger.go
Normal file
10
internal/app/api/routes_swagger.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/swagger"
|
||||
)
|
||||
|
||||
func registerSwaggerRoutes(app *fiber.App) {
|
||||
app.Get("/swagger/*", swagger.HandlerDefault)
|
||||
}
|
||||
Reference in New Issue
Block a user