Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2022-05-12 13:11:06 +00:00
parent fa381f1112
commit 3111bc1b18
2 changed files with 1 additions and 9 deletions
@@ -11,7 +11,7 @@ public interface CustomApi {
Call<List<ContentsResponse>> repoGetContentsList(
@Path("owner") String owner,
@Path("repo") String repo,
@Path("filepath") String filepath,
@Path(value = "filepath", encoded = false) String filepath,
@Query("ref") String ref);
/**
@@ -2,7 +2,6 @@ package org.gitnex.tea4j.v2.apis.custom;
import java.util.List;
import org.gitnex.tea4j.v2.models.AccessToken;
import org.gitnex.tea4j.v2.models.ContentsResponse;
import org.gitnex.tea4j.v2.models.CreateAccessTokenOption;
import org.gitnex.tea4j.v2.models.ServerVersion;
import retrofit2.Call;
@@ -32,11 +31,4 @@ public interface OTPApi {
@Header("X-Gitea-OTP") int otp,
@Path("username") String username,
@Body CreateAccessTokenOption body);
@GET("repos/{owner}/{repo}/contents/{filepath}")
Call<List<ContentsResponse>> repoGetContentsList(
@Path("owner") String owner,
@Path("repo") String repo,
@Path("filepath") String filepath,
@Query("ref") String ref);
}