Pass param declaration to validator
Support paramsValidation option for Api