Skip to content
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

Support useBeanValidation-configOption #48

Closed
Chrimle opened this issue Sep 11, 2024 · 1 comment · Fixed by #50
Closed

Support useBeanValidation-configOption #48

Chrimle opened this issue Sep 11, 2024 · 1 comment · Fixed by #50
Assignees
Labels
feat Feature change

Comments

@Chrimle
Copy link
Owner

Chrimle commented Sep 11, 2024

Is your feature request related to a problem? Please describe.
I want fields to be annotated with @jakarta.validation.constraints.* - particularly @Nullable and @NotNull.

Describe the solution you'd like
Support useBeanValidation

Describe alternatives you've considered
None.

Additional context
None.

@Chrimle
Copy link
Owner Author

Chrimle commented Sep 11, 2024

It will be difficult to stick to how it currently behaves, because it seems it is not intended for pojo/model, but actually api and other supporting files...

Best option as of right now, get inspiration from https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/Java/beanValidationCore.mustache, and try to get it as close as possible.

@Chrimle Chrimle linked a pull request Sep 11, 2024 that will close this issue
5 tasks
@Chrimle Chrimle changed the title Support the configOption-property useBeanValidation Support useBeanValidation-configOption Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Feature change
Projects
Development

Successfully merging a pull request may close this issue.

1 participant