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

Enforce Spring's alias semantics #238

Closed gycsabesz closed 6 years ago

gycsabesz commented 6 years ago

Spring's @AliasFor annotation was not taken into account during parsing SpringMVC resource.

As a result the RequestParam and PathVariable name was recognized only if the annotations' value attribute was set. Annotations like @PathVariable(name = "varName") or @RequestParam(name = "paramName") were not parsed properly.