issue description
unexpected doc generated for custom array body param
Your swag version
e.g. 1.6.3
Your go version
e.g. 1.13.1
golang doc for router handler method: (example @Param):
// @Param timelines body []db.Timeline true "timeline list"
json generated:
"parameters": [
{
"description": "timeline list",
"name": "timelines",
"in": "body",
"required": true,
"schema": {
"type": "db.Timeline", // not expect
"items": {
"$ref": "#/definitions/db.Timeline"
}
}
}
...
doc Web look not correct:

but should output:
"parameters": [
{
"description": "timeline淇℃伅鍒楄〃",
"name": "timelines",
"in": "body",
"required": true,
"schema": {
"type": "array", // expect
"items": {
"$ref": "#/definitions/db.Timeline"
}
}
}
...
Ya
I find myself in the same problem...
I got the same issue. Please tell me if anyone have the solution for this. Thank you.
fixed by #579 please reopen it if there are any problems.
Most helpful comment
fixed by #579 please reopen it if there are any problems.