interface IDocument {
    components?: OpenApiV3_1.IComponents;
    info?: OpenApiV3_1.IDocument.IInfo;
    openapi: `3.1.${number}`;
    paths?: Record<string, OpenApiV3_1.IPath>;
    security?: Record<string, string[]>[];
    servers?: OpenApiV3_1.IServer[];
    tags?: OpenApiV3_1.IDocument.ITag[];
    webhooks?: Record<
        string,
        | OpenApiV3_1.IPath
        | OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`>,
    >;
}

Properties

openapi: `3.1.${number}`
paths?: Record<string, OpenApiV3_1.IPath>
security?: Record<string, string[]>[]
servers?: OpenApiV3_1.IServer[]
webhooks?: Record<
    string,
    | OpenApiV3_1.IPath
    | OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`>,
>