UNPKG

@nestjs/swagger

Version:

OpenAPI for NestJS: generate the API document from controllers and decorators, serve Swagger UI, and derive request types with mapped types.

6 lines (5 loc) • 226 B
import { DECORATORS } from '../constants.js'; import { createMixedDecorator } from './helpers.js'; export function ApiCallbacks(...callbackObject) { return createMixedDecorator(DECORATORS.API_CALLBACKS, callbackObject); }