
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@heartpattern/nestjs-swagger
Advanced tools
Nest - modern, fast, powerful node.js web framework (@swagger)
A progressive Node.js framework for building efficient and scalable server-side applications.
OpenAPI (Swagger) module for Nest.
$ npm i --save @nestjs/swagger
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 removedsetSchemes
has been removed (use the addServer
instead, e.g., addServer('http://')
)The following methods have been added:
addServer
addApiKey
addBasicAuth
addSecurity
addSecurityRequirements
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.
Nest is MIT licensed.
FAQs
Nest - modern, fast, powerful node.js web framework (@swagger)
We found that @heartpattern/nestjs-swagger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.