Description
Add a CLI flag to perform an automatic client-side BeanValidation check.
This would also make the current check for required parameters in the generated Api-client classes obsolete (if the CLI beanvalidation flag is turned on):
// verify the required parameter 'name' is set
if (name == null) {
throw new ApiException("Missing the required parameter 'name' when calling sayHello(Async)");
}
Related issues
PR #4003 (BeanValidation added to Java)