SProduct

sttp.tapir.SchemaType$.SProduct
See theSProduct companion object
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

Members list

Concise view

Value members

Concrete methods

override def as[TT]: SchemaType[TT]

Adapt this schema to type TT. Only the meta-data is retained. Run-time functionality, which allows traversing collection elements, product fields, or coproduct subtypes is lost.

Adapt this schema to type TT. Only the meta-data is retained. Run-time functionality, which allows traversing collection elements, product fields, or coproduct subtypes is lost.

Attributes

Definition Classes
override def contramap[TT](g: TT => T): SchemaType[TT]

Attributes

Definition Classes
def required: List[FieldName]
def show: String

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product