When an api method has only one parameter, the request data does not include its name, and it is of type array or class instance, send the full data for further validation
Further fine tuning of the api parameter handling
added @min and @max validations for array
Since we are already filtering, we can accept an array as the body of the request if that is the only parameter
Improving validator with the changes in Routes class and removing debug statements