validate
sttp.tapir.Schema.annotations.validate
Adds the v
validator to the schema using Schema.validate. Note that the type of the validator must match exactly the type of the class/field. This is not checked at compile-time, and might cause run-time exceptions. To validate elements of collections or Options, use validateEach.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article