UnionType

besom.codegen.metaschema.UnionType

A reference to a union type. The "oneOf" property must be present. The union may additional specify an underlying primitive type via the "type" property and a discriminator via the "discriminator" property. No other properties may be present.

Value parameters

`type`

The underlying primitive type of the union, if any

discriminator

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

oneOf

If present, indicates that values of the type may be one of any of the listed types

Attributes

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

Members list

Value members

Inherited methods

def plain: Boolean

Attributes

Returns

Indicates that when used as an input, this type does not accept eventual values.

Inherited from:
TypeReference

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product