SchemaType

sttp.tapir.SchemaType
See theSchemaType companion trait
object SchemaType

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SchemaType.type

Members list

Type members

Classlikes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Value parameters

mapping

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
SProduct.type
object SProductField

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all