sttp.tapir.SchemaType
See theSchemaType companion trait
object SchemaType
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass 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 Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SBinary[T]() extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SBoolean[T]() extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SCoproduct[T](subtypes: List[Schema[_]], discriminator: Option[SDiscriminator])(subtypeSchema: T => Option[SchemaWithValue[_]]) extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SDate[T]() extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SDateTime[T]() extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
Value parameters
- mapping
-
Schemas that should be used, given the
name
field's value.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class SInteger[T]() extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SNumber[T]() extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SOpenProduct[T, V](fields: List[SProductField[T]], valueSchema: Schema[V])(mapFieldValues: T => Map[String, V]) extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SOption[T, E](element: Schema[E])(toOption: T => Option[E]) extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SProduct[T](fields: List[SProductField[T]]) extends SchemaType[T]
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
object SProduct
object SProductField
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SProductField.type
trait SProductField[T] extends Serializable
Attributes
- Companion
- object
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
case class SRef[T](name: SName) extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
case class SString[T]() extends SchemaType[T]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaType[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article