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.

22 lines (21 loc) • 722 B
export interface PluginOptions { dtoFileNameSuffix?: string | string[]; controllerFileNameSuffix?: string | string[]; classValidatorShim?: boolean; classTransformerShim?: boolean | 'exclusive'; dtoKeyOfComment?: string; controllerKeyOfComment?: string; introspectComments?: boolean; esmCompatible?: boolean; esmCompatibleWasConfigured?: boolean; readonly?: boolean; pathToSource?: string; debug?: boolean; parameterProperties?: boolean; skipAutoHttpCode?: boolean; skipDefaultValues?: boolean; outDir?: string; rootDir?: string; autoFillEnumName?: boolean; } export declare const mergePluginOptions: (options?: Record<string, any>) => PluginOptions;