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) • 265 B
import { Type } from '@nestjs/common'; export declare const exploreGlobalApiProducesMetadata: (metatype: Type<unknown>) => { produces: any; }; export declare const exploreApiProducesMetadata: (instance: object, prototype: Type<unknown>, method: object) => any;