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.

4 lines (3 loc) • 363 B
import { Type } from '@nestjs/common'; export declare function setMappedTypeClassName<T, K extends keyof T>(target: Function, prefix: string, classRef: Type<T>, keys?: readonly K[]): void; export declare function clonePluginMetadataFactory(target: Type<unknown>, parent: Type<unknown>, transformFn?: (metadata: Record<string, any>) => Record<string, any>): void;