fix(swagger): fix swagger authorization header

This commit is contained in:
2025-12-25 11:26:56 +08:00
parent ecdff89364
commit c8fced4cf1
4 changed files with 7 additions and 42 deletions

View File

@@ -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...)