Changelog
[0.1.2]
- Fixed output schema extraction to cover all declared 2xx responses (combining distinct status schemas with
anyOfand deduplicating identical ones), while safely omitting validation when any response has an empty body (e.g.204 No Content) or non-JSON media type. - Added structured output wrapping (
{ result: payload }) for non-object responses (arrays, primitives, nullables, and unions) to satisfy MCP object output schema specifications.
[0.1.1]
- Added
mapOutputSchemaoption toOpenAPIMcpToolsOptions(defaults totrue) to control whether response schemas are mapped to MCP tool output schemas. - Included
structuredContentin MCP tool call results when anoutputSchemais defined and payload is an object. Support mapping*/*alongsideapplication/jsonfor output schema detection. - Added support for NestJS 12 (
peerDependenciesupdated to^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0). - Added
"types"condition to package.jsonexportsmap forNodeNextresolution.
[0.1.0]
- Initial release.
