tapir-sttp-stub-server
tapir-sttp-stub-server
sttp.tapir.server.stub
SttpRequest
SttpRequestBody
SttpStubServer
RichSttpBackendStub
EndpointWhenRequest
TapirStubInterpreter
TapirEndpointStub
TapirServerEndpointStub
TapirStubInterpreter
tapir-sttp-stub-server
/
sttp.tapir.server.stub
/
SttpStubServer
/
RichSttpBackendStub
/
EndpointWhenRequest
EndpointWhenRequest
class
EndpointWhenRequest
[
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
]