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-13)

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 13, 2025
1 parent df06684 commit 2ebd74c
Show file tree
Hide file tree
Showing 22 changed files with 10,343 additions and 4,510 deletions.
11,376 changes: 7,587 additions & 3,789 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
4 changes: 4 additions & 0 deletions src/OpenSearch.Client/_Generated/Descriptors.NoNamespace.cs
Original file line number Diff line number Diff line change
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 2ebd74c

Please sign in to comment.