Mapped

sttp.tapir.Validator$.Mapped
case class Mapped[TT, T](wrapped: Validator[T], g: TT => T) extends Validator[TT]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Validator[TT]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def apply(t: TT): List[ValidationError[_]]

Attributes

Definition Classes

Inherited methods

def and(other: Validator[TT]): Validator[T]

Attributes

Inherited from:
Validator
def contramap[TT](g: TT => TT): Validator[TT]

Attributes

Inherited from:
Validator
def or(other: Validator[TT]): Validator[T]

Attributes

Inherited from:
Validator
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def show: Option[String]

Attributes

Inherited from:
Validator