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:
parent
a65ec026f9
commit
a37d05bf59
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user