nestjs-docfy adds mock servers, contract testing, and expanded MCP tools for NestJS APIs
The nestjs-docfy open-source library has received a significant update adding new CLI commands and developer tooling for NestJS API documentation workflows. A new 'docfy mock' command spins up a local HTTP server directly from an OpenAPI spec, while 'docfy test' fires real requests against live endpoints and validates responses against declared schemas to catch documentation drift. The MCP server has been expanded with three new tools — lint_spec, diff_specs, and contract_test — enabling AI coding agents to audit, compare, and verify API specs without leaving the editor. A reusable GitHub Actions workflow now posts spec diff reports as pull request comments, surfacing breaking API changes before they are merged. The documentation site at nestdocfy.com has also been localized into ten languages, and all new features are additive, requiring no changes to existing configurations.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in