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 #1324

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
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
Loading