Primitive

sttp.tapir.Validator$.Primitive
sealed trait Primitive[T] extends Validator[T]

Attributes

Graph
Supertypes
trait Validator[T]
class Object
trait Matchable
class Any
Known subtypes
class Custom[T]
class Enumeration[T]
class Max[T]
class MaxLength[T]
class MaxSize[T, C]
class Min[T]
class MinLength[T]
class MinSize[T, C]
class Pattern[T]

Members list

Concise view

Value members

Abstract methods

Concrete methods

override def apply(t: T): List[ValidationError[T]]

Attributes

Definition Classes

Inherited methods

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Validator
def show: Option[String]

Attributes

Inherited from:
Validator