We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c75825 commit ec84fc3Copy full SHA for ec84fc3
elasticsearch-api/utils/thor/generate_source.rb
@@ -74,6 +74,10 @@ def generate_source
74
@full_namespace = __full_namespace
75
@namespace_depth = @full_namespace.size > 0 ? @full_namespace.size - 1 : 0
76
@module_namespace = @full_namespace[0, @namespace_depth]
77
+
78
+ # Don't generate code for internal APIs:
79
+ next if @module_namespace.flatten.first == '_internal'
80
81
@method_name = @full_namespace.last
82
@parts = __endpoint_parts
83
@params = @spec['params'] || {}
0 commit comments