mcp-swagger-parser
Version:
Enterprise-grade OpenAPI/Swagger specification parser for Model Context Protocol (MCP) projects
16 lines • 488 B
TypeScript
/**
* Text parser for OpenAPI specifications
*/
import type { OpenAPISpec } from '../types/index';
import { BaseParser } from './base-parser';
export interface TextParseOptions {
format?: 'json' | 'yaml' | 'auto';
filename?: string;
}
export declare class TextParser extends BaseParser {
/**
* Parse OpenAPI specification from text content
*/
parse(content: string, options?: TextParseOptions): Promise<OpenAPISpec>;
}
//# sourceMappingURL=text-parser.d.ts.map