swagger-codegen icon indicating copy to clipboard operation
swagger-codegen copied to clipboard

Option to disable @Validated for generated classes from yaml

Open pira26 opened this issue 6 years ago • 0 comments

Description

I am generating some Java class from a yaml, and there is an @Validated annotion (org.springframework.validation.annotation.Validated) which is generated by, that i would like to disable it as i don't need it. Is that possible ? Thank you

Swagger-codegen version

<swagger-codegen-maven-plugin.version>2.4.6</swagger-codegen-maven-plugin.version>

Command line used for generation

mvn generate-sources -Pswagger

pira26 avatar Aug 26 '19 09:08 pira26