Common attributes for object types.

interface IObject {
    additionalProperties?: boolean | OpenApiV3.IJsonSchema;
    deprecated?: boolean;
    description?: string;
    example?: any;
    examples?: Record<string, any>;
    maxProperties?: number;
    minProperties?: number;
    nullable?: boolean;
    properties?: Record<string, OpenApiV3.IJsonSchema>;
    required?: string[];
    title?: string;
    type: "object";
}

Hierarchy (View Summary)

Properties

additionalProperties?: boolean | OpenApiV3.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.

maxProperties?: number
minProperties?: number
nullable?: boolean
properties?: Record<string, OpenApiV3.IJsonSchema>
required?: string[]
title?: string

Title of the schema.

type: "object"

Discriminator value of the type.