chore: Update version to 3.1.0 and changelog

This commit is contained in:
harsha-iiiv 2025-05-18 18:47:33 +05:30
parent 5b88b5e58d
commit 5052b00bbe
4 changed files with 3221 additions and 2 deletions

View File

@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.1.0] - 2025-05-18
### Added
- Programmatic API to extract MCP tool definitions from OpenAPI specs
- New exportable `getToolsFromOpenApi` function for direct integration in code
- Advanced filtering capabilities for programmatic tool extraction
- Comprehensive documentation in PROGRAMMATIC_API.md
- Updated README with programmatic API usage examples
### Changed
- Improved module structure with better exports
- Enhanced detection of module execution context
## [2.0.0] - 2025-04-12
### Added

3206
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "openapi-mcp-generator",
"version": "3.0.0",
"version": "3.1.0",
"description": "Generates MCP server code from OpenAPI specifications",
"license": "MIT",
"author": "Harsha",

View File

@ -72,7 +72,7 @@ program
(val) => parseInt(val, 10)
)
.option('--force', 'Overwrite existing files without prompting')
.version('3.0.0'); // Match package.json version
.version('3.1.0'); // Match package.json version
// Check if module is being run directly (not imported)
const isMainModule = process.argv[1] === new URL(import.meta.url).pathname;