mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 17:47:51 +00:00
fix(swagger): fix swagger authorization header
This commit is contained in:
@@ -46,13 +46,11 @@ import (
|
||||
// @host localhost:8080
|
||||
// @BasePath /
|
||||
|
||||
// @securityDefinitions.apikey AdminAuth
|
||||
// @in header
|
||||
// @name Authorization
|
||||
// @securityDefinitions.bearer AdminAuth
|
||||
// @description Admin token for management API access
|
||||
|
||||
// @securityDefinitions.apikey MasterAuth
|
||||
// @in header
|
||||
// @name Authorization
|
||||
// @securityDefinitions.bearer MasterAuth
|
||||
// @description Master key for tenant API access
|
||||
|
||||
func fatal(logger *slog.Logger, msg string, args ...any) {
|
||||
logger.Error(msg, args...)
|
||||
|
||||
Reference in New Issue
Block a user