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 5cf2a62 commit 769ba59Copy full SHA for 769ba59
elasticsearch-api/utils/thor/generate_source.rb
@@ -226,6 +226,7 @@ def __required_parts
226
227
def docs_helper(name, info)
228
info['type'] = 'String' if info['type'] == 'enum' # Rename 'enums' to 'strings'
229
+ info['type'] = 'Integer' if info['type'] == 'int' # Rename 'int' to 'Integer'
230
tipo = info['type'] ? info['type'].capitalize : 'String'
231
description = info['description'] ? info['description'].strip : '[TODO]'
232
options = info['options'] ? "(options: #{info['options'].join(', ').strip})" : nil
0 commit comments