Skip to content

Commit

Permalink
Re-generate client code using latest OpenSearch API specification (20…
Browse files Browse the repository at this point in the history
…25-01-20)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Xtansia authored and github-actions[bot] committed Jan 20, 2025
1 parent 38df971 commit 0f09ca6
Show file tree
Hide file tree
Showing 22 changed files with 12,237 additions and 4,526 deletions.
12,462 changes: 8,661 additions & 3,801 deletions src/ApiGenerator/opensearch-openapi.yaml

Large diffs are not rendered by default.

382 changes: 191 additions & 191 deletions src/OpenSearch.Client/_Generated/Descriptors.Cat.cs

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/OpenSearch.Client/_Generated/Descriptors.Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ public GetComponentTemplateDescriptor Name(Name name) =>
public GetComponentTemplateDescriptor ClusterManagerTimeout(Time clustermanagertimeout) =>
Qs("cluster_manager_timeout", clustermanagertimeout);

/// <summary>If `true`, returns settings in flat format.</summary>
public GetComponentTemplateDescriptor FlatSettings(bool? flatsettings = true) =>
Qs("flat_settings", flatsettings);

/// <summary>If `true`, the request retrieves information from the local node only. If `false`, information is retrieved from the cluster-manager node.</summary>
public GetComponentTemplateDescriptor Local(bool? local = true) => Qs("local", local);

Expand Down
6 changes: 5 additions & 1 deletion src/OpenSearch.Client/_Generated/Descriptors.NoNamespace.cs
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

0 comments on commit 0f09ca6

Please sign in to comment.