Fix enconding

This commit is contained in:
qwerty287
2022-07-20 14:23:34 +02:00
parent 2206554394
commit 168c8890bf
@@ -22,7 +22,7 @@ public interface CustomApi {
* @param repo name of the repo (required)
* @param id id of the comment to edit (required)
* @param body (optional)
* @return Call<Void>
* @return Call<Void>;
*/
@Headers({"Content-Type:application/json"})
@HTTP(
@@ -42,7 +42,7 @@ public interface CustomApi {
* @param repo name of the repo (required)
* @param index index of the issue (required)
* @param body (optional)
* @return Call&lt;Void&gt;
* @return Call<Void>;
*/
@Headers({"Content-Type:application/json"})
@HTTP(method = "DELETE", path = "repos/{owner}/{repo}/issues/{index}/reactions", hasBody = true)
@@ -59,7 +59,7 @@ public interface CustomApi {
* @param repo name of the repo (required)
* @param filepath path of the file to delete (required)
* @param body (required)
* @return Call&lt;FileDeleteResponse&gt;
* @return Call<FileDeleteResponse>;
*/
@Headers({"Content-Type:application/json"})
@HTTP(method = "DELETE", path = "repos/{owner}/{repo}/contents/{filepath}", hasBody = true)
@@ -76,7 +76,7 @@ public interface CustomApi {
* @param repo name of the repo (required)
* @param index index of the pull request (required)
* @param body (required)
* @return Call&lt;Void&gt;
* @return Call<Void>;
*/
@Headers({"Content-Type:application/json"})
@HTTP(
@@ -93,7 +93,7 @@ public interface CustomApi {
* Delete email addresses
*
* @param body (optional)
* @return Call&lt;Void&gt;
* @return Call<Void>;
*/
@Headers({"Content-Type:application/json"})
@HTTP(method = "DELETE", path = "user/emails", hasBody = true)
@@ -107,7 +107,7 @@ public interface CustomApi {
* @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<Void>;
*/
@GET("repos/{owner}/{repo}/raw/{filepath}")
Call<ResponseBody> repoGetRawFile(
@@ -124,7 +124,7 @@ public interface CustomApi {
* @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<Void>;
*/
@GET("repos/{owner}/{repo}/media/{filepath}")
Call<ResponseBody> repoGetRawFileOrLFS(