diff --git a/docs/RepositoryApi.md b/docs/RepositoryApi.md
index d3f6888..38d4a44 100644
--- a/docs/RepositoryApi.md
+++ b/docs/RepositoryApi.md
@@ -8498,7 +8498,7 @@ Name | Type | Description | Notes
# **repoGetSingleCommit**
-> Commit repoGetSingleCommit(owner, repo, sha)
+> Commit repoGetSingleCommit(owner, repo, sha, stat, verification, files)
Get a single commit from a repository
@@ -8557,8 +8557,11 @@ RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
String sha = "sha_example"; // String | a git ref or commit sha
+Boolean stat = true; // Boolean | include diff stats for every commit (disable for speedup, default 'true')
+Boolean verification = true; // Boolean | include verification for every commit (disable for speedup, default 'true')
+Boolean files = true; // Boolean | include a list of affected files for every commit (disable for speedup, default 'true')
try {
- Commit result = apiInstance.repoGetSingleCommit(owner, repo, sha);
+ Commit result = apiInstance.repoGetSingleCommit(owner, repo, sha, stat, verification, files);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepositoryApi#repoGetSingleCommit");
@@ -8573,6 +8576,9 @@ Name | Type | Description | Notes
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**sha** | **String**| a git ref or commit sha |
+ **stat** | **Boolean**| include diff stats for every commit (disable for speedup, default 'true') | [optional]
+ **verification** | **Boolean**| include verification for every commit (disable for speedup, default 'true') | [optional]
+ **files** | **Boolean**| include a list of affected files for every commit (disable for speedup, default 'true') | [optional]
### Return type
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 c112860..c1bb81b 100644
--- a/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java
+++ b/src/main/java/org/gitnex/tea4j/v2/apis/RepositoryApi.java
@@ -1465,13 +1465,22 @@ public interface RepositoryApi {
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param sha a git ref or commit sha (required)
+ * @param stat include diff stats for every commit (disable for speedup, default 'true')
+ * (optional)
+ * @param verification include verification for every commit (disable for speedup, default
+ * 'true') (optional)
+ * @param files include a list of affected files for every commit (disable for speedup, default
+ * 'true') (optional)
* @return Call<Commit>
*/
@GET("repos/{owner}/{repo}/git/commits/{sha}")
Call repoGetSingleCommit(
@retrofit2.http.Path("owner") String owner,
@retrofit2.http.Path("repo") String repo,
- @retrofit2.http.Path("sha") String sha);
+ @retrofit2.http.Path("sha") String sha,
+ @retrofit2.http.Query("stat") Boolean stat,
+ @retrofit2.http.Query("verification") Boolean verification,
+ @retrofit2.http.Query("files") Boolean files);
/**
* Get the tag of a repository by tag name