tapir-sttp-stub-server
tapir-sttp-stub-server
sttp.tapir.server.stub
SttpRequest
SttpStubServer
RichSttpBackendStub
TypeAwareWhenRequest
SttpStubServer
tapir-sttp-stub-server
/
sttp.tapir.server.stub
/
SttpStubServer
/
RichSttpBackendStub
/
TypeAwareWhenRequest
TypeAwareWhenRequest
class
TypeAwareWhenRequest
[A, I, E, O](endpoint:
Endpoint
[
A
,
I
,
E
,
O
, _], whenRequest:
WhenRequest
)
Graph
Supertypes
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
generic
:
WhenRequest
Exposes underlying generic stubbing which allows to stub with an arbitrary response
Exposes underlying generic stubbing which allows to stub with an arbitrary response
def
thenError
(errorResponse:
E
, statusCode:
StatusCode
):
SttpBackendStub
[
F
,
R
]
def
thenSuccess
(response:
O
):
SttpBackendStub
[
F
,
R
]