[Java][jaxrs/resteasy] add @Valid to getter methods when bean validation is enabled
Created by: tnmtechnologies
Description
When bean validation is enabled, @Valid misses on getter methods of model classes.
It is ok for the api part thanks to #1237 .
openapi-generator version
Issue found in version 3.3.3
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
#1237 #1019
Suggest a fix
I think that what has been done for the fix #1019 for models should be done in models of the resteasy server generator.