MockedServiceResponse

orchescala.domain.MockedServiceResponse
See theMockedServiceResponse companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def error[ServiceOut](status: Int, body: Json): MockedServiceResponse[ServiceOut]
def error[ServiceOut](status: Int): MockedServiceResponse[ServiceOut]
def success[ServiceOut](status: Int, body: ServiceOut, headers: Map[String, String]): MockedServiceResponse[ServiceOut]
def success200[ServiceOut](body: ServiceOut, headers: Map[String, String]): MockedServiceResponse[ServiceOut]
def success201[ServiceOut](body: ServiceOut, headers: Map[String, String]): MockedServiceResponse[ServiceOut]

Concrete fields

Givens

Givens

given mockedHttpResponseJsonDecoder[ServiceOut : Decoder]: Decoder[MockedServiceResponse[ServiceOut]]
given mockedHttpResponseJsonEncoder[ServiceOut : Encoder]: Encoder[MockedServiceResponse[ServiceOut]]
given tapirSchema[ServiceOut : Schema]: Schema[MockedServiceResponse[ServiceOut]]