One of type schema info.

IOneOf represents an union type of the TypeScript (A | B | C).

For reference, even though your Swagger (or OpenAPI) document has defined anyOf instead of the oneOf, it has been forcibly converted to oneOf type by OpenAPI conversion.

interface IOneOf {
    deprecated?: boolean;
    description?: string;
    example?: any;
    examples?: Record<string, any>;
    oneOf: (
        | ILlmSchemaV3.INumber
        | ILlmSchemaV3.IString
        | ILlmSchemaV3.IArray
        | ILlmSchemaV3.IBoolean
        | ILlmSchemaV3.IInteger
        | ILlmSchemaV3.IObject
        | ILlmSchemaV3.IUnknown
        | ILlmSchemaV3.INullOnly
    )[];
    title?: string;
}

Hierarchy (View Summary)

Properties

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.

List of the union types.

title?: string

Title of the schema.