[API] Request body was incorrectly marked as not required in several APIs. #2804
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[API] Request body was incorrectly marked as not required in several APIs.
This commit generates the code for commit 62d200f5597fbf3529686f7ae7063d6b0a77f1cb of
elasticsearch-specification
, adding the body requirement in these 68 APIs:clear_scroll
close_point_in_time
cluster.allocation_explain
cluster.reroute
count
explain
field_caps
fleet.search
graph.explore
index_lifecycle_management.move_to_step
index_lifecycle_management.put_lifecycle
indices.analyze
indices.clone
indices.create
indices.put_data_lifecycle
indices.put_data_stream_options
indices.rollover
indices.shrink
indices.split
indices.validate_query
inference.completion
inference.inference
inference.put_ai21
inference.put_alibabacloud
inference.put_amazonbedrock
inference.put_amazonsagemaker
inference.put_anthropic
inference.put_azureaistudio
inference.put_azureopenai
inference.put_cohere
inference.put_contextualai
inference.put_custom
inference.put_deepseek
inference.put_elasticsearch
inference.put_elser
inference.put_googleaistudio
inference.put_googlevertexai
inference.put_hugging_face
inference.put_jinaai
inference.put_llama
inference.put_mistral
inference.put_openai
inference.put_voyageai
inference.put_watsonx
inference.rerank
inference.sparse_embedding
inference.stream_completion
inference.text_embedding
license.post
machine_learning.delete_expired_data
machine_learning.flush_job
machine_learning.get_buckets
machine_learning.get_calendars
machine_learning.get_categories
machine_learning.get_influencers
machine_learning.get_model_snapshots
machine_learning.get_overall_buckets
machine_learning.get_records
machine_learning.revert_model_snapshot
machine_learning.start_datafeed
open_point_in_time
render_search_template
scripts_painless_execute
scroll
search
snapshot_lifecycle_management.put_lifecycle
terms_enum
update_by_query