Constant declaration moved closer to #search method, replaces comment.
Support in the validator for #search with only query param.

This is a bit ugly. If we want more validations, or are willing to
adjust the API slightly it might be worth changing the approach.
SearchParamsValidator specs in one file; repeat for other endpoints.