@typia/website
    Preparing search index...

    Discriminator info of the union type.

    interface IDiscriminator {
        mapping?: Record<string, string>;
        propertyName: string;
    }
    Index

    Properties

    mapping?: Record<string, string>

    Mapping of discriminator values to schema names.

    This property is valid only for IReference typed IAnyOf.anyOf elements. Therefore, the key of mapping is the discriminator value, and the value of mapping is the schema name like #/components/schemas/SomeObject.

    propertyName: string

    Property name for the discriminator.