Hi,

I am using swagger-codegen to generate code from a YAML specification file.
During the build phase on our JenkinsCI, a static code analysis is 
performed - including on the generated code.

PMD triggers a lot of warnings (small stuff, like variables that could be 
final, literal repetition, etc); when the number of warnings crosses a 
threshold, the build is failed.

How can I add a @SuppressWarnings("PMD") annotation to the generated 
classes? Or, for that fact, any custom annotation?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to