Interface __ISignificant<Type>

Significant attributes that can be applied to the most types.

interface __ISignificant<Type extends string> {
    deprecated?: boolean;
    description?: string;
    example?: any;
    examples?: Record<string, any>;
    title?: string;
    type: Type;
}

Type Parameters

  • Type extends 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.

title?: string

Title of the schema.

type: Type

Discriminator value of the type.