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 36870cc commit 8c6eefbCopy full SHA for 8c6eefb
elasticsearch-api/utils/thor/generate_source.rb
@@ -69,9 +69,7 @@ def generate(*files)
69
@params = @spec['params'] || {}
70
method = @spec['url']['paths'].map { |a| a['methods'] }.flatten.first
71
@http_method = "HTTP_#{method}"
72
- @paths = @spec['url']['paths'].reject { |p| p['path'].include? 'type' }.map { |b| b['path'] }
73
- # TODO : Temporary Hack for deprecated method
74
- next if @method_name == 'exists_type'
+ @paths = @spec['url']['paths'].map { |b| b['path'] }
75
76
@http_path = __http_path
77
@required_parts = __required_parts
0 commit comments