Skip to content

Commit 767b784

Browse files
authored
Merge pull request #1095 from php-api-clients/GitHubEnterprise-3.9/from-1.1.4-3d7efd00cd91e95f942be168f47f2951-from-1.1.4-3d7efd00cd91e95f942be168f47f2951
2 parents 5fd9058 + 2e6aeca commit 767b784

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

clients/GitHubEnterprise-3.9/etc/openapi-client-generator.state

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "3c3d71cb8f98e214cff5331c1497c0be",
2+
"specHash": "3d7efd00cd91e95f942be168f47f2951",
33
"generatedFiles": {
44
"files": [
55
{
@@ -2188,7 +2188,7 @@
21882188
},
21892189
{
21902190
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Schema\/WebhookPush.php",
2191-
"hash": "e98932bf92b41aa77707c8eb9706abf2"
2191+
"hash": "6dec90f4d294b344b327d9d686371683"
21922192
},
21932193
{
21942194
"name": ".\/clients\/GitHubEnterprise-3.9\/etc\/..\/\/src\/\/Schema\/WebhookRegistryPackagePublished.php",

clients/GitHubEnterprise-3.9/src/Schema/WebhookPush.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
}
163163
}
164164
},
165-
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https:\\/\\/docs.github.com\\/[email protected]\\/rest\\/commits) to fetch additional commits. This limit is applied to timeline events only and isn\'t applied to webhook deliveries."
165+
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https:\\/\\/docs.github.com\\/[email protected]\\/rest\\/commits) to fetch additional commits."
166166
},
167167
"compare": {
168168
"type": "string",
@@ -1634,7 +1634,7 @@
16341634
/**
16351635
* after: The SHA of the most recent commit on `ref` after the push.
16361636
* before: The SHA of the most recent commit on `ref` before the push.
1637-
* commits: An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/[email protected]/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.
1637+
* commits: An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/[email protected]/rest/commits) to fetch additional commits.
16381638
* compare: URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit.
16391639
* created: Whether this push created the `ref`.
16401640
* deleted: Whether this push deleted the `ref`.

etc/specs/GitHubEnterprise-3.9/current.spec.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24271,7 +24271,7 @@ paths:
2427124271
get:
2427224272
summary: Compare two commits
2427324273
description: |-
24274-
Compares two commits against one another. You can compare branches in the same repository, or you can compare branches that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/[email protected]/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
24274+
Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/[email protected]/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
2427524275

2427624276
This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.
2427724277

@@ -182759,9 +182759,8 @@ components:
182759182759
description: An array of commit objects describing the pushed commits. (Pushed
182760182760
commits are all commits that are included in the `compare` between the
182761182761
`before` commit and the `after` commit.) The array includes a maximum
182762-
of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/[email protected]/rest/commits)
182763-
to fetch additional commits. This limit is applied to timeline events
182764-
only and isn't applied to webhook deliveries.
182762+
of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/[email protected]/rest/commits)
182763+
to fetch additional commits.
182765182764
type: array
182766182765
items:
182767182766
title: Commit

0 commit comments

Comments
 (0)