scalatra-sample-app icon indicating copy to clipboard operation
scalatra-sample-app copied to clipboard

endpoint and path are redundant

Open fehguy opened this issue 12 years ago • 0 comments

In this file:

https://github.com/wordnik/scalatra-sample-app/blob/master/src/main/scala/com/wordnik/swagger/sample/PetServlet.scala#L33

the endpoint and path (first param) are redundant. Is there a need for the endpoint type or can it be assumed from the path?

fehguy avatar Jun 18 '12 20:06 fehguy