UNPKG

@nestjs/swagger

Version:

Nest - modern, fast, powerful node.js web framework (@swagger)

10 lines (9 loc) 568 B
import { Type } from '@nestjs/common'; import { ModelPropertiesAccessor } from './model-properties-accessor'; import { ParamsWithType, ParamWithTypeMetadata } from './parameter-metadata-accessor'; export declare class ParametersMetadataMapper { private readonly modelPropertiesAccessor; constructor(modelPropertiesAccessor: ModelPropertiesAccessor); transformModelToProperties(parameters: ParamsWithType): ParamWithTypeMetadata[]; mergeImplicitWithExplicit(key: string, prototype: Type<unknown>, param: ParamWithTypeMetadata): ParamWithTypeMetadata; }