Normally, the user input parameters need to be verified, and the validator will be used. The validator can validate parameters in the controller. It also supports validation of Websocket parameters and RPC parameter validation. It provides both default and custom types of validators, as well as custom validation rules.