fix: goctl swagger missing security definition and submit json body data error (#4808)

This commit is contained in:
kesonan
2025-04-25 22:58:45 +08:00
committed by GitHub
parent 44735e949c
commit 812140ba36
8 changed files with 33 additions and 4 deletions

View File

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