MaxSize

sttp.tapir.Validator$.MaxSize
case class MaxSize[T, C <: (Iterable)](value: Int) extends Primitive[C[T]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Primitive[C[T]]
trait Validator[C[T]]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def doValidate(t: C[T]): ValidationResult

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
Validator
override def apply(t: C[T]): List[ValidationError[T]]

Attributes

Definition Classes
Inherited from:
Primitive
def contramap[TT](g: TT => C[T]): Validator[TT]

Attributes

Inherited from:
Validator
def or(other: Validator[C[T]]): 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