mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
Fix import
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package org.gitnex.tea4j.v2.apis.custom;
|
package org.gitnex.tea4j.v2.apis.custom;
|
||||||
|
|
||||||
import org.gitnex.tea4j.v2.models.*;
|
import org.gitnex.tea4j.v2.models.*;
|
||||||
|
import okhttp3.ResponseBody;
|
||||||
import retrofit2.Call;
|
import retrofit2.Call;
|
||||||
import retrofit2.http.*;
|
import retrofit2.http.*;
|
||||||
|
|
||||||
@@ -107,7 +108,7 @@ public interface CustomApi {
|
|||||||
* @param filepath filepath of the file to get (required)
|
* @param filepath filepath of the file to get (required)
|
||||||
* @param ref The name of the commit/branch/tag. Default the repository’s default branch (usually
|
* @param ref The name of the commit/branch/tag. Default the repository’s default branch (usually
|
||||||
* master) (optional)
|
* master) (optional)
|
||||||
* @return Call<Void>;
|
* @return Call<ResponseBody>;
|
||||||
*/
|
*/
|
||||||
@GET("repos/{owner}/{repo}/raw/{filepath}")
|
@GET("repos/{owner}/{repo}/raw/{filepath}")
|
||||||
Call<ResponseBody> repoGetRawFile(
|
Call<ResponseBody> repoGetRawFile(
|
||||||
@@ -124,7 +125,7 @@ public interface CustomApi {
|
|||||||
* @param filepath filepath of the file to get (required)
|
* @param filepath filepath of the file to get (required)
|
||||||
* @param ref The name of the commit/branch/tag. Default the repository’s default branch (usually
|
* @param ref The name of the commit/branch/tag. Default the repository’s default branch (usually
|
||||||
* master) (optional)
|
* master) (optional)
|
||||||
* @return Call<Void>;
|
* @return Call<ResponseBody>;
|
||||||
*/
|
*/
|
||||||
@GET("repos/{owner}/{repo}/media/{filepath}")
|
@GET("repos/{owner}/{repo}/media/{filepath}")
|
||||||
Call<ResponseBody> repoGetRawFileOrLFS(
|
Call<ResponseBody> repoGetRawFileOrLFS(
|
||||||
|
|||||||
Reference in New Issue
Block a user