DuplicatedMethodDefinitionError
sttp.tapir.testing.DuplicatedMethodDefinitionError
case class DuplicatedMethodDefinitionError(e: AnyEndpoint, methods: List[Method]) extends EndpointVerificationError
Endpoint e
has multiple methods definitions but should have at most 1 defined.
Examples of incorrectly defined endpoints:
endpoint.get.post
endpoint.post.in("x" / paths).get
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any