1
0
mirror of https://github.com/beego/bee.git synced 2024-11-25 09:50:55 +00:00

fix Fixed swagger send request @param array parameter value error

This commit is contained in:
chenbin 2019-09-19 15:55:38 +08:00
parent a65ec026f9
commit a37d05bf59

View File

@ -832,7 +832,7 @@ func setParamType(para *swagger.Parameter, typ string, pkgpath, controllerName s
Type: paraType, Type: paraType,
Format: paraFormat, Format: paraFormat,
} }
para.CollectionFormat = "multi" para.CollectionFormat = "multi"
} }
} else { } else {
para.Type = paraType para.Type = paraType