-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
[BUG][JAVA] Using incorrect @Multipart instead of @FormParam when generated Microprofile java client #10618
Labels
Comments
5 tasks
+1 for this |
+1 here |
+1 here also still no progress? |
jochenr
added a commit
to jochenr/openapi-generator
that referenced
this issue
Feb 19, 2025
…ram in microprofile java client [BUG][JAVA] Using incorrect @multipart instead of @FormParam when generated Microprofile java client OpenAPITools#10618 OpenAPITools#10618
Hi, I just tried to fix the related .mustache template files: I tried them in my project by overriding the temples with <templateResourcePath>${project.basedir}/src/templates/Java</templateResourcePath> and for me it worked. If someone els is interested an tries it, I'd do a pull-request. Best regards, |
Yes please do a PR! @jochenr |
Open
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report Checklist
Description
When java client with microprofile is generated (in quarkus), for request with "application/x-www-form-urlencoded" consumes, incorrect annotations are present.
openapi-generator version
Open api version 5.2.1
This :
Should be :
It cause an 400 Bad request error from server.
OpenAPI declaration file content or url
The text was updated successfully, but these errors were encountered: