package schema
Ordering
- Alphabetic
Visibility
- Public
- Protected
Package Members
- package validation
Type Members
- trait LowPriorityPredefs extends AnyRef
- final case class Predef[T](schema: Schema[T]) extends AnyVal with Product with Serializable
The idea behind Predef is a continuation of the idea about exposing schemas that was found in implicit scope as
ref
.The idea behind Predef is a continuation of the idea about exposing schemas that was found in implicit scope as
ref
. Namely, if schema is derived - it will be defined in-place inside of a json-schema, but if it's implicitly available - going to be aref
.So Predef changes it by adding another class of implicitly defined schemas which won't become a
ref
- sealed trait Version extends AnyRef
- final case class definition(label: String = "__default__") extends Annotation with StaticAnnotation with Product with Serializable
- final case class description(text: String) extends Annotation with StaticAnnotation with Product with Serializable
- final case class discriminator(field: String = "type", phantom: Boolean = true) extends Annotation with StaticAnnotation with Product with Serializable
- final case class discriminatorKey(label: String) extends Annotation with StaticAnnotation with Product with Serializable
- final class readOnly extends Annotation with StaticAnnotation
- final case class title(text: String) extends Annotation with StaticAnnotation with Product with Serializable
- final class typeHint[T] extends Annotation with StaticAnnotation
- final class writeOnly extends Annotation with StaticAnnotation
Value Members
- object Predef extends LowPriorityPredefs with Serializable
- object Version