调试一半的代码
This commit is contained in:
@ -61,13 +61,13 @@ type SwaggerPathConfig struct {
|
||||
//
|
||||
// Date : 16:53 2024/4/19
|
||||
type SwaggerPathConfigParameter struct {
|
||||
Type string `json:"type"` // 类型
|
||||
Description string `json:"description"` // 描述
|
||||
Name string `json:"name"` // 参数名称
|
||||
In string `json:"in"` // 参数位置
|
||||
Required bool `json:"required"` // 是否必传
|
||||
EnumList []interface{} `json:"enum_list"` // 枚举值列表
|
||||
Schema map[string]string `json:"schema"` // 参数schema
|
||||
Type string `json:"type"` // 类型
|
||||
Description string `json:"description"` // 描述
|
||||
Name string `json:"name"` // 参数名称
|
||||
In string `json:"in"` // 参数位置
|
||||
Required bool `json:"required"` // 是否必传
|
||||
EnumList []interface{} `json:"enum_list,omitempty"` // 枚举值列表
|
||||
Schema map[string]string `json:"schema"` // 参数schema
|
||||
}
|
||||
|
||||
// SwaggerPathConfigResponse ...
|
||||
@ -158,12 +158,12 @@ type SwaggerResponseInput struct {
|
||||
//
|
||||
// Date : 10:25 2024/4/22
|
||||
type SwaggerParameterInput struct {
|
||||
Type string `json:"type"` // 类型
|
||||
Description string `json:"description"` // 描述
|
||||
Name string `json:"name"` // 参数名称
|
||||
In string `json:"in"` // 参数位置
|
||||
Required bool `json:"required"` // 是否必传
|
||||
EnumList []interface{} `json:"enum_list"` // 枚举值列表
|
||||
Type string `json:"type"` // 类型
|
||||
Description string `json:"description"` // 描述
|
||||
Name string `json:"name"` // 参数名称
|
||||
In string `json:"in"` // 参数位置
|
||||
Required bool `json:"required"` // 是否必传
|
||||
EnumList []interface{} `json:"enum_list,omitempty"` // 枚举值列表
|
||||
}
|
||||
|
||||
// SwaggerResponseItemInput 响应数据
|
||||
|
Reference in New Issue
Block a user