Synchronizing API and documentation updates

This commit is contained in:
gitnexbot
2026-06-25 00:02:20 +00:00
parent 887e41cb8b
commit 25dd7e882c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -4707,7 +4707,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
String basehead = "basehead_example"; // String | compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs, including branch names that contain slashes.
String basehead = "basehead_example"; // String | compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs (including branch names that contain slashes), optionally with a `^` or `~N` revision suffix.
String output = "output_example"; // String | return the raw comparison as `diff` or `patch` instead of JSON
try {
Compare result = apiInstance.repoCompareDiff(owner, repo, basehead, output);
@@ -4724,7 +4724,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**basehead** | **String**| compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs, including branch names that contain slashes. |
**basehead** | **String**| compare two refs as `base...head` (or `base..head`); refs may be branches, tags, full or short SHAs (including branch names that contain slashes), optionally with a `^` or `~N` revision suffix. |
**output** | **String**| return the raw comparison as `diff` or `patch` instead of JSON | [optional] [enum: diff, patch]
### Return type