Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow query parameters to be an array #724

Conversation

MichielHegemans
Copy link

Does not support explode: false at the moment as the .query(&query) call does urlencode on the , in case we join the arguments.

It is not entirely clear to me whether or not it is correct, but I believe that id=a%2Cb results into id = ["a,b"] while id=a,b results in id = ["a", "b"]

It does support type: array in the openapi spec and will add an exploded version to the URL id=a&id=b to the query.

Supports `explode: true` and `explode: false` and will default to `true`
if missing on arrays.
@ahl
Copy link
Collaborator

ahl commented Dec 27, 2024

Obviated by #1017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants