ayush/swagger-play2 — pull request #2 by gukjoon (2012-03-17 20:01:53+00:00)
Title: Fixed routes parsing

I'm not sure if this was also an issue with Play 2.0-RC1, but routes were not being parsed correctly for Play 2.0-final. You would get the root path for the controller instead of the path for the method. The HTTP method was also not being parsed out.

This fix uses the core router parser to manually parse the routes and then cache them in a map for the individual calls to use.

Let me know if you have any questions/comments/concerns.

-Jieren Chen
jieren@klout.com
jieren.chen@gmail.com