-
-
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] @Valid TYPE_USE bean validation annotation on builder causes issues on JBoss EAP 7.4 #19188
Comments
We are also affected by this issue with JBoss EAP 7.4 and are staying on 7.1.0 for this reason. |
What is the purpose of these bean validation annotations on the builder class? I don't think they are needed. I could try to make a PR to remove them, and revert #18724 as that didn't fix the issue. |
…n-validation-annotations-on-builder
…annotations-on-builder
…annotations-on-builder
…n-validation-annotations-on-builder
…n-validation-annotations-on-builder
…annotations-on-builder
Description
Similar to #17875. The applied fix does not entirely solve the issue.
Related to #17874, the
@Valid
bean validation annotation also gets added on TYPE_USE in the builder.PartnersRest.java
This somehow causes an issue on JBoss EAP 7.4.
I guess the presence of the
@Valid
annotation causes the container to treat the builder as a CDI bean?Before #18724:
After #18724 (which attempted to fix the issue by making the builder class non-final):
openapi-generator version
OK in 7.1.0, broken from 7.2.0 onward.
The text was updated successfully, but these errors were encountered: