update consts
This commit is contained in:
@ -64,7 +64,7 @@ func GetDataType(docParamType string, formatType string) string {
|
||||
case "boolean":
|
||||
return consts.DataTypeBool.String()
|
||||
case "number", "float", "double", "float32", "float64":
|
||||
return consts.DataTypeFloat.String()
|
||||
return consts.DataTypeFloat64.String()
|
||||
case "array":
|
||||
if formatType == "integer" {
|
||||
return consts.DataTypeSliceInt.String()
|
||||
|
Reference in New Issue
Block a user