SchemaType

sttp.tapir.SchemaType$
See theSchemaType companion trait
object SchemaType

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class SArray[T, E](element: Schema[E])(toIterable: T => Iterable[E]) extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SBinary[T]() extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SBoolean[T]() extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SCoproduct[T](subtypes: List[Schema[_]], discriminator: Option[SDiscriminator])(subtypeSchema: T => Option[SchemaWithValue[_]]) extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SDate[T]() extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SDateTime[T]() extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SDiscriminator(name: FieldName, mapping: Map[String, SRef[_]])

Attributes

mapping

Schemas that should be used, given the name field's value.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case class SInteger[T]() extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SNumber[T]() extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SOpenProduct[T, V](fields: List[SProductField[T]], valueSchema: Schema[V])(mapFieldValues: T => Map[String, V]) extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SOption[T, E](element: Schema[E])(toOption: T => Option[E]) extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SProduct[T](fields: List[SProductField[T]]) extends SchemaType[T]

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
object SProduct

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
trait SProductField[T] extends Serializable

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
case class SRef[T](name: SName) extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SString[T]() extends SchemaType[T]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SchemaType[T]
class Object
trait Matchable
class Any
case class SchemaWithValue[T](schema: Schema[T], value: T)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any