There was an error while loading. Please reload this page.
1 parent 93608d2 commit afb9947Copy full SHA for afb9947
elasticsearch-api/spec/elasticsearch/api/perform_request_spec.rb
@@ -23,7 +23,7 @@
23
describe 'Perform request args' do
24
Elasticsearch::API::FilesHelper.files.each do |filepath|
25
spec = Elasticsearch::API::EndpointSpec.new(filepath)
26
- next if spec.module_namespace.flatten.first == '_internal'
+ next if spec.module_namespace.flatten.first == '_internal' || spec.visibility != 'public'
27
28
# These are the path parts defined by the user in the method argument
29
defined_path_parts = spec.path_params.inject({}) do |params, part|
0 commit comments