@nestjs/swagger
Version:
Nest - modern, fast, powerful node.js web framework (@swagger)
11 lines (10 loc) • 442 B
TypeScript
export type OperationIdFactory = (controllerKey: string, methodKey: string, version?: string) => string;
export interface SwaggerDocumentOptions {
include?: Function[];
extraModels?: Function[];
ignoreGlobalPrefix?: boolean;
deepScanRoutes?: boolean;
operationIdFactory?: OperationIdFactory;
linkNameFactory?: (controllerKey: string, methodKey: string, fieldKey: string) => string;
autoTagControllers?: boolean;
}