Forum Discussion
Humashankar
Champion 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
ravik51378
8 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
- 9 months ago
Recent Discussions
- 12 days ago
- 12 days ago
- 17 days ago