1
0
mirror of https://github.com/beego/bee.git synced 2025-07-15 14:52:16 +00:00

fix Fixed swagger send request @Param array parameter value error

This commit is contained in:
chenbin
2019-09-18 18:04:08 +08:00
parent 6a86284cec
commit a65ec026f9
2 changed files with 2 additions and 0 deletions

View File

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