Skip to content
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

Re-generated client code using latest OpenSearch API specification #839

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
13,450 changes: 9,015 additions & 4,435 deletions src/ApiGenerator/opensearch-openapi.yaml

Large diffs are not rendered by default.

386 changes: 193 additions & 193 deletions src/OpenSearch.Client/_Generated/Descriptors.Cat.cs

Large diffs are not rendered by default.

132 changes: 68 additions & 64 deletions src/OpenSearch.Client/_Generated/Descriptors.Cluster.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public CountDescriptor<TDocument> DefaultOperator(DefaultOperator? defaultoperat
/// <summary>Field to use as default where no field prefix is given in the query string. This parameter can only be used when the `q` query string parameter is specified.</summary>
public CountDescriptor<TDocument> Df(string df) => Qs("df", df);

/// <summary>Type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.</summary>
/// <summary>TODO</summary>
public CountDescriptor<TDocument> ExpandWildcards(ExpandWildcards? expandwildcards) =>
Qs("expand_wildcards", expandwildcards);

Expand Down Expand Up @@ -1840,6 +1840,10 @@ public partial class ReindexOnServerDescriptor
public ReindexOnServerDescriptor RequestsPerSecond(long? requestspersecond) =>
Qs("requests_per_second", requestspersecond);

/// <summary>TODO</summary>
public ReindexOnServerDescriptor RequireAlias(bool? requirealias = true) =>
Qs("require_alias", requirealias);

/// <summary>Specifies how long a consistent view of the index should be maintained for scrolled search.</summary>
public ReindexOnServerDescriptor Scroll(Time scroll) => Qs("scroll", scroll);

Expand Down
Loading
Loading