Skip to content

Updates 8.19 #2693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module Actions
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the csv format.
# @option arguments [Boolean] :drop_null_columns Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
# @option arguments [Boolean] :allow_partial_results If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. If `false`, the entire query will fail if there are any failures.
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body Use the `query` element to start a query. Use `columnar` to format the answer. (*Required*)
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ module Actions
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [String] :delimiter The character to use between values within a CSV row. Only valid for the csv format.
# @option arguments [Boolean] :drop_null_columns Should entirely null columns be removed from the results? Their name and type will be returning in a new `all_columns` section.
# @option arguments [Boolean] :allow_partial_results If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. If `false`, the entire query will fail if there are any failures.
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body Use the `query` element to start a query. Use `columnar` to format the answer. (*Required*)
#
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch-api/utils/thor/generator/docs_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def docs(name, info)
info['type'] = 'String' if info['type'] == 'enum' # Rename 'enums' to 'strings'
info['type'] = 'Integer' if info['type'] == 'int' # Rename 'int' to 'Integer'
tipo = info['type'] ? info['type'].capitalize : 'String'
description = info['description'] ? info['description'].strip : '[TODO]'
description = info['description'] ? info['description'].strip.gsub("\n", ' ') : '[TODO]'
options = info['options'] ? "(options: #{info['options'].join(', ').strip})" : nil
required = info['required'] ? '(*Required*)' : ''
deprecated = info['deprecated'] ? '*Deprecated*' : ''
Expand Down