From 5972d586c1ad3dca8e8d110751ec058e2775916e Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Mon, 23 Oct 2023 14:02:41 +0200 Subject: [PATCH] add head method to project api root --- .../java/com/commercetools/api/client/ProjectApiRoot.java | 5 +++++ .../com/commercetools/api/client/ProjectScopedApiRoot.java | 2 ++ 2 files changed, 7 insertions(+) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectApiRoot.java b/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectApiRoot.java index efa4f64792f..7b0e41fbc11 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectApiRoot.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectApiRoot.java @@ -88,6 +88,11 @@ public ByProjectKeyGet get() { return with().get(); } + @Override + public ByProjectKeyHead head() { + return with().head(); + } + @Override public ByProjectKeyPost post(com.commercetools.api.models.project.ProjectUpdate projectUpdate) { return with().post(projectUpdate); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectScopedApiRoot.java b/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectScopedApiRoot.java index f5e09a079c5..d8ea63bc027 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectScopedApiRoot.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java/com/commercetools/api/client/ProjectScopedApiRoot.java @@ -10,6 +10,8 @@ public interface ProjectScopedApiRoot { ByProjectKeyGet get(); + ByProjectKeyHead head(); + ByProjectKeyPost post(ProjectUpdate projectUpdate); ByProjectKeyCategoriesRequestBuilder categories();