sttp.tapir.generic

Members list

Packages

Type members

Classlikes

final case class Configuration(toEncodedName: String => String, discriminator: Option[String], toDiscriminatorValue: SName => String)

Value parameters

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.

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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Configuration

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class Derived[T](value: T) extends AnyVal

Attributes

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