@nestjs/swagger
Nest - modern, fast, powerful node.js web framework (@swagger)
Last updated 5 days ago by nestjscore .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @nestjs/swagger 
SYNC missed versions from official npm registry.

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective

Description

OpenAPI (Swagger) module for Nest.

Installation

$ npm i --save @nestjs/swagger

Quick Start

Overview & Tutorial

Migration from v3

If you're currently using @nestjs/swagger@3.*, note the following breaking/API changes in version 4.0.

The following decorators have been changed/renamed:

  • @ApiModelProperty is now @ApiProperty
  • @ApiModelPropertyOptional is now @ApiPropertyOptional
  • @ApiResponseModelProperty is now @ApiResponseProperty
  • @ApiImplicitQuery is now @ApiQuery
  • @ApiImplicitParam is now @ApiParam
  • @ApiImplicitBody is now @ApiBody
  • @ApiImplicitHeader is now @ApiHeader
  • @ApiOperation({ title: 'test' }) is now @ApiOperation({ summary: 'test' })
  • @ApiUseTags is now @ApiTags

DocumentBuilder breaking changes (updated method signatures):

  • addTag
  • addBearerAuth
  • addOAuth2
  • setContactEmail is now setContact
  • setHost has been removed
  • setSchemes has been removed (use the addServer instead, e.g., addServer('http://'))

The following methods have been added:

  • addServer
  • addApiKey
  • addBasicAuth
  • addSecurity
  • addSecurityRequirements

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.

Stay in touch

License

Nest is MIT licensed.

Current Tags

  • 4.7.12                                ...           latest (5 days ago)
  • 4.5.12-next.1                                ...           next (6 months ago)

125 Versions

  • 4.7.12                                ...           5 days ago
  • 4.7.11                                ...           11 days ago
  • 4.7.10                                ...           14 days ago
  • 4.7.9                                ...           a month ago
  • 4.7.8                                ...           a month ago
  • 4.7.7                                ...           a month ago
  • 4.7.6                                ...           a month ago
  • 4.7.5                                ...           2 months ago
  • 4.7.4                                ...           2 months ago
  • 4.7.3                                ...           2 months ago
  • 4.7.2                                ...           3 months ago
  • 4.7.1                                ...           3 months ago
  • 4.7.0                                ...           3 months ago
  • 4.6.1                                ...           4 months ago
  • 4.6.0                                ...           5 months ago
  • 4.5.12-next.1                                ...           6 months ago
  • 4.5.12                                ...           7 months ago
  • 4.5.11                                ...           7 months ago
  • 4.5.10                                ...           8 months ago
  • 4.5.9                                ...           8 months ago
  • 4.5.8                                ...           8 months ago
  • 4.5.7                                ...           8 months ago
  • 4.5.6                                ...           8 months ago
  • 4.5.5                                ...           9 months ago
  • 4.5.4                                ...           9 months ago
  • 4.5.3                                ...           9 months ago
  • 4.5.2                                ...           9 months ago
  • 4.5.1                                ...           10 months ago
  • 4.5.0                                ...           10 months ago
  • 4.4.0                                ...           10 months ago
  • 4.3.2                                ...           a year ago
  • 4.3.1                                ...           a year ago
  • 4.3.0                                ...           a year ago
  • 4.2.12                                ...           a year ago
  • 4.2.11                                ...           a year ago
  • 4.2.10                                ...           a year ago
  • 4.2.9                                ...           a year ago
  • 4.2.8                                ...           a year ago
  • 4.2.7                                ...           a year ago
  • 4.2.6                                ...           a year ago
  • 4.2.5                                ...           a year ago
  • 4.2.4                                ...           a year ago
  • 4.2.3                                ...           a year ago
  • 4.2.2                                ...           a year ago
  • 4.2.1                                ...           a year ago
  • 4.2.0                                ...           a year ago
  • 4.1.15                                ...           a year ago
  • 4.1.14                                ...           a year ago
  • 4.1.13                                ...           a year ago
  • 4.1.12                                ...           a year ago
  • 4.1.11                                ...           a year ago
  • 4.1.10                                ...           a year ago
  • 4.1.9                                ...           a year ago
  • 4.1.8                                ...           a year ago
  • 4.1.7                                ...           a year ago
  • 4.1.6                                ...           a year ago
  • 4.1.5                                ...           a year ago
  • 4.1.4                                ...           a year ago
  • 4.1.3                                ...           a year ago
  • 4.1.2                                ...           a year ago
  • 4.1.0                                ...           a year ago
  • 4.0.11                                ...           a year ago
  • 4.0.10                                ...           a year ago
  • 4.0.9                                ...           a year ago
  • 4.0.8                                ...           a year ago
  • 4.0.7                                ...           a year ago
  • 4.0.6                                ...           a year ago
  • 4.0.4                                ...           a year ago
  • 4.0.3                                ...           a year ago
  • 4.0.2                                ...           a year ago
  • 4.0.1                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 4.0.0-next.19                                ...           a year ago
  • 4.0.0-next.18                                ...           a year ago
  • 4.0.0-next.17                                ...           a year ago
  • 4.0.0-next.16                                ...           a year ago
  • 4.0.0-next.15                                ...           a year ago
  • 4.0.0-next.14                                ...           a year ago
  • 4.0.0-next.13                                ...           a year ago
  • 4.0.0-next.12                                ...           a year ago
  • 4.0.0-next.11                                ...           a year ago
  • 4.0.0-next.10                                ...           a year ago
  • 4.0.0-next.9                                ...           a year ago
  • 4.0.0-next.8                                ...           a year ago
  • 4.0.0-next.7                                ...           a year ago
  • 4.0.0-next.6                                ...           a year ago
  • 4.0.0-next.5                                ...           a year ago
  • 4.0.0-next.4                                ...           a year ago
  • 4.0.0-next.3                                ...           a year ago
  • 4.0.0-next.2                                ...           a year ago
  • 4.0.0-next.1                                ...           a year ago
  • 3.1.0                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 2.5.1                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 2.4.6                                ...           2 years ago
  • 2.4.5                                ...           2 years ago
  • 2.4.4                                ...           2 years ago
  • 2.4.3                                ...           2 years ago
  • 2.4.2                                ...           2 years ago
  • 2.4.1                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.0                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.5                                ...           3 years ago
  • 1.2.4                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 323
This Week 605
This Month 4,907
Last Day 282
Last Week 1,587
Last Month 7,398
Dependencies (3)
Dependents (274)

Copyright 2014 - 2017 © taobao.org |