Reference type directing named schema.

interface IReference {
    $ref: string;
    deprecated?: boolean;
    description?: string;
    example?: any;
    examples?: Record<string, any>;
    title?: string;
}

Hierarchy (View Summary)

Properties

$ref: string

Reference to the named schema.

The ref is a reference to the named schema. Format of the $ref is following the JSON Pointer specification. In the OpenAPI, the $ref starts with #/$defs/ which means the type is stored in the ILlmSchemaV3_1.IParameters.$defs object.

  • #/$defs/SomeObject
  • #/$defs/AnotherObject
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.