完成基础请求参数构建
This commit is contained in:
@ -33,7 +33,7 @@ func GetUriPathParamList(uriPath string) []*define.ParamConfig {
|
||||
Type: consts.DataTypeString.String(),
|
||||
Title: param,
|
||||
Description: param,
|
||||
IsRequired: true,
|
||||
Required: true,
|
||||
})
|
||||
}
|
||||
return result
|
||||
@ -59,7 +59,7 @@ func GetParamType(docParamType string, formatType string) consts.DataType {
|
||||
case "string":
|
||||
return consts.DataTypeString
|
||||
default:
|
||||
return consts.DataTypeAny
|
||||
return consts.DataTypeMapStrAny
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user