[Swagger] incorrect query strings
Posted: 20 Aug 2017, 08:09
Array-arguments are expected as <argument>[]=<value> but swagger just puts in the argument as it is.
Example: https://v4.live.maniaplanet.com/swagger ... ers_online
Appearently the array-type has to be set like
within
(http://docs.swagger.io/spec.html#4-3-3-data-type-fields) (https://github.com/swagger-api/swagger- ... t-76741467)
Example: https://v4.live.maniaplanet.com/swagger ... ers_online
Appearently the array-type has to be set like
Code: Select all
"items": {
"type": "string"
}
Code: Select all
{
"name": "titleUids",
"in": "query",
"allowEmptyValue": false,
"required": false,
"type": "array"
}