This commit is contained in:
kamal 2025-06-03 15:01:29 -04:00
parent f51a6a7d47
commit bf681ddc24
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@
import SwaggerParser from '@apidevtools/swagger-parser';
import { OpenAPIV3 } from 'openapi-types';
import { extractToolsFromApi } from './parser/extract-tools.js';
import { McpToolDefinition } from './types/index.js';
import type { McpToolDefinition } from './types/index.js';
import { determineBaseUrl } from './utils/url.js';
/**

View File

@ -32,7 +32,8 @@ import {
import { CliOptions, TransportType } from './types/index.js';
// Export programmatic API
export { getToolsFromOpenApi, McpToolDefinition, GetToolsOptions } from './api.js';
export { getToolsFromOpenApi } from './api.js';
export type { McpToolDefinition, GetToolsOptions } from './api.js';
// Configure CLI
const program = new Command();