From 7bdb6d453dc9b99d7fb1a66ebab8c5b70d56b9f9 Mon Sep 17 00:00:00 2001 From: gitnexbot Date: Wed, 22 Apr 2026 00:02:14 +0000 Subject: [PATCH] Synchronizing API and documentation updates --- docs/NotificationSubject.md | 2 +- docs/RepositoryApi.md | 8 +++---- docs/UserApi.md | 4 ++-- .../gitnex/tea4j/v2/apis/RepositoryApi.java | 4 ++-- .../org/gitnex/tea4j/v2/apis/UserApi.java | 2 +- .../tea4j/v2/models/NotificationSubject.java | 22 +++++++++---------- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/NotificationSubject.md b/docs/NotificationSubject.md index 7a23228..e190908 100644 --- a/docs/NotificationSubject.md +++ b/docs/NotificationSubject.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **latestCommentUrl** | **String** | LatestCommentURL is the API URL for the latest comment | [optional] **state** | [**StateEnum**](#StateEnum) | State indicates the current state of the notification subject open NotifySubjectStateOpen NotifySubjectStateOpen is an open subject closed NotifySubjectStateClosed NotifySubjectStateClosed is a closed subject merged NotifySubjectStateMerged NotifySubjectStateMerged is a merged pull request | [optional] **title** | **String** | Title is the title of the notification subject | [optional] -**type** | [**TypeEnum**](#TypeEnum) | Type indicates the type of the notification subject Issue NotifySubjectIssue NotifySubjectIssue an issue is subject of an notification Pull NotifySubjectPull NotifySubjectPull an pull is subject of an notification Commit NotifySubjectCommit NotifySubjectCommit an commit is subject of an notification Repository NotifySubjectRepository NotifySubjectRepository an repository is subject of an notification | [optional] +**type** | [**TypeEnum**](#TypeEnum) | Type indicates the type of the notification subject Issue NotifySubjectIssue NotifySubjectIssue a issue is subject of an notification Pull NotifySubjectPull NotifySubjectPull a pull is subject of an notification Commit NotifySubjectCommit NotifySubjectCommit a commit is subject of an notification Repository NotifySubjectRepository NotifySubjectRepository a repository is subject of an notification | [optional] **url** | **String** | URL is the API URL for the notification subject | [optional] diff --git a/docs/RepositoryApi.md b/docs/RepositoryApi.md index 671a013..d9eb6a6 100644 --- a/docs/RepositoryApi.md +++ b/docs/RepositoryApi.md @@ -55,7 +55,7 @@ Method | HTTP request | Description [**repoCreateHook**](RepositoryApi.md#repoCreateHook) | **POST** repos/{owner}/{repo}/hooks | Create a hook [**repoCreateKey**](RepositoryApi.md#repoCreateKey) | **POST** repos/{owner}/{repo}/keys | Add a key to a repository [**repoCreatePullRequest**](RepositoryApi.md#repoCreatePullRequest) | **POST** repos/{owner}/{repo}/pulls | Create a pull request -[**repoCreatePullReview**](RepositoryApi.md#repoCreatePullReview) | **POST** repos/{owner}/{repo}/pulls/{index}/reviews | Create a review to an pull request +[**repoCreatePullReview**](RepositoryApi.md#repoCreatePullReview) | **POST** repos/{owner}/{repo}/pulls/{index}/reviews | Create a review to a pull request [**repoCreatePullReviewRequests**](RepositoryApi.md#repoCreatePullReviewRequests) | **POST** repos/{owner}/{repo}/pulls/{index}/requested_reviewers | create review requests for a pull request [**repoCreateRelease**](RepositoryApi.md#repoCreateRelease) | **POST** repos/{owner}/{repo}/releases | Create a release [**repoCreateReleaseAttachment**](RepositoryApi.md#repoCreateReleaseAttachment) | **POST** repos/{owner}/{repo}/releases/{id}/assets | Create a release attachment @@ -177,7 +177,7 @@ Method | HTTP request | Description [**repoSearch**](RepositoryApi.md#repoSearch) | **GET** repos/search | Search for repositories [**repoSigningKey**](RepositoryApi.md#repoSigningKey) | **GET** repos/{owner}/{repo}/signing-key.gpg | Get signing-key.gpg for given repository [**repoSigningKeySSH**](RepositoryApi.md#repoSigningKeySSH) | **GET** repos/{owner}/{repo}/signing-key.pub | Get signing-key.pub for given repository -[**repoSubmitPullReview**](RepositoryApi.md#repoSubmitPullReview) | **POST** repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Submit a pending review to an pull request +[**repoSubmitPullReview**](RepositoryApi.md#repoSubmitPullReview) | **POST** repos/{owner}/{repo}/pulls/{index}/reviews/{id} | Submit a pending review to a pull request [**repoTestHook**](RepositoryApi.md#repoTestHook) | **POST** repos/{owner}/{repo}/hooks/{id}/tests | Test a push webhook [**repoTrackedTimes**](RepositoryApi.md#repoTrackedTimes) | **GET** repos/{owner}/{repo}/times | List a repo's tracked times [**repoTransfer**](RepositoryApi.md#repoTransfer) | **POST** repos/{owner}/{repo}/transfer | Transfer a repo ownership @@ -4883,7 +4883,7 @@ Name | Type | Description | Notes # **repoCreatePullReview** > PullReview repoCreatePullReview(body, owner, repo, index) -Create a review to an pull request +Create a review to a pull request ### Example ```java @@ -16260,7 +16260,7 @@ Name | Type | Description | Notes # **repoSubmitPullReview** > PullReview repoSubmitPullReview(body, owner, repo, index, id) -Submit a pending review to an pull request +Submit a pending review to a pull request ### Example ```java diff --git a/docs/UserApi.md b/docs/UserApi.md index 52770ea..950e62c 100644 --- a/docs/UserApi.md +++ b/docs/UserApi.md @@ -27,7 +27,7 @@ Method | HTTP request | Description [**userCheckUserBlock**](UserApi.md#userCheckUserBlock) | **GET** user/blocks/{username} | Check if a user is blocked by the authenticated user [**userCreateHook**](UserApi.md#userCreateHook) | **POST** user/hooks | Create a hook [**userCreateOAuth2Application**](UserApi.md#userCreateOAuth2Application) | **POST** user/applications/oauth2 | creates a new OAuth2 application -[**userCreateRunnerRegistrationToken**](UserApi.md#userCreateRunnerRegistrationToken) | **POST** user/actions/runners/registration-token | Get an user's actions runner registration token +[**userCreateRunnerRegistrationToken**](UserApi.md#userCreateRunnerRegistrationToken) | **POST** user/actions/runners/registration-token | Get a user's actions runner registration token [**userCreateToken**](UserApi.md#userCreateToken) | **POST** users/{username}/tokens | Create an access token [**userCurrentCheckFollowing**](UserApi.md#userCurrentCheckFollowing) | **GET** user/following/{username} | Check whether a user is followed by the authenticated user [**userCurrentCheckStarring**](UserApi.md#userCurrentCheckStarring) | **GET** user/starred/{owner}/{repo} | Whether the authenticated is starring the repo @@ -2108,7 +2108,7 @@ Name | Type | Description | Notes # **userCreateRunnerRegistrationToken** > Void userCreateRunnerRegistrationToken() -Get an user's actions runner registration token +Get a user's actions runner registration token ### Example ```java diff --git a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java index 34a6fb3..1afc9d9 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java @@ -887,7 +887,7 @@ public interface RepositoryApi { @retrofit2.http.Body CreatePullRequestOption body); /** - * Create a review to an pull request + * Create a review to a pull request * * @param body (required) * @param owner owner of the repo (required) @@ -2841,7 +2841,7 @@ public interface RepositoryApi { @retrofit2.http.Path("owner") String owner, @retrofit2.http.Path("repo") String repo); /** - * Submit a pending review to an pull request + * Submit a pending review to a pull request * * @param body (required) * @param owner owner of the repo (required) diff --git a/src/main/java/org/gitnex/tea4j/v2/apis/UserApi.java b/src/main/java/org/gitnex/tea4j/v2/apis/UserApi.java index 97c1a95..0e5b764 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/UserApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/UserApi.java @@ -297,7 +297,7 @@ public interface UserApi { @retrofit2.http.Body CreateOAuth2ApplicationOptions body); /** - * Get an user's actions runner registration token + * Get a user's actions runner registration token * * @return Call<Void> */ diff --git a/src/main/java/org/gitnex/tea4j/v2/models/NotificationSubject.java b/src/main/java/org/gitnex/tea4j/v2/models/NotificationSubject.java index 27856b1..12f300a 100644 --- a/src/main/java/org/gitnex/tea4j/v2/models/NotificationSubject.java +++ b/src/main/java/org/gitnex/tea4j/v2/models/NotificationSubject.java @@ -95,9 +95,9 @@ public class NotificationSubject implements Serializable { /** * Type indicates the type of the notification subject Issue NotifySubjectIssue NotifySubjectIssue - * an issue is subject of an notification Pull NotifySubjectPull NotifySubjectPull an pull is - * subject of an notification Commit NotifySubjectCommit NotifySubjectCommit an commit is subject - * of an notification Repository NotifySubjectRepository NotifySubjectRepository an repository is + * a issue is subject of an notification Pull NotifySubjectPull NotifySubjectPull a pull is + * subject of an notification Commit NotifySubjectCommit NotifySubjectCommit a commit is subject + * of an notification Repository NotifySubjectRepository NotifySubjectRepository a repository is * subject of an notification */ @JsonAdapter(TypeEnum.Adapter.class) @@ -262,9 +262,9 @@ public class NotificationSubject implements Serializable { /** * Type indicates the type of the notification subject Issue NotifySubjectIssue NotifySubjectIssue - * an issue is subject of an notification Pull NotifySubjectPull NotifySubjectPull an pull is - * subject of an notification Commit NotifySubjectCommit NotifySubjectCommit an commit is subject - * of an notification Repository NotifySubjectRepository NotifySubjectRepository an repository is + * a issue is subject of an notification Pull NotifySubjectPull NotifySubjectPull a pull is + * subject of an notification Commit NotifySubjectCommit NotifySubjectCommit a commit is subject + * of an notification Repository NotifySubjectRepository NotifySubjectRepository a repository is * subject of an notification * * @return type @@ -272,11 +272,11 @@ public class NotificationSubject implements Serializable { @Schema( description = "Type indicates the type of the notification subject Issue NotifySubjectIssue " - + " NotifySubjectIssue an issue is subject of an notification Pull NotifySubjectPull " - + " NotifySubjectPull an pull is subject of an notification Commit" - + " NotifySubjectCommit NotifySubjectCommit an commit is subject of an notification" - + " Repository NotifySubjectRepository NotifySubjectRepository an repository is" - + " subject of an notification") + + " NotifySubjectIssue a issue is subject of an notification Pull NotifySubjectPull " + + " NotifySubjectPull a pull is subject of an notification Commit NotifySubjectCommit" + + " NotifySubjectCommit a commit is subject of an notification Repository" + + " NotifySubjectRepository NotifySubjectRepository a repository is subject of an" + + " notification") public TypeEnum getType() { return type; }