Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

typescript-nestjs-swagger-plugin

Val-istar-Guo3.7kMIT2.0.0

@nestjs/swagger ttypescript plugin reduce the amount of boilerplate code required.

typescript, ttypescript, nestjs, swagger, @nestjs/swagger, plugin, plugins, transform, transformer

readme

typescript-nestjs-swagger-plugin

version downloads license dependencies coveralls

@nestjs/swagger ttypescript plugin reduce the amount of boilerplate code required.

Usage

Add this plugin to tsconfig.json.

{
  "compilerOptions": {
    // ...other options
    "plugins": [
      { "transform": "./build/typescript-nestjs-swagger.ts", "introspectComments": true },
    ]
  },
}

For all options supported, please see: @nestjs/swagger

Support code development on patron.

patron

Contributing & Development

If there is any doubt, it is very welcome to discuss the issue together. Please read Contributor Covenant Code of Conduct and CONTRIBUTING.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.0 (2023-06-28)

⚠ BREAKING CHANGES

  • never support typescript@4 and ttypescript@1

Features

  • support typescript@5 and ts-patch@5 (47fcb23)

1.1.1 (2021-04-09)

1.1.0 (2020-11-13)

Features

  • support swagger options (57c2364)

1.0.1 (2020-07-09)

Bug Fixes

  • cannot find default export (3bc15a8)

1.0.0 (2020-07-09)