Forum Discussion
Humashankar
9 months agoChampion Level 3
Hi 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
- ravik513789 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)
Related Content
Recent Discussions
- 21 hours ago
- 12 days ago