openapi-fastify
    Preparing search index...

    Interface Document<T>

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

    Type Parameters

    • T extends {} = {}
    Index

    Properties

    components?: ComponentsObject
    openapi: string
    paths: PathsObject<T>
    servers?: ServerObject[]
    tags?: TagObject[]
    "x-express-openapi-additional-middleware"?: (
        | ((request: any, response: any, next: any) => Promise<void>)
        | ((request: any, response: any, next: any) => void)
    )[]
    "x-express-openapi-validation-strict"?: boolean