interface IReference<Key = string> {
    $ref: Key;
    deprecated?: boolean;
    description?: string;
    example?: any;
    examples?: any[] | Record<string, any>;
    readOnly?: boolean;
    title?: string;
    writeOnly?: boolean;
}

Type Parameters

  • Key = string

Hierarchy (View Summary)

Properties

$ref: Key
deprecated?: boolean

Whether the type is deprecated or not.

description?: string

Detailed description of the schema.

example?: any

Example value.

examples?: any[] | Record<string, any>
readOnly?: boolean

Whether the property is read-only.

title?: string

Title of the schema.

writeOnly?: boolean

Whether the property is write-only.