goctl: support custom swagger authentication (#4811)

This commit is contained in:
kesonan
2025-04-27 23:43:37 +08:00
committed by GitHub
parent 98bebbc74f
commit 15ea07aad1
5 changed files with 27 additions and 19 deletions

View File

@@ -29,8 +29,4 @@ const (
schemeHttps = "https"
defaultHost = "127.0.0.1"
defaultBasePath = "/"
swaggerSecurityDefinitionBearerAuth = "BearerAuth"
swaggerSecurityDefinitionName = "Authorization"
swaggerSecurityDefinitionIn = "header"
)