interface Document {
    components?: ComponentsObject;
    externalDocs?: ExternalDocumentationObject;
    info: InfoObject;
    openapi: string;
    paths: PathsObject<T, {}>;
    security?: SecurityRequirementObject[];
    servers?: ServerObject[];
    tags?: TagObject[];
    x-express-openapi-additional-middleware?: (((request, response, next) => Promise<void>) | ((request, response, next) => void))[];
    x-express-openapi-validation-strict?: boolean;
}

Type Parameters

  • T extends {} = {}

Properties

components?: ComponentsObject
openapi: string
paths: PathsObject<T, {}>

Type declaration

    servers?: ServerObject[]
    tags?: TagObject[]
    x-express-openapi-additional-middleware?: (((request, response, next) => Promise<void>) | ((request, response, next) => void))[]
    x-express-openapi-validation-strict?: boolean

    Generated using TypeDoc