-
Notifications
You must be signed in to change notification settings - Fork 122
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 for array query strings #309
Comments
|
@daniel-parakey, welcome for PR for this feature :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a OAS 3.1 spec that has a query parameter that is an array but uses the non-exploded form such as
?type=main,secondary
. The gateway usingparse
from ljharb/qs &parseQueryString
does not seem to account for these additional options and the param ends up in a couple different ways?type=main,secondary
=>"type": "main,secondary"
=> fails to validate?type=main
=>"type": "main"
=> fails to validate?type=main&type=secondary
=>"type": ["main", "secondary"]
=> validates fineMy param config:
Should
parseQueryString
be smarter and respect some other OAS options?The docs are lacking and just indicate to read up on ljharb/qs
The text was updated successfully, but these errors were encountered: