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

@@ -4714,18 +4714,6 @@ const docTemplate = `{
}
}
}
},
"securityDefinitions": {
"AdminAuth": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
},
"MasterAuth": {
"type": "apiKey",
"name": "Authorization",
"in": "header"
}
}
}`
@@ -4736,7 +4724,7 @@ var SwaggerInfo = &swag.Spec{
BasePath: "/",
Schemes: []string{},
Title: "EZ-API Control Plane",
Description: "Management API for EZ-API Gateway system.",
Description: "Master key for tenant API access",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",