# @nestjs/swagger

> Nest - modern, fast, powerful node.js web framework (@swagger)

Latest version **12.0.1** (published 2026-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nestjs/swagger
pnpm add @nestjs/swagger
yarn add @nestjs/swagger
bun add @nestjs/swagger
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 12.0.1 |
| Published | 2026-08-28 |
| First published | 2017-10-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^20.19.0 \|\| >=22.12.0 |
| Dependencies | 7 |
| Unpacked size | 391.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1893 |
| Author | Kamil Mysliwiec |
| Maintainers | nestjscore, kamilmysliwiec |

## Links

- npm: https://www.npmjs.com/package/@nestjs/swagger
- Repository: https://github.com/nestjs/swagger
- Homepage: https://github.com/nestjs/swagger#readme
- Issues: https://github.com/nestjs/swagger/issues
- npm.io page: https://npm.io/package/@nestjs/swagger

## Dependencies (7)

- [js-yaml](https://npm.io/package/js-yaml.md) 5.4.1
- [es-toolkit](https://npm.io/package/es-toolkit.md) 1.51.0
- [path-to-regexp](https://npm.io/package/path-to-regexp.md) 8.4.2
- [swagger-ui-dist](https://npm.io/package/swagger-ui-dist.md) 5.32.14
- [@microsoft/tsdoc](https://npm.io/package/@microsoft/tsdoc.md) 0.16.0
- [@nestjs/mapped-types](https://npm.io/package/@nestjs/mapped-types.md) 12.0.0
- [@standard-schema/spec](https://npm.io/package/@standard-schema/spec.md) 1.1.0

## Recent versions

- 12.0.1 (latest) — 2026-08-28
- 12.0.0-alpha.2 (next) — 2026-05-25
- 12.0.0 — 2026-08-27
- 11.4.7 — 2026-08-17
- 11.4.6 — 2026-07-17
- 11.4.5 — 2026-06-30
- 12.0.0-alpha.1 — 2026-05-25
- 12.0.0-alpha.0 — 2026-05-25
- 11.4.4 — 2026-05-21
- 11.4.3 — 2026-05-14
- 11.4.2 — 2026-04-27
- 11.4.1 — 2026-04-22
- 11.4.0 — 2026-04-22
- 11.3.2 — 2026-04-20
- 11.3.1 — 2026-04-20
- … 242 more at https://npm.io/package/@nestjs/swagger/versions

## README

<p align="center">
  <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>

<p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
<p align="center">
  <a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
  <a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
  <a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/dm/@nestjs/core.svg" alt="NPM Downloads" /></a>
  <a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a>
  <a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
  <a href="https://opencollective.com/nest#backer"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
  <a href="https://opencollective.com/nest#sponsor"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
  <a href="https://paypal.me/kamilmysliwiec"><img src="https://img.shields.io/badge/Donate-PayPal-dc3d53.svg"/></a>
  <a href="https://twitter.com/nestframework"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>
</p>
  <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)
  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->

## Description

[OpenAPI (Swagger)](https://www.openapis.org/) module for [Nest](https://github.com/nestjs/nest).

## Installation

```bash
$ npm i --save @nestjs/swagger
```

## Quick Start

[Overview & Tutorial](https://docs.nestjs.com/openapi/introduction)

## Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](LICENSE).

---
_Source: https://npm.io/package/@nestjs/swagger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
