sttp.tapir.generic
package sttp.tapir.generic
Members list
Concise view
Type members
Classlikes
final case class Configuration(toEncodedName: String => String, discriminator: Option[String], toDiscriminatorValue: SName => String)
Attributes
- 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.
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
object Configuration
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- Configuration.type
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass Any