Given the following parameters schema:
{
"name": "filter",
"in": "query",
"style": "deepObject",
"explode": false,
"schema": {
"type": "object",
"properties": {
"status": {
"type": "array",
"items": {
"type": "string",
"enum": ["open", "pending", "needs_attention", "done"]
}
}
}
}
}
I should would expect a query string filter[status]=open,pending to be parsed as:
[
'filter' => [
'status' => [
'open',
'pending',
]
]
However, it seems that this package does not respect the explode: false configuration and reports that the status parameter is a string.
Given the following
parametersschema:{ "name": "filter", "in": "query", "style": "deepObject", "explode": false, "schema": { "type": "object", "properties": { "status": { "type": "array", "items": { "type": "string", "enum": ["open", "pending", "needs_attention", "done"] } } } } }I should would expect a query string
filter[status]=open,pendingto be parsed as:[ 'filter' => [ 'status' => [ 'open', 'pending', ] ]However, it seems that this package does not respect the
explode: falseconfiguration and reports that thestatusparameter is a string.