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
1 changed files with 1 additions and 1 deletions

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