Skip to content

Commit

Permalink
Skips APIs that are not public in OTel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Sep 16, 2024
1 parent 5959974 commit 06736c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
describe 'Perform request args' do
Elasticsearch::API::FilesHelper.files.each do |filepath|
spec = Elasticsearch::API::EndpointSpec.new(filepath)
next if spec.module_namespace.flatten.first == '_internal'
next if spec.module_namespace.flatten.first == '_internal' || spec.visibility != 'public'

# These are the path parts defined by the user in the method argument
defined_path_parts = spec.path_params.inject({}) do |params, part|
Expand Down

0 comments on commit 06736c8

Please sign in to comment.