diff --git a/src/decorators/EntityFromParam.ts b/src/decorators/EntityFromParam.ts index 247f6bd..d89e7b9 100644 --- a/src/decorators/EntityFromParam.ts +++ b/src/decorators/EntityFromParam.ts @@ -17,6 +17,7 @@ export function EntityFromParam(paramName: string, options?: EntityParamOptions) index: index, name: paramName, type: "param", + explicitType: "string", parse: options && options.parse, required: options && options.required, transform: (actionProperties, value) => entityTransform(value, target, isArray, options)