wkennedy / swagger4spring-web

Swagger support for Spring MVC
89 stars 46 forks source link

Fixes GH-69. Any api with `/doc` was failing. #85

Closed ncb000gt closed 9 years ago

ncb000gt commented 9 years ago

The problem is that the documentation controller was keying off the last index of /doc which causes issues if you have any api's that have that path.

So, the fix is to look for the first index of /doc/.

Signed-off-by: Nick Campbell nicholas.j.campbell@gmail.com