fix failure in api_docs/search_specs.rb on CI