harsha-iiiv 3b4f716661 Refactor OpenAPI MCP Server Generator to TypeScript
- Removed the old JavaScript implementation of the MCP server generator.
- Introduced a new TypeScript implementation with improved command-line argument parsing using `commander`.
- Replaced the OpenAPI spec loading mechanism with `@apidevtools/swagger-parser` for better handling of references.
- Updated the server generation logic to create TypeScript files with appropriate typings and structure.
- Added utility functions for generating operation IDs and converting strings to TitleCase.
- Created a new `tsconfig.json` for TypeScript compilation settings.
- Removed deprecated files related to the old JavaScript implementation, including `openapi-loader.js`, `server-generator.js`, and `tool-generator.js`.
- Enhanced error handling and logging throughout the new implementation.
2025-04-12 17:21:28 +05:30

27 lines
558 B
JSON

{
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022",
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": false,
"outDir": "./build",
"declaration": true,
"sourceMap": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"build"
]
}