@typia/website
    Preparing search index...

    Union type.

    IAnyOf represents a union type in TypeScript (A | B | C).

    For reference, even if your Swagger (or OpenAPI) document defines anyOf instead of oneOf, IChatGptSchema forcibly converts it to anyOf type.

    interface IAnyOf {
        anyOf: (
            | IChatGptSchema.IObject
            | IChatGptSchema.IString
            | IChatGptSchema.IBoolean
            | IChatGptSchema.IInteger
            | IChatGptSchema.INumber
            | IChatGptSchema.IArray
            | IChatGptSchema.IReference
            | IChatGptSchema.INull
            | IChatGptSchema.IUnknown
        )[];
        deprecated?: boolean;
        description?: string;
        example?: any;
        examples?: Record<string, any>;
        title?: string;
        "x-discriminator"?: IChatGptSchema.IAnyOf.IDiscriminator;
    }

    Hierarchy (View Summary)

    Index

    Properties

    List of the union types.

    deprecated?: boolean

    Whether the type is deprecated or not.

    description?: string

    Detailed description of the schema.

    example?: any

    Example value.

    examples?: Record<string, any>

    List of example values as key-value pairs.

    title?: string

    Title of the schema.

    Discriminator info of the union type.