Function: Validate()
Validate(
func): (target,propertyKey,descriptor) =>void
Defined in: service-core/src/decorators/RouteDecorators.ts:414
Indicates a validation function to execute in order to verify an incoming requests payload.
Parameters
func
string | Function
The validation function to execute that will verify the request payload.
Returns
(target, propertyKey, descriptor) => void