-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
[BUG] [Java] Client resttemplate and webclient. Form Params are badly added when they are lists #4461
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
Conversation
…when they are lists
Hi Elixir tests are failing but I have not changed anything related to elixir. Thank you |
Not sure about the elixer failure. But looks like you have not updated the sample files. You can refer to this link for more information |
Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/OpenAPITools/openapi-generator/graphs/contributors. Let me know if you need help fixing it. |
Usually, the elixir test failure is due to failure in installing some elixir binaries/dependencies and a job restart should fix it. We can restart the failed job before merging the PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why some of the MultiValueMap
type parameters <K, V> are being removed?
Resttemplate use spring-web 4.x.x. In this version. MultiValueMap hasn´t method So, the best option to insert a list, for example strings, is with the |
I see. I guess that's fine...
This way, we can keep |
We can do that later in another PR |
…ulti-level-model-hierarchy * origin/master: minor fix to CI failure feat(dart-dio): correctly handle Map<String, Object>, List<Object> using JsonObject (OpenAPITools#4401) [OCAML] Fixes cloud.drone.io ocaml-test (OpenAPITools#4501) [elm] Add support for oneOf (OpenAPITools#4434) [BUG] [Java] Client resttemplate and webclient. Form Params are badly added when they are lists (OpenAPITools#4461) fix: prevent ClassCastException when handling options of (issue OpenAPITools#4468) (OpenAPITools#4495) Fixes Python client Configuration class so each instance uses its own dicts (OpenAPITools#4485)
@jorgerod thanks for the PR, which has been included in the v4.2.2 release: https://twitter.com/oas_generator/status/1201432648544972800 |
…when they are lists
PR checklist
./bin/
(or Windows batch scripts under.\bin\windows
) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run./bin/{LANG}-petstore.sh
,./bin/openapi3/{LANG}-petstore.sh
if updating the code or mustache templates for a language ({LANG}
) (e.g. php, ruby, python, etc).master
,4.3.x
,5.0.x
. Default:master
.Description of the PR
Addresses issue #4383 for java resttemplate and java webclient