From 55caeecf64813265517f2ca9e45c034caef71b5f Mon Sep 17 00:00:00 2001 From: gitnexbot Date: Fri, 14 Jun 2024 00:08:14 +0000 Subject: [PATCH] Synchronizing API and documentation updates --- docs/RepositoryApi.md | 4 ++-- src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/RepositoryApi.md b/docs/RepositoryApi.md index 62bdd38..56a392c 100644 --- a/docs/RepositoryApi.md +++ b/docs/RepositoryApi.md @@ -13024,7 +13024,7 @@ Boolean template = true; // Boolean | include template repositories this user ha Boolean archived = true; // Boolean | show only archived, non-archived or all repositories (defaults to all) String mode = "mode_example"; // String | type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" Boolean exclusive = true; // Boolean | if `uid` is given, search only for repos that the user owns -String sort = "sort_example"; // String | sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" +String sort = "sort_example"; // String | sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", \"git_size\", \"lfs_size\", \"stars\", \"forks\" and \"id\". Default is \"alpha\" String order = "order_example"; // String | sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. Integer page = 56; // Integer | page number of results to return (1-based) Integer limit = 56; // Integer | page size of results @@ -13054,7 +13054,7 @@ Name | Type | Description | Notes **archived** | **Boolean**| show only archived, non-archived or all repositories (defaults to all) | [optional] **mode** | **String**| type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\" | [optional] **exclusive** | **Boolean**| if `uid` is given, search only for repos that the user owns | [optional] - **sort** | **String**| sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\" | [optional] + **sort** | **String**| sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", \"git_size\", \"lfs_size\", \"stars\", \"forks\" and \"id\". Default is \"alpha\" | [optional] **order** | **String**| sort order, either \"asc\" (ascending) or \"desc\" (descending). Default is \"asc\", ignored if \"sort\" is not specified. | [optional] **page** | **Integer**| page number of results to return (1-based) | [optional] **limit** | **Integer**| page size of results | [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 a6b3ae2..18d4d1c 100644 --- a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java +++ b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java @@ -2238,7 +2238,8 @@ public interface RepositoryApi { * @param exclusive if `uid` is given, search only for repos that the user owns * (optional) * @param sort sort repos by attribute. Supported values are \"alpha\", - * \"created\", \"updated\", \"size\", and \"id\". + * \"created\", \"updated\", \"size\", \"git_size\", + * \"lfs_size\", \"stars\", \"forks\" and \"id\". * Default is \"alpha\" (optional) * @param order sort order, either \"asc\" (ascending) or \"desc\" * (descending). Default is \"asc\", ignored if \"sort\" is not specified.