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>;
    nullable?: boolean;
    type: Type;
}

Type Parameters

  • Type extends string

Hierarchy (View Summary)

Properties

deprecated?: boolean

Whether the type is deprecated or not.

document of Gemini says not supported, but cannot sure

description?: string

Detailed description of the schema.

example?: any

Example value.

document of Gemini says not supported, but cannot sure

examples?: Record<string, any>

List of example values as key-value pairs.

document of Gemini says not supported, but cannot sure

nullable?: boolean

Whether to allow null value or not.

type: Type

Discriminator value of the type.