增加swagger parameter style定义
This commit is contained in:
parent
92231690b0
commit
d39136c71c
@ -48,3 +48,8 @@ const (
|
||||
SwaggerParameterInPath = "path" // 参数位置 : path
|
||||
SwaggerParameterInCookie = "cookie" // 参数位置 : cookie
|
||||
)
|
||||
|
||||
const (
|
||||
SwaggerParameterStyleForm = "form" // query 对应 form; cookie 对应 form
|
||||
SwaggerParameterStyleSimple = "simple" // path 对应 simple; header 对应 simple;
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user