scalatra-sample-app
scalatra-sample-app copied to clipboard
endpoint and path are redundant
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
?