IncorrectPathsError
Inputs in an endpoint are incorrect if a wildcard paths
segment appears before any other segment. Reason: The wildcard paths
consumes all of the remaining input, so any segment after it will never be matched.
Examples of incorrectly defined paths:
endpoint.get.in("x" / paths / "y")
endpoint.get.in(paths / path[String].name("x")))
endpoint.get.securityIn(paths).in("x")
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any