openapi-generator
openapi-generator copied to clipboard
[REQ] Regarding query parameters in array format.
Is your feature request related to a problem? Please describe.
When setting query parameters for arrays The request does not follow the expected request format on the server side.
Describe the solution you'd like
If the query parameter is an array
I want to be able to send a request with ?arr="1"&arr="2" in the format ?arr[]="1"&arr[]="2".
If the query parameter is an array, I would like to have the option to add [] to the key, like the default setting in axios.
Describe alternatives you've considered
Create a Class that extends URLSearchParams and insert [] in key for arrays when appending
--
Thank you for your consideration.
Have you solved this yet? Running into the same issue...