diff --git a/docs/GenerateRepoOption.md b/docs/GenerateRepoOption.md index 96b6065..dc0a385 100644 --- a/docs/GenerateRepoOption.md +++ b/docs/GenerateRepoOption.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **gitContent** | **Boolean** | include git content of default branch in template repo | [optional] **gitHooks** | **Boolean** | include git hooks in template repo | [optional] **labels** | **Boolean** | include labels in template repo | [optional] -**name** | **String** | Name of the repository to create | -**owner** | **String** | The organization or person who will own the new repository | +**name** | **String** | | +**owner** | **String** | the organization's name or individual user's name who will own the new repository | **_private** | **Boolean** | Whether the repository is private | [optional] **protectedBranch** | **Boolean** | include protected branches in template repo | [optional] **topics** | **Boolean** | include topics in template repo | [optional] diff --git a/docs/IssueMeta.md b/docs/IssueMeta.md index 5fb8212..c8733bd 100644 --- a/docs/IssueMeta.md +++ b/docs/IssueMeta.md @@ -4,5 +4,5 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **index** | **Long** | | [optional] -**owner** | **String** | | [optional] +**owner** | **String** | owner of the issue's repo | [optional] **repo** | **String** | | [optional] diff --git a/docs/MigrateRepoOptions.md b/docs/MigrateRepoOptions.md index d5d480f..6541332 100644 --- a/docs/MigrateRepoOptions.md +++ b/docs/MigrateRepoOptions.md @@ -21,9 +21,9 @@ Name | Type | Description | Notes **pullRequests** | **Boolean** | | [optional] **releases** | **Boolean** | | [optional] **repoName** | **String** | | -**repoOwner** | **String** | Name of User or Organisation who will own Repo after migration | [optional] +**repoOwner** | **String** | the organization's name or individual user's name who will own the migrated repository | [optional] **service** | [**ServiceEnum**](#ServiceEnum) | | [optional] -**uid** | **Long** | deprecated (only for backwards compatibility) | [optional] +**uid** | **Long** | deprecated (only for backwards compatibility, use repo_owner instead) | [optional] **wiki** | **Boolean** | | [optional] diff --git a/docs/RepositoryApi.md b/docs/RepositoryApi.md index f3cdf49..e437abf 100644 --- a/docs/RepositoryApi.md +++ b/docs/RepositoryApi.md @@ -976,7 +976,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String variablename = "variablename_example"; // String | name of the variable CreateVariableOption body = new CreateVariableOption(); // CreateVariableOption | @@ -993,7 +993,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **variablename** | **String**| name of the variable | **body** | [**CreateVariableOption**](CreateVariableOption.md)| | [optional] @@ -1069,7 +1069,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository Integer run = 56; // Integer | runid of the workflow run try { @@ -1085,7 +1085,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **run** | **Integer**| runid of the workflow run | @@ -1160,7 +1160,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String artifactId = "artifactId_example"; // String | id of the artifact try { @@ -1176,7 +1176,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **artifactId** | **String**| id of the artifact | @@ -1433,7 +1433,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String variablename = "variablename_example"; // String | name of the variable try { @@ -1449,7 +1449,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **variablename** | **String**| name of the variable | @@ -1524,7 +1524,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository Integer jobId = 56; // Integer | id of the job try { @@ -1540,7 +1540,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **jobId** | **Integer**| id of the job | @@ -1615,7 +1615,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String artifactId = "artifactId_example"; // String | id of the artifact try { @@ -1631,7 +1631,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **artifactId** | **String**| id of the artifact | @@ -1706,7 +1706,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String templateOwner = "templateOwner_example"; // String | name of the template repository owner +String templateOwner = "templateOwner_example"; // String | owner of the template repository String templateRepo = "templateRepo_example"; // String | name of the template repository GenerateRepoOption body = new GenerateRepoOption(); // GenerateRepoOption | try { @@ -1722,7 +1722,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **templateOwner** | **String**| name of the template repository owner | + **templateOwner** | **String**| owner of the template repository | **templateRepo** | **String**| name of the template repository | **body** | [**GenerateRepoOption**](GenerateRepoOption.md)| | [optional] @@ -1888,7 +1888,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String artifactId = "artifactId_example"; // String | id of the artifact try { @@ -1904,7 +1904,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **artifactId** | **String**| id of the artifact | @@ -1979,7 +1979,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String name = "name_example"; // String | name of the artifact try { @@ -1995,7 +1995,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **name** | **String**| name of the artifact | [optional] @@ -2070,7 +2070,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository Integer run = 56; // Integer | runid of the workflow run String name = "name_example"; // String | name of the artifact @@ -2087,7 +2087,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **run** | **Integer**| runid of the workflow run | **name** | **String**| name of the artifact | [optional] @@ -2434,7 +2434,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String variablename = "variablename_example"; // String | name of the variable try { @@ -2450,7 +2450,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **variablename** | **String**| name of the variable | @@ -2525,7 +2525,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository Integer page = 56; // Integer | page number of results to return (1-based) Integer limit = 56; // Integer | page size of results @@ -2542,7 +2542,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **page** | **Integer**| page number of results to return (1-based) | [optional] **limit** | **Integer**| page size of results | [optional] @@ -2715,7 +2715,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String jobId = "jobId_example"; // String | id of the job try { @@ -2731,7 +2731,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **jobId** | **String**| id of the job | @@ -2806,7 +2806,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String run = "run_example"; // String | id of the run try { @@ -2822,7 +2822,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **run** | **String**| id of the run | @@ -2897,7 +2897,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String event = "event_example"; // String | workflow event name String branch = "branch_example"; // String | workflow branch @@ -2919,7 +2919,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **event** | **String**| workflow event name | [optional] **branch** | **String**| workflow branch | [optional] @@ -3186,7 +3186,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String status = "status_example"; // String | workflow status (pending, queued, in_progress, failure, success, skipped) Integer page = 56; // Integer | page number of results to return (1-based) @@ -3204,7 +3204,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **status** | **String**| workflow status (pending, queued, in_progress, failure, success, skipped) | [optional] **page** | **Integer**| page number of results to return (1-based) | [optional] @@ -3281,7 +3281,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository Integer run = 56; // Integer | runid of the workflow run String status = "status_example"; // String | workflow status (pending, queued, in_progress, failure, success, skipped) @@ -3300,7 +3300,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **run** | **Integer**| runid of the workflow run | **status** | **String**| workflow status (pending, queued, in_progress, failure, success, skipped) | [optional] @@ -12952,7 +12952,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | owner of the repository +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository Integer page = 56; // Integer | page number of results to return (1-based) Integer limit = 56; // Integer | page size of results @@ -12969,7 +12969,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| owner of the repository | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **page** | **Integer**| page number of results to return (1-based) | [optional] **limit** | **Integer**| page size of results | [optional] @@ -14052,7 +14052,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | Owner of the repo +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | Name of the repo String baseBranch = "baseBranch_example"; // String | Filter by target base branch of the pull request String state = "open"; // String | State of pull request @@ -14075,7 +14075,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| Owner of the repo | + **owner** | **String**| owner of the repo | **repo** | **String**| Name of the repo | **baseBranch** | **String**| Filter by target base branch of the pull request | [optional] **state** | **String**| State of pull request | [optional] [default to open] [enum: open, closed, all] @@ -17503,7 +17503,7 @@ Token.setApiKey("YOUR API KEY"); //Token.setApiKeyPrefix("Token"); RepositoryApi apiInstance = new RepositoryApi(); -String owner = "owner_example"; // String | name of the owner +String owner = "owner_example"; // String | owner of the repo String repo = "repo_example"; // String | name of the repository String variablename = "variablename_example"; // String | name of the variable UpdateVariableOption body = new UpdateVariableOption(); // UpdateVariableOption | @@ -17520,7 +17520,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **owner** | **String**| name of the owner | + **owner** | **String**| owner of the repo | **repo** | **String**| name of the repository | **variablename** | **String**| name of the variable | **body** | [**UpdateVariableOption**](UpdateVariableOption.md)| | [optional] 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 83fddb4..2c11156 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java @@ -222,7 +222,7 @@ public interface RepositoryApi { /** * Create a repo-level variable * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param variablename name of the variable (required) * @param body (optional) @@ -239,7 +239,7 @@ public interface RepositoryApi { /** * Delete a workflow run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param run runid of the workflow run (required) * @return Call<Void> @@ -253,7 +253,7 @@ public interface RepositoryApi { /** * Deletes a specific artifact for a workflow run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param artifactId id of the artifact (required) * @return Call<Void> @@ -295,7 +295,7 @@ public interface RepositoryApi { /** * Delete a repo-level variable * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param variablename name of the variable (required) * @return Call<ActionVariable> @@ -309,7 +309,7 @@ public interface RepositoryApi { /** * Downloads the job logs for a workflow run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param jobId id of the job (required) * @return Call<Void> @@ -323,7 +323,7 @@ public interface RepositoryApi { /** * Downloads a specific artifact for a workflow run redirects to blob url * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param artifactId id of the artifact (required) * @return Call<Void> @@ -337,7 +337,7 @@ public interface RepositoryApi { /** * Create a repository using a template * - * @param templateOwner name of the template repository owner (required) + * @param templateOwner owner of the template repository (required) * @param templateRepo name of the template repository (required) * @param body (optional) * @return Call<Repository> @@ -367,7 +367,7 @@ public interface RepositoryApi { /** * Gets a specific artifact for a workflow run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param artifactId id of the artifact (required) * @return Call<ActionArtifact> @@ -381,7 +381,7 @@ public interface RepositoryApi { /** * Lists all artifacts for a repository * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param name name of the artifact (optional) * @return Call<ActionArtifactsResponse> @@ -395,7 +395,7 @@ public interface RepositoryApi { /** * Lists all artifacts for a repository run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param run runid of the workflow run (required) * @param name name of the artifact (optional) @@ -450,7 +450,7 @@ public interface RepositoryApi { /** * Get a repo-level variable * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param variablename name of the variable (required) * @return Call<ActionVariable> @@ -464,7 +464,7 @@ public interface RepositoryApi { /** * Get repo-level variables list * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param page page number of results to return (1-based) (optional) * @param limit page size of results (optional) @@ -501,7 +501,7 @@ public interface RepositoryApi { /** * Gets a specific workflow job for a workflow run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param jobId id of the job (required) * @return Call<ActionWorkflowJob> @@ -515,7 +515,7 @@ public interface RepositoryApi { /** * Gets a specific workflow run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param run id of the run (required) * @return Call<ActionWorkflowRun> @@ -529,7 +529,7 @@ public interface RepositoryApi { /** * Lists all runs for a repository run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param event workflow event name (optional) * @param branch workflow branch (optional) @@ -588,7 +588,7 @@ public interface RepositoryApi { /** * Lists all jobs for a repository * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param status workflow status (pending, queued, in_progress, failure, success, skipped) * (optional) @@ -607,7 +607,7 @@ public interface RepositoryApi { /** * Lists all jobs for a workflow run * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param run runid of the workflow run (required) * @param status workflow status (pending, queued, in_progress, failure, success, skipped) @@ -2247,7 +2247,7 @@ public interface RepositoryApi { /** * List an repo's actions secrets * - * @param owner owner of the repository (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param page page number of results to return (1-based) (optional) * @param limit page size of results (optional) @@ -2418,7 +2418,7 @@ public interface RepositoryApi { /** * List a repo's pull requests * - * @param owner Owner of the repo (required) + * @param owner owner of the repo (required) * @param repo Name of the repo (required) * @param baseBranch Filter by target base branch of the pull request (optional) * @param state State of pull request (optional, default to open) @@ -3037,7 +3037,7 @@ public interface RepositoryApi { /** * Update a repo-level variable * - * @param owner name of the owner (required) + * @param owner owner of the repo (required) * @param repo name of the repository (required) * @param variablename name of the variable (required) * @param body (optional) diff --git a/src/main/java/org/gitnex/tea4j/v2/models/GenerateRepoOption.java b/src/main/java/org/gitnex/tea4j/v2/models/GenerateRepoOption.java index 97889e8..cc0d47d 100644 --- a/src/main/java/org/gitnex/tea4j/v2/models/GenerateRepoOption.java +++ b/src/main/java/org/gitnex/tea4j/v2/models/GenerateRepoOption.java @@ -17,8 +17,8 @@ import io.swagger.v3.oas.annotations.media.Schema; import java.io.Serializable; import java.util.Objects; -/** GenerateRepoOption options when creating repository using a template */ -@Schema(description = "GenerateRepoOption options when creating repository using a template") +/** GenerateRepoOption options when creating a repository using a template */ +@Schema(description = "GenerateRepoOption options when creating a repository using a template") public class GenerateRepoOption implements Serializable { private static final long serialVersionUID = 1L; @@ -178,11 +178,11 @@ public class GenerateRepoOption implements Serializable { } /** - * Name of the repository to create + * Get name * * @return name */ - @Schema(required = true, description = "Name of the repository to create") + @Schema(required = true, description = "") public String getName() { return name; } @@ -197,13 +197,14 @@ public class GenerateRepoOption implements Serializable { } /** - * The organization or person who will own the new repository + * the organization's name or individual user's name who will own the new repository * * @return owner */ @Schema( required = true, - description = "The organization or person who will own the new repository") + description = + "the organization's name or individual user's name who will own the new repository") public String getOwner() { return owner; } diff --git a/src/main/java/org/gitnex/tea4j/v2/models/IssueMeta.java b/src/main/java/org/gitnex/tea4j/v2/models/IssueMeta.java index a5c7cb8..5b35f29 100644 --- a/src/main/java/org/gitnex/tea4j/v2/models/IssueMeta.java +++ b/src/main/java/org/gitnex/tea4j/v2/models/IssueMeta.java @@ -56,11 +56,11 @@ public class IssueMeta implements Serializable { } /** - * Get owner + * owner of the issue's repo * * @return owner */ - @Schema(description = "") + @Schema(description = "owner of the issue's repo") public String getOwner() { return owner; } diff --git a/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java b/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java index 7b56215..8196cbb 100644 --- a/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java +++ b/src/main/java/org/gitnex/tea4j/v2/models/MigrateRepoOptions.java @@ -498,11 +498,14 @@ public class MigrateRepoOptions implements Serializable { } /** - * Name of User or Organisation who will own Repo after migration + * the organization's name or individual user's name who will own the migrated + * repository * * @return repoOwner */ - @Schema(description = "Name of User or Organisation who will own Repo after migration") + @Schema( + description = + "the organization's name or individual user's name who will own the migrated repository") public String getRepoOwner() { return repoOwner; } @@ -536,11 +539,11 @@ public class MigrateRepoOptions implements Serializable { } /** - * deprecated (only for backwards compatibility) + * deprecated (only for backwards compatibility, use repo_owner instead) * * @return uid */ - @Schema(description = "deprecated (only for backwards compatibility)") + @Schema(description = "deprecated (only for backwards compatibility, use repo_owner instead)") public Long getUid() { return uid; }