Forum Discussion
Humashankar
Champion Level 3
12 months agoHi ravik51378
Could you please try the following:
- Remove the "style: form" attribute from the parameter definition.
- Change the "schema" definition to use a plain array type instead of "$ref":
schema:
type: array
items:
type: string
enum:
- ACTIVE
- FAIL
- COMPLETE
- INPROGRESS
- IGNORE
This should allow you to send multiple values for the "status" parameter, separated by commas, without exploding the array.
Please let me know if this resolves the issue
ravik51378
12 months agoNew Contributor
Humashankar - I tried this, but it is not working. When I send It is sending the whole comma separated string as one element of the ArrayList (same as original behavior)