增加 swagger parameter in 属性枚举值定义

This commit is contained in:
白茶清欢 2024-07-19 15:28:29 +08:00
parent 8556a14a13
commit 92231690b0

View File

@ -41,3 +41,10 @@ const (
const ( const (
SwaggerBaseObjectDefinitionName = "object_map" SwaggerBaseObjectDefinitionName = "object_map"
) )
const (
SwaggerParameterInQuery = "query" // 参数位置 : query
SwaggerParameterInHeader = "header" // 参数位置 : header
SwaggerParameterInPath = "path" // 参数位置 : path
SwaggerParameterInCookie = "cookie" // 参数位置 : cookie
)