-
Notifications
You must be signed in to change notification settings - Fork 261
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
Add support for comma separated query parameters #899
Comments
This currently works for path variables:
(Also adding a note to self for the spec changes in PR #889) |
Docs on path variables are in https://www.rplumber.io/articles/routing-and-input.html |
Note : Think about issue with number conversion. Comma in values? I remember we played with the idea but decided against it because it created more problems? There might be a smart way to do it that will appear with automated argument conversion. |
We could add some flexibility to the |
Feels like if the parameter is documented as an array, we should try to allow for it. I believe the auto splitting of values is fair to achieve as that's most likely what the user wants. If the comma is NOT suppose to turn the value into an array, it can be sent as @thomasp85 can you make a PR? Thank you! |
Consider this
plumber.R
file:How do I change the request from this:
To this:
Swagger docs on parameter serialization: https://swagger.io/docs/specification/serialization/
The text was updated successfully, but these errors were encountered: