phoenixnap / springmvc-raml-plugin

Spring MVC - RAML Spec Synchroniser Plugin. A Maven plugin designed to Generate Server & Client code in Spring from a RAML API descriptor and conversely, a RAML API document from the SpringMVC Server implementation.
Apache License 2.0
136 stars 84 forks source link

Optionally exclude all validation annotations #245

Closed stojsavljevic closed 6 years ago

stojsavljevic commented 6 years ago

Currently, there is no way to exclude controller validation annotations like @Validated or @Valid. For POJOs there is config option includeJsr303Annotations but it does not apply for controller annotations.

I plan to reuse that option also for controllers. Not a perfect solution but it's better to have a single flag but two of them (one for POJOs and one for controllers).