TapirStubInterpreter

sttp.tapir.server.stub.TapirStubInterpreter
See theTapirStubInterpreter companion object
class TapirStubInterpreter[F[_], R, OPTIONS](endpoints: List[ServerEndpoint[R, F]], interceptors: List[Interceptor[F]], stub: SttpBackendStub[F, R])

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

class TapirEndpointStub[I, E, O](ep: Endpoint[_, I, E, O, _])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
class TapirServerEndpointStub[A, U, I, E, O](sep: Full[A, U, I, E, O, R, F])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def backend(): SttpBackend[F, R]

Returns SttpBackend which handles sent requests using a ServerInterpreter.

Returns SttpBackend which handles sent requests using a ServerInterpreter.

Attributes

def whenEndpoint[I, E, O](endpoint: Endpoint[_, I, E, O, _]): TapirEndpointStub[I, E, O]
def whenServerEndpoint[A, U, I, E, O](serverEndpoint: Full[A, U, I, E, O, R, F]): TapirServerEndpointStub[A, U, I, E, O]
def whenServerEndpointRunLogic(serverEndpoint: ServerEndpoint[R, F]): TapirStubInterpreter[F, R, OPTIONS]
def whenServerEndpointsRunLogic(serverEndpoints: List[ServerEndpoint[R, F]]): TapirStubInterpreter[F, R, OPTIONS]