code: protected function queryRulesWithoutSearch()
      {
          return collect($this->queryRules())->reject(function ($value, $key) {
              return Str::startsWith($key, ['filter.', 'sort.', 'page.']);
          })->all();
      }
docs: Get the validation rules for query parameters, excluding filter, sort and page.
  
  @return array