From d25f5e7e8eb534a990e7feb6af6990d779030ce8 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Mon, 17 Mar 2025 13:47:39 +0500 Subject: [PATCH] Add custom delete dependency endpoint --- .../java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java index aa83abf..05f8419 100644 --- a/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java +++ b/custom/src/main/java/org/gitnex/tea4j/v2/apis/custom/CustomApi.java @@ -115,4 +115,11 @@ public interface CustomApi { @Headers({"Content-Type:application/json"}) @PATCH("user/settings") Call customUpdateUserSettings(@Body UserSettingsOptions userSettingsOptions); + + @Headers({"Content-Type:application/json"}) + @HTTP(method = "DELETE", path = "repos/{owner}/{repo}/issues/{index}/dependencies", hasBody = true) + Call issueRemoveIssueDependencies2(@retrofit2.http.Path("owner") String owner, + @retrofit2.http.Path("repo") String repo, + @retrofit2.http.Path("index") String index, + @retrofit2.http.Body IssueMeta body); }