diff --git a/swagger.go b/swagger.go index 5b8e468..0fd20a9 100644 --- a/swagger.go +++ b/swagger.go @@ -41,3 +41,10 @@ const ( const ( SwaggerBaseObjectDefinitionName = "object_map" ) + +const ( + SwaggerParameterInQuery = "query" // 参数位置 : query + SwaggerParameterInHeader = "header" // 参数位置 : header + SwaggerParameterInPath = "path" // 参数位置 : path + SwaggerParameterInCookie = "cookie" // 参数位置 : cookie +)