Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@marxlnfcs/nest-swagger-decorators
Advanced tools
Extended decorators for the @nestjs/swagger module
NestJS OpenApi Extended Decorators
Extended decorator functions for the @nestjs/swagger module
npm i @marxlnfcs/nest-swagger-decorators
@ApiController('/', {
tags: [ ... ],
tagGroups: [ ... ],
header: { ... },
params: { ... },
query: { ... },
})
export class AppController {}
@ApiController({
path: '/',
tags: [ ... ],
tagGroups: [ ... ],
header: { ... },
params: { ... },
query: { ... },
})
export class AppController {}
// Controller will not be added to the documentation. Equals to @ApiExcludeController
@ApiController('/', false)
export class AppController {}
@ApiController('/')
export class AppController {
@ApiGet('/', { ... })
@ApiGet({ path: '/', ... })
@ApiGet('/', false) // Endpoint will not be added to the documentation. Equals to @ApiExcludeEndpoint
ping(){ ... }
}
@ApiController('/')
export class AppController {
@ApiGet('/')
@ApiNotFoundException()
@ApiUnauthorizedException()
ping(){ ... }
}
@ApiController('/')
@TagGroups(...)
export class AppController {
@ApiGet('/', { ... })
@ApiTagGroups(...)
ping(){ ... }
}
import {getApiTagGroups} from "@marxlnfcs/nest-swagger-decorators";
const tagGroups = getApiTagGroups();
/**
* RETURNS:
* [
* {
* name: string,
* tags: string[]
* },
* ...
* ]
*/
FAQs
Extended decorators for the @nestjs/swagger module
The npm package @marxlnfcs/nest-swagger-decorators receives a total of 0 weekly downloads. As such, @marxlnfcs/nest-swagger-decorators popularity was classified as not popular.
We found that @marxlnfcs/nest-swagger-decorators demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.