mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-06 18:20:15 +00:00
feat: add swagger comments for context, health, oauth and oidc controllers
This commit is contained in:
@@ -22,12 +22,12 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// @title Tinyauth API
|
||||
// @version development
|
||||
// @description Swagger documentation for Tinyauth's API.
|
||||
// @license.name AGPL-3.0
|
||||
// @license.url https://github.com/tinyauthapp/tinyauth/blob/main/LICENSE
|
||||
// @BasePath /api
|
||||
// @title Tinyauth API
|
||||
// @version development
|
||||
// @description Swagger documentation for Tinyauth's API.
|
||||
// @license.name AGPL-3.0
|
||||
// @license.url https://github.com/tinyauthapp/tinyauth/blob/main/LICENSE
|
||||
// @BasePath /
|
||||
func (app *BootstrapApp) setupRouter() error {
|
||||
// we don't want gin debug mode
|
||||
gin.SetMode(gin.ReleaseMode)
|
||||
|
||||
Reference in New Issue
Block a user