From a7166faca7de163ab4ac32cb8fcdec22c748c07b Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Fri, 22 Mar 2024 14:18:29 -0400 Subject: [PATCH] Address code review comments Signed-off-by: Andriy Redko --- .../extensions/rest/RestSendToExtensionAction.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java b/server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java index 33bf3fbbf9a68..f4503ce55e6bc 100644 --- a/server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java +++ b/server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java @@ -12,7 +12,7 @@ import org.apache.logging.log4j.Logger; import org.opensearch.action.ActionModule.DynamicActionRegistry; import org.opensearch.client.node.NodeClient; -import org.opensearch.common.annotation.PublicApi; +import org.opensearch.common.annotation.ExperimentalApi; import org.opensearch.core.common.bytes.BytesReference; import org.opensearch.core.common.io.stream.StreamInput; import org.opensearch.core.rest.RestStatus; @@ -54,9 +54,9 @@ /** * An action that forwards REST requests to an extension * - * @opensearch.api + * @opensearch.experimental */ -@PublicApi(since = "2.7.0") +@ExperimentalApi public class RestSendToExtensionAction extends BaseRestHandler { private static final String SEND_TO_EXTENSION_ACTION = "send_to_extension_action";