Discriminator

besom.codegen.metaschema.Discriminator
See theDiscriminator companion object

Informs the consumer of an alternative schema based on the value associated with it

Value parameters

mapping

an optional object to hold mappings between payload values and schema names or references

propertyName

PropertyName is the name of the property in the payload that will hold the discriminator value

Attributes

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

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product