EndpointSyntax

endpoints4s.algebra.EndpointsWithCustomErrors.EndpointSyntax
final implicit class EndpointSyntax[A, B](endpoint: Endpoint[A, B])

Extension methods for Endpoint.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def mapDocs(func: EndpointDocs => EndpointDocs): Endpoint[A, B]

Map the documentation of this endpoint, see mapEndpointDocs.

Map the documentation of this endpoint, see mapEndpointDocs.

Attributes

def mapRequest[C](func: Request[A] => Request[C]): Endpoint[C, B]

Map the inner request of this endpoint, see mapEndpointRequest.

Map the inner request of this endpoint, see mapEndpointRequest.

Attributes

def mapResponse[C](func: Response[B] => Response[C]): Endpoint[A, C]

Map the inner response of this endpoint, see mapEndpointResponse.

Map the inner response of this endpoint, see mapEndpointResponse.

Attributes