diff --git a/swagger.go b/swagger.go index 0fd20a9..95b15a2 100644 --- a/swagger.go +++ b/swagger.go @@ -48,3 +48,8 @@ const ( SwaggerParameterInPath = "path" // 参数位置 : path SwaggerParameterInCookie = "cookie" // 参数位置 : cookie ) + +const ( + SwaggerParameterStyleForm = "form" // query 对应 form; cookie 对应 form + SwaggerParameterStyleSimple = "simple" // path 对应 simple; header 对应 simple; +)