Validation and Enum mapping failed in openapi generator for spring boot using gradle
I am using openapi generator in my Spring Boot java application. I am also using gradle as a build tool. It is generating the interfaces and the models. But, I am getting some errors in the generated models. Following are the error: