You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Array query parameters not correctly handled by OpenAPI UI #8421
When setting a Query Parameter of array type, the OpenAPI UI allows setting multiple values but makes a wrong setup of the actual query parameters (no [] added).
Alternatively, is there a simple way to configure the parsing from Laravel/Symfony to access all provided values? It seems a lot of this is framework and language specific, as other languages support multiple query param with same name as is implemented here.
How to reproduce
#[ApiResource(
shortName: 'Test',
operations: [
new Get(
parameters: [
'array' => new QueryParameter(required: false, castToArray: true, schema: ['type' => 'array']),
],
),
],
)]
class Test2Resource
{
public int $not_id;
}
Activity
Dasc3er commentedon Aug 15, 2026
This seems due to internal PHP query parsing as per https://www.php.net/manual/en/function.parse-str.php#76792
soyuka commentedon Sep 28, 2026
Fixed by #8600, merged into 4.4.
Dasc3er commentedon Oct 3, 2026
Thanks!