interface SwaggerSpec {
    info: SwaggerInfo;
    paths: {
        [path: string]: {
            [method: string]: SwaggerOperation;
        };
    };
    securityDefinitions?: {
        [securityDefinitionName: string]: SecurityDefinition;
    };
    swagger: string;
    x-amazon-apigateway-api-key-source?: APIKeySource;
    x-amazon-apigateway-binary-media-types?: string[];
    x-amazon-apigateway-gateway-responses: Record<string, SwaggerGatewayResponse>;
    x-amazon-apigateway-request-validator?: RequestValidator;
    x-amazon-apigateway-request-validators?: {
        [validatorName: string]: {
            validateRequestBody: boolean;
            validateRequestParameters: boolean;
        };
    };
}

Properties

paths: {
    [path: string]: {
        [method: string]: SwaggerOperation;
    };
}

Type declaration

securityDefinitions?: {
    [securityDefinitionName: string]: SecurityDefinition;
}

Type declaration

swagger: string
x-amazon-apigateway-api-key-source?: APIKeySource
x-amazon-apigateway-binary-media-types?: string[]
x-amazon-apigateway-gateway-responses: Record<string, SwaggerGatewayResponse>
x-amazon-apigateway-request-validator?: RequestValidator
x-amazon-apigateway-request-validators?: {
    [validatorName: string]: {
        validateRequestBody: boolean;
        validateRequestParameters: boolean;
    };
}

Type declaration

  • [validatorName: string]: {
        validateRequestBody: boolean;
        validateRequestParameters: boolean;
    }
    • validateRequestBody: boolean
    • validateRequestParameters: boolean

Generated using TypeDoc