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
…24-11-25)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Nov 25, 2024
1 parent ca3d488 commit 82f982c
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 341 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
import org.opensearch.client.opensearch._types.RequestBase;
import org.opensearch.client.opensearch._types.Time;
import org.opensearch.client.transport.Endpoint;
import org.opensearch.client.transport.endpoints.BooleanEndpoint;
import org.opensearch.client.transport.endpoints.BooleanResponse;
import org.opensearch.client.transport.endpoints.SimpleEndpoint;
import org.opensearch.client.util.ApiTypeHelper;
import org.opensearch.client.util.CopyableBuilder;
Expand Down Expand Up @@ -314,7 +316,7 @@ public DeleteDanglingIndexRequest build() {
/**
* Endpoint "{@code dangling_indices.delete_dangling_index}".
*/
public static final Endpoint<DeleteDanglingIndexRequest, DeleteDanglingIndexResponse, ErrorResponse> _ENDPOINT = new SimpleEndpoint<>(
public static final Endpoint<DeleteDanglingIndexRequest, BooleanResponse, ErrorResponse> _ENDPOINT = new BooleanEndpoint<>(
// Request method
request -> "DELETE",
// Request path
Expand All @@ -339,9 +341,7 @@ public DeleteDanglingIndexRequest build() {
}
return params;
},
SimpleEndpoint.emptyMap(),
false,
DeleteDanglingIndexResponse._DESERIALIZER
SimpleEndpoint.emptyMap()
);

@Override
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
import org.opensearch.client.opensearch._types.RequestBase;
import org.opensearch.client.opensearch._types.Time;
import org.opensearch.client.transport.Endpoint;
import org.opensearch.client.transport.endpoints.BooleanEndpoint;
import org.opensearch.client.transport.endpoints.BooleanResponse;
import org.opensearch.client.transport.endpoints.SimpleEndpoint;
import org.opensearch.client.util.ApiTypeHelper;
import org.opensearch.client.util.CopyableBuilder;
Expand Down Expand Up @@ -314,7 +316,7 @@ public ImportDanglingIndexRequest build() {
/**
* Endpoint "{@code dangling_indices.import_dangling_index}".
*/
public static final Endpoint<ImportDanglingIndexRequest, ImportDanglingIndexResponse, ErrorResponse> _ENDPOINT = new SimpleEndpoint<>(
public static final Endpoint<ImportDanglingIndexRequest, BooleanResponse, ErrorResponse> _ENDPOINT = new BooleanEndpoint<>(
// Request method
request -> "POST",
// Request path
Expand All @@ -339,9 +341,7 @@ public ImportDanglingIndexRequest build() {
}
return params;
},
SimpleEndpoint.emptyMap(),
false,
ImportDanglingIndexResponse._DESERIALIZER
SimpleEndpoint.emptyMap()
);

@Override
Expand Down

This file was deleted.

Loading

0 comments on commit 82f982c

Please sign in to comment.