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 8edd25b commit a4d7980Copy full SHA for a4d7980
elasticsearch-api/utils/thor/generate_source.rb
@@ -229,7 +229,7 @@ def docs_helper(name, info)
229
info['type'] = 'String' if info['type'] == 'enum' # Rename 'enums' to 'strings'
230
tipo = info['type'] ? info['type'].capitalize : 'String'
231
description = info['description'] ? info['description'].strip : '[TODO]'
232
- options = info['options'] ? "\n # (options: #{info['options'].join(', '.strip)})\n" : ''
+ options = info['options'] ? "\n # (options: #{info['options'].join(', '.strip)})" : nil
233
required = info['required'] ? ' (*Required*)' : ''
234
deprecated = info['deprecated'] ? ' *Deprecated*' : ''
235
"# @option arguments [#{tipo}] :#{name} #{description} #{required} #{deprecated} #{options}\n"
0 commit comments