Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2026-02-02 01:12:07 +00:00
parent 4c4d999a2d
commit c0779aae3e
6 changed files with 222 additions and 8 deletions
@@ -2752,6 +2752,20 @@ public interface RepositoryApi {
@retrofit2.http.Path("branch") String branch,
@retrofit2.http.Body RenameBranchRepoOption body);
/**
* Resolve a pull request review comment
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param id id of the review comment (required)
* @return Call<Void>
*/
@POST("repos/{owner}/{repo}/pulls/comments/{id}/resolve")
Call<Void> repoResolvePullReviewComment(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("id") Long id);
/**
* Search for repositories
*
@@ -2918,6 +2932,20 @@ public interface RepositoryApi {
@retrofit2.http.Path("index") Long index,
@retrofit2.http.Path("id") Long id);
/**
* Unresolve a pull request review comment
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param id id of the review comment (required)
* @return Call&lt;Void&gt;
*/
@POST("repos/{owner}/{repo}/pulls/comments/{id}/unresolve")
Call<Void> repoUnresolvePullReviewComment(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
@retrofit2.http.Path("id") Long id);
/**
* Update avatar
*
@@ -19,8 +19,8 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/** CreatePullReviewOptions are options to create a pull review */
@Schema(description = "CreatePullReviewOptions are options to create a pull review")
/** CreatePullReviewOptions are options to create a pull request review */
@Schema(description = "CreatePullReviewOptions are options to create a pull request review")
public class CreatePullReviewOptions implements Serializable {
private static final long serialVersionUID = 1L;
@@ -17,8 +17,8 @@ import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Objects;
/** DismissPullReviewOptions are options to dismiss a pull review */
@Schema(description = "DismissPullReviewOptions are options to dismiss a pull review")
/** DismissPullReviewOptions are options to dismiss a pull request review */
@Schema(description = "DismissPullReviewOptions are options to dismiss a pull request review")
public class DismissPullReviewOptions implements Serializable {
private static final long serialVersionUID = 1L;
@@ -19,8 +19,10 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/** PullReviewRequestOptions are options to add or remove pull review requests */
@Schema(description = "PullReviewRequestOptions are options to add or remove pull review requests")
/** PullReviewRequestOptions are options to add or remove pull request review requests */
@Schema(
description =
"PullReviewRequestOptions are options to add or remove pull request review requests")
public class PullReviewRequestOptions implements Serializable {
private static final long serialVersionUID = 1L;
@@ -17,8 +17,8 @@ import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Objects;
/** SubmitPullReviewOptions are options to submit a pending pull review */
@Schema(description = "SubmitPullReviewOptions are options to submit a pending pull review")
/** SubmitPullReviewOptions are options to submit a pending pull request review */
@Schema(description = "SubmitPullReviewOptions are options to submit a pending pull request review")
public class SubmitPullReviewOptions implements Serializable {
private static final long serialVersionUID = 1L;