UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

25 lines 707 B
/** * Schema Specification Module * * This module exports types and interfaces for schema specifications. */ export interface OpenAPISpec { openapi: string; info: { title: string; version: string; }; paths: Record<string, any>; components?: { schemas?: Record<string, any>; }; } export interface GatewayConfig { gatewayTypeName: string; supportedPolicySequences: string[]; stageSupportedPolicies: string[]; freeFlowSupportedPolicies: string[]; } export declare function loadOpenAPISpec(path: string): Promise<OpenAPISpec>; export declare function loadGatewayConfig(path: string): Promise<GatewayConfig>; //# sourceMappingURL=index.d.ts.map