-
Notifications
You must be signed in to change notification settings - Fork 9k
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
Submitting Array in requestBody with "application/x-www-form-urlencoded" ignores the explode encoding parameter #4836
Comments
Hi @seanmetrix, behind the scenes this is because we don't have support for |
How do you define define style/explode in the requestBody without using encoding? |
@seanmetrix, afaik you can't 😞 |
@shockey any update on this? |
@xyfantis nothing yet! |
Is there anything we (maybe even, I) can do for this? |
@jnpwly of course! Submitting PRs always helps! :) |
Any progress? Right now I don't see how could I define a POST path with an array parameter. The following definition:
It's generating this:
instead of
|
|
I am attaching an example where explode is set to true in both the parameter block and the requestBody and they behave differently.
The example midway down this page mentions that you can specify the explode param in the encoding block for the requestBody - https://swagger.io/docs/specification/describing-request-body/
I'm using that exact example, except setting explode to true.
The text was updated successfully, but these errors were encountered: