SShortSingh.
Back to feed

nestjs-docfy adds mock servers, contract testing, and expanded MCP tools for NestJS APIs

0
·6 views

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.

Read the full story at DEV Community

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

Related stories

0
ProgrammingDEV Community ·

How to Automate Google Search Console Indexing Using GitHub Actions

Manual URL submission to Google Search Console is impractical for large or frequently updated websites, prompting developers to seek automated alternatives. A command-line tool called gsc-indexer can be integrated into a GitHub Actions CI/CD pipeline to programmatically handle URL inspection and indexing requests. The workflow runs on a daily schedule, fetches URLs from a sitemap, and submits them to GSC using a Google Cloud Service Account for authentication. Credentials are stored securely as GitHub Secrets to prevent accidental exposure of sensitive keys. The pipeline also supports error monitoring by emitting JSON results and non-zero exit codes, enabling teams to trigger alerts when critical pages fail to get indexed.

0
ProgrammingDEV Community ·

Developer corrects MCP migration tool that confidently gave wrong upgrade advice

A developer building a compliance checker for the Model Context Protocol's major 2026-07-28 breaking changes discovered their own tool was giving incorrect migration guidance. The checker's rule MCP007 advised users to upgrade to @modelcontextprotocol/sdk version 2.x, a package that does not exist and never will, stopping at version 1.30.0. The MCP v2 release actually ships under entirely new package names, including @modelcontextprotocol/server, @modelcontextprotocol/client, and @modelcontextprotocol/core, among others. The developer corrected the rule to detect the presence of the old v1 package rather than comparing version numbers, and added automated tests to prevent the same mistake from recurring. The 2026-07-28 MCP revision removes stateful sessions, replaces server-initiated requests with multi-round-trip requests, and makes server discovery mandatory.

0
ProgrammingHacker News ·

Go 1.27 Interactive Tour Highlights New Language Features

VictoriaMetrics has published an interactive tour covering the new features introduced in Go 1.27. The guide allows developers to explore the latest changes to the Go programming language in a hands-on format. The post was shared on Hacker News, where it received 24 points and community engagement. The tour serves as a practical resource for Go developers looking to understand and adopt the newest version of the language.

0
ProgrammingHacker News ·

ASRock BC-250 Explored as an Affordable DIY Steam Machine Build

A recent write-up examines the ASRock BC-250, positioning it as a budget-friendly foundation for building a Steam Machine-style PC. The BC-250 is a compact, low-cost board originally designed for cryptocurrency mining but has found interest among PC gaming enthusiasts. The article explores how the hardware can be repurposed to run Steam and Linux-based gaming environments. It highlights the appeal of the build for users seeking an inexpensive entry point into living-room PC gaming.