scottfrederick/springdoclet — pull request #8 by sudhcha (2013-12-29 18:23:36+00:00)
Title: Concatenation of class and method level RequestMapping

When RequestMapping annotation is available at both class and method level, it is concatenated directly yielding to incorrect path display. For example, if the class level is annotated as _@RequestMapping(value = "/api/users", method = RequestMethod.GET)_ and method level as _@RequestMapping(value = "/all", method = RequestMethod.GET)_, the doclet was printing the path as _"/api/users""/all"_. This fix is to address this scenario.

The following scenarios are corrected.
1. Handle scenarios where "/" is included in the method annotations. Example - _"/api/users""/all"_ is corrected to _"/api/users/all"_
2. Handle scenarios where "/" is not included in the method annotations. Example - _"/api/users""all"_ is corrected to _"/api/users/all"_