Packages

p

sttp.tapir

generic

package generic

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class Configuration(toEncodedName: (String) ⇒ String, discriminator: Option[String], toDiscriminatorValue: (SName) ⇒ String) extends Product with Serializable

    toEncodedName

    A function which, given a field name of a case class, returns the encoded field name, as in the encoded representation of the case class.

    discriminator

    Encoded field name, whose value should be used to choose the appropriate subtype of a sttp.tapir.SchemaType.SCoproduct.

    toDiscriminatorValue

    A function which, given the name of a subtype, returns the value of the discriminator field corresponding to that subtype. Used when creating sttp.tapir.SchemaType.SCoproduct schemas.

  2. final case class Derived[T](value: T) extends AnyVal with Product with Serializable

Value Members

  1. object Configuration extends Serializable

Ungrouped