@nestjs/swagger is an OpenAPI (Swagger) module for the Nest (Node.js) framework. It helps you generate and expose OpenAPI documentation for your Nest-based server-side applications.
Project status
- The
nestjs/swaggerGitHub source appears actively maintained, with an upstream push on 2026-08-09 and several recentupdatesin the 11.4.x line. - Update cadence looks steady, with
updateson 2026-05-21, 2026-06-30, 2026-07-17, and near-term activity on 2026-08-09 (roughly every few weeks to about monthly).
AI summary generated
Recent updates
11.4.6
Release 11.4.6 adds new Swagger plugin capabilities for richer parameter documentation, including inferring OpenAPI parameter enums from literal union types and allowing custom OpenAPI extensions on ApiQuery parameters. It also fixes several schema generation edge cases related to mapped type collisions, DeepPartialType array handling, response schema typing, and MIME type content wrapper reference behavior. Code changes further adjust Swagger UI HTML template replacement behavior to safely preserve certain user-provided characters.
Features11.4.5
Release 11.4.5 adds Swagger plugin output support for TypeScript Record and index-signature types by generating OpenAPI schemas that include additionalProperties. It also updates swagger-ui-dist and bumps js-yaml for a security fix. The code changes also show additional, undocumented tooling and dev-dependency upgrades.
SecurityFeatures11.4.4
Release 11.4.4 adds OpenAPI TagObject support for a new optional Tag summary field (OpenAPI 3.2), and it warns when @ApiTags is given hierarchy fields (parent/kind) since those are not used at the root tag level. It also updates tag.kind handling to be free-form, and includes at least one schema-generation bug fix related to nullable usage with discriminator.
Features