Common attributes for array types.

interface IArray {
    additionalItems?: boolean | OpenApiV3_1.IJsonSchema;
    deprecated?: boolean;
    description?: string;
    example?: any;
    examples?: Record<string, any>;
    items?: OpenApiV3_1.IJsonSchema | OpenApiV3_1.IJsonSchema[];
    maxItems?: number;
    minItems?: number;
    nullable?: boolean;
    prefixItems?: OpenApiV3_1.IJsonSchema[];
    title?: string;
    type: "array";
    uniqueItems?: boolean;
}

Hierarchy (View Summary)

Properties

additionalItems?: boolean | OpenApiV3_1.IJsonSchema
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.

maxItems?: number
minItems?: number
nullable?: boolean
prefixItems?: OpenApiV3_1.IJsonSchema[]
title?: string

Title of the schema.

type: "array"

Discriminator value of the type.

uniqueItems?: boolean