enum query parameter with "explode: false" not working
I have a query parameter whose data type is enum as below. When I send the parameter with one value as "?status=ACTIVE" it is working fine. But when I send with two values as "?status=ACTIVE,FAIL" it throws 404-NotFound. Since it has "explode: false", we should be able to send multiple values separated by comma. Can you please help with this issue?
The expected behavior is, when I send "?status=ACTIVE,FAIL", then I should receive it as ArrayList of 2 elements: ["ACTIVE", "FAIL"]. But I am receiving the whole comma separated string as one element as ["ACTIVE,FAIL"]
parameters:
status:
in: query
style: form
explode: false
schema:
type: array
items:
$ref: '#/components/schemas/status'
schemas:
status:
type: string
enum:
- ACTIVE
- FAIL
- COMPLETE
- INPROGRESS
- IGNORE