-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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] Regression on Java webclient generation with 7.9.0 #20459
Comments
here is the spec for those who do not have a slack account:
|
as a workaround, please set the normalizer rule e.g.
|
UPDATE: filed #20461 to fix the issue (any type handling in normalizer) |
Hi @wing328 , I confirm that setting the normalize rule Thank you very much ! |
PR merged. Please give the fix a try later with the latest master when you've time. |
Hi, can it wait until you have made a release ? I ask because the openapi-generator is provided through dependencies that span through several projects, so I can't easily test master on the project that fails with 7.9.0 |
Bug Report Checklist
Description
See first slack thread and second slack thread
When trying to upgrade from openapi-generator 7.8.0 to 7.9.0, I end up with a result that doesn't compile for one specification :
api.xxxApi
classes include an import ofdto.OneOf,
but there's nodto
package and noOneOf
class/interface generatedThe only place where I see oneOf in the openapi specification is for errors with references to components that have just a description.
With 7.8.0 :
dto.ApiSecureEnvironmentNameGetKeyGet403Response
dto
packageIs this a new bug?
Can it be a side effect of #19781 or #19758 ?
openapi-generator version
It's failing with version 7.9.0, but was working with 7.8.0
OpenAPI declaration file content or url
Put on slack here
Generation Details
Steps to reproduce
Related issues/PRs
It may be a side effect of #19781 or #19758
Suggest a fix
The text was updated successfully, but these errors were encountered: