UNPKG

mcp-swagger-parser

Version:

Enterprise-grade OpenAPI/Swagger specification parser for Model Context Protocol (MCP) projects

21 lines 570 B
/** * URL parser for OpenAPI specifications */ import type { OpenAPISpec } from '../types/index'; import { BaseParser } from './base-parser'; export interface UrlParseOptions { timeout?: number; headers?: Record<string, string>; validateCertificate?: boolean; } export declare class UrlParser extends BaseParser { /** * Parse OpenAPI specification from URL */ parse(url: string, options?: UrlParseOptions): Promise<OpenAPISpec>; /** * Validate URL format */ private isValidUrl; } //# sourceMappingURL=url-parser.d.ts.map