MinLength

sttp.tapir.Validator.MinLength
See theMinLength companion object
case class MinLength[T <: String](value: Int, countCodePoints: Boolean) extends Primitive[T]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Primitive[T]
trait Validator[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(value: Int)

Concrete methods

def copy[TT <: String](value: Int): MinLength[TT]
def copy[TT <: String](value: Int, countCodePoints: Boolean): MinLength[TT]
override def doValidate(t: T): ValidationResult

Attributes

Definition Classes

Inherited methods

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

Attributes

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

Attributes

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

Attributes

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