Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2024-07-26 00:06:24 +00:00
parent e47509a73f
commit 28a4e010e2
2 changed files with 13 additions and 12 deletions
@@ -1,5 +1,6 @@
package org.gitnex.tea4j.v2.apis;
import java.io.File;
import java.util.Date;
import java.util.List;
import java.util.Map;
@@ -1618,10 +1619,10 @@ public interface RepositoryApi {
* @param filepath filepath of the file to get (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch (usually
* master) (optional)
* @return Call<Void>
* @return Call<File>
*/
@GET("repos/{owner}/{repo}/raw/{filepath}")
Call<Void> repoGetRawFile(
Call<File> repoGetRawFile(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("filepath") String filepath,
@@ -1635,10 +1636,10 @@ public interface RepositoryApi {
* @param filepath filepath of the file to get (required)
* @param ref The name of the commit/branch/tag. Default the repositorys default branch (usually
* master) (optional)
* @return Call&lt;Void&gt;
* @return Call&lt;File&gt;
*/
@GET("repos/{owner}/{repo}/media/{filepath}")
Call<Void> repoGetRawFileOrLFS(
Call<File> repoGetRawFileOrLFS(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("filepath") String filepath,