mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 16:30:01 +08:00
fix: goctl swagger missing security definition and submit json body data error (#4808)
This commit is contained in:
@@ -29,4 +29,8 @@ const (
|
||||
schemeHttps = "https"
|
||||
defaultHost = "127.0.0.1"
|
||||
defaultBasePath = "/"
|
||||
|
||||
swaggerSecurityDefinitionBearerAuth = "BearerAuth"
|
||||
swaggerSecurityDefinitionName = "Authorization"
|
||||
swaggerSecurityDefinitionIn = "header"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user