-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update REST API json specifications to 6.2 #3268
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
Conversation
Also includes running the API Generator tool to create the C# code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments re: binary breaking changes.
In my opinion, values on the public REST API spec, including query string parameters, should not be removed in a minor version. This includes query string parameters because of the validation applied when Elasticsearch receives a value it does not know about.
@@ -6537,8 +6563,6 @@ public partial class ValidateQueryRequest<T> : PlainRequestBase<ValidateQueryReq | |||
public bool? AllowNoIndices { get => Q<bool?>("allow_no_indices"); set => Q("allow_no_indices", value); } | |||
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary> | |||
public ExpandWildcards? ExpandWildcards { get => Q<ExpandWildcards?>("expand_wildcards"); set => Q("expand_wildcards", value); } | |||
///<summary>TODO: ?</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be patched back in, in order to not break binary compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -6588,8 +6612,6 @@ public partial class ValidateQueryRequest : PlainRequestBase<ValidateQueryReques | |||
public bool? AllowNoIndices { get => Q<bool?>("allow_no_indices"); set => Q("allow_no_indices", value); } | |||
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary> | |||
public ExpandWildcards? ExpandWildcards { get => Q<ExpandWildcards?>("expand_wildcards"); set => Q("expand_wildcards", value); } | |||
///<summary>TODO: ?</summary> | |||
public string OperationThreading { get => Q<string>("operation_threading"); set => Q("operation_threading", value); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be patched back in, in order to not break binary compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -5438,12 +5466,10 @@ public partial class SegmentsRequest : PlainRequestBase<SegmentsRequestParameter | |||
public bool? AllowNoIndices { get => Q<bool?>("allow_no_indices"); set => Q("allow_no_indices", value); } | |||
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary> | |||
public ExpandWildcards? ExpandWildcards { get => Q<ExpandWildcards?>("expand_wildcards"); set => Q("expand_wildcards", value); } | |||
///<summary>TODO: ?</summary> | |||
public string OperationThreading { get => Q<string>("operation_threading"); set => Q("operation_threading", value); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be patched back in, in order to not break binary compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -3825,10 +3823,8 @@ public partial class IndicesShardStoresRequest : PlainRequestBase<IndicesShardSt | |||
public bool? AllowNoIndices { get => Q<bool?>("allow_no_indices"); set => Q("allow_no_indices", value); } | |||
///<summary>Whether to expand wildcard expression to concrete indices that are open, closed or both.</summary> | |||
public ExpandWildcards? ExpandWildcards { get => Q<ExpandWildcards?>("expand_wildcards"); set => Q("expand_wildcards", value); } | |||
///<summary>TODO: ?</summary> | |||
public string OperationThreading { get => Q<string>("operation_threading"); set => Q("operation_threading", value); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be patched back in, in order to not break binary compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
///<summary>TODO: ?</summary> | ||
public string OperationThreading { get => Q<string>("operation_threading"); set => Q("operation_threading", value); } | ||
///<summary>Specify whether the request should block until the merge process is finished (default: true)</summary> | ||
public bool? WaitForMerge { get => Q<bool?>("wait_for_merge"); set => Q("wait_for_merge", value); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be patched back in, in order to not break binary compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -2701,12 +2703,8 @@ public partial class ForceMergeRequest : PlainRequestBase<ForceMergeRequestParam | |||
public long? MaxNumSegments { get => Q<long?>("max_num_segments"); set => Q("max_num_segments", value); } | |||
///<summary>Specify whether the operation should only expunge deleted documents</summary> | |||
public bool? OnlyExpungeDeletes { get => Q<bool?>("only_expunge_deletes"); set => Q("only_expunge_deletes", value); } | |||
///<summary>TODO: ?</summary> | |||
public string OperationThreading { get => Q<string>("operation_threading"); set => Q("operation_threading", value); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be patched back in, in order to not break binary compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.