Skip to content

Commit 2763848

Browse files
authored
Merge pull request #1091 from php-api-clients/GitHubEnterprise-3.10/from-1.1.4-93853d65dd4a5c22ecd17ac37aca5790-from-1.1.4-93853d65dd4a5c22ecd17ac37aca5790
2 parents 339a5cf + 782e9a1 commit 2763848

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

clients/GitHubEnterprise-3.10/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": "2a6efce13b37ff3271e66169d3196cc2",
2+
"specHash": "93853d65dd4a5c22ecd17ac37aca5790",
33
"generatedFiles": {
44
"files": [
55
{
@@ -2328,7 +2328,7 @@
23282328
},
23292329
{
23302330
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Schema\/WebhookPush.php",
2331-
"hash": "171e36009f5289b3bc1a8f020c257a2c"
2331+
"hash": "03aa5b1ee86b34033082f72dfe60e391"
23322332
},
23332333
{
23342334
"name": ".\/clients\/GitHubEnterprise-3.10\/etc\/..\/\/src\/\/Schema\/WebhookRegistryPackagePublished.php",

clients/GitHubEnterprise-3.10/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.10/current.spec.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25164,7 +25164,7 @@ paths:
2516425164
get:
2516525165
summary: Compare two commits
2516625166
description: |-
25167-
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)."
25167+
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)."
2516825168

2516925169
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.
2517025170

@@ -184934,9 +184934,8 @@ components:
184934184934
description: An array of commit objects describing the pushed commits. (Pushed
184935184935
commits are all commits that are included in the `compare` between the
184936184936
`before` commit and the `after` commit.) The array includes a maximum
184937-
of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/[email protected]/rest/commits)
184938-
to fetch additional commits. This limit is applied to timeline events
184939-
only and isn't applied to webhook deliveries.
184937+
of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/[email protected]/rest/commits)
184938+
to fetch additional commits.
184940184939
type: array
184941184940
items:
184942184941
title: Commit

0 commit comments

Comments
 (0)