Skip to content

Commit 9828d5b

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHubEnterprise-3.13] Update to 1.1.4-8985016ac4b27cc23057fb31dee10264 from 1.1.4-446a3cd1fdbd8dda94d848b89bd8f6e2
Detected Schema changes: ``` └─┬Paths ├─┬/enterprises/{enterprise}/dependabot/alerts │ └─┬GET │ └─┬Parameters │ ├──[🔀] description (214872:20) │ └─┬Schema │ └──[➕] enum (214882:11) ├─┬/repos/{owner}/{repo}/dependabot/alerts │ └─┬GET │ ├──[➕] parameters (214885:13)❌ │ ├──[➕] parameters (27608:15)❌ │ ├──[➕] parameters (214609:13)❌ │ ├──[➕] parameters (214618:13)❌ │ ├──[➕] parameters (27600:15)❌ │ ├──[➕] parameters (214898:13)❌ │ └─┬Parameters │ ├──[🔀] description (214872:20) │ └─┬Schema │ └──[➕] enum (214882:11) └─┬/orgs/{org}/dependabot/alerts └─┬GET └─┬Parameters ├──[🔀] description (214872:20) └─┬Schema └──[➕] enum (214882:11) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 12 | 6 | Date: 01/21/25 | Commit: New: etc/specs/GitHubEnterprise-3.13/previous.spec.yaml, Original: etc/specs/GitHubEnterprise-3.13/current.spec.yaml - ❌ **BREAKING Changes**: _6_ out of _12_ - **Modifications**: _3_ - **Additions**: _9_ - **Breaking Additions**: _6_ ERROR: breaking changes discovered
1 parent 4f1f193 commit 9828d5b

23 files changed

+64
-1001
lines changed

clients/GitHubEnterprise-3.13/README.md

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -15622,14 +15622,8 @@ $client->call('GET /repos/{owner}/{repo}/dependabot/alerts', [
1562215622
'package' => 'generated',
1562315623
'manifest' => 'generated',
1562415624
'scope' => 'generated',
15625-
'before' => 'generated',
15626-
'after' => 'generated',
15627-
'last' => 4,
1562815625
'sort' => 'generated',
1562915626
'direction' => 'generated',
15630-
'page' => 1,
15631-
'per_page' => 8,
15632-
'first' => 5,
1563315627
]);
1563415628
```
1563515629

@@ -15643,64 +15637,8 @@ $client->operations()->dependabot()->listAlertsForRepo( owner: 'generated
1564315637
package: 'generated',
1564415638
manifest: 'generated',
1564515639
scope: 'generated',
15646-
before: 'generated',
15647-
after: 'generated',
15648-
last: 4,
15649-
sort: 'generated',
15650-
direction: 'generated',
15651-
page: 1,
15652-
per_page: 8,
15653-
first: 5,
15654-
);
15655-
```
15656-
15657-
You can find more about this operation over at the [API method documentation](https://docs.github.com/[email protected]/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository).
15658-
15659-
15660-
### dependabot/list-alerts-for-repo
15661-
15662-
List Dependabot alerts for a repository
15663-
15664-
Using the `call` method:
15665-
```php
15666-
$client->call('LIST /repos/{owner}/{repo}/dependabot/alerts', [
15667-
'owner' => 'generated',
15668-
'repo' => 'generated',
15669-
'state' => 'generated',
15670-
'severity' => 'generated',
15671-
'ecosystem' => 'generated',
15672-
'package' => 'generated',
15673-
'manifest' => 'generated',
15674-
'scope' => 'generated',
15675-
'before' => 'generated',
15676-
'after' => 'generated',
15677-
'last' => 4,
15678-
'sort' => 'generated',
15679-
'direction' => 'generated',
15680-
'page' => 1,
15681-
'per_page' => 8,
15682-
'first' => 5,
15683-
]);
15684-
```
15685-
15686-
Operations method:
15687-
```php
15688-
$client->operations()->dependabot()->listAlertsForRepoListing( owner: 'generated',
15689-
repo: 'generated',
15690-
state: 'generated',
15691-
severity: 'generated',
15692-
ecosystem: 'generated',
15693-
package: 'generated',
15694-
manifest: 'generated',
15695-
scope: 'generated',
15696-
before: 'generated',
15697-
after: 'generated',
15698-
last: 4,
1569915640
sort: 'generated',
1570015641
direction: 'generated',
15701-
page: 1,
15702-
per_page: 8,
15703-
first: 5,
1570415642
);
1570515643
```
1570615644

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

Lines changed: 17 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "446a3cd1fdbd8dda94d848b89bd8f6e2",
2+
"specHash": "8985016ac4b27cc23057fb31dee10264",
33
"generatedFiles": {
44
"files": [
55
{
@@ -1592,11 +1592,11 @@
15921592
},
15931593
{
15941594
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterprise.php",
1595-
"hash": "2de3effb482080214a6d7ff3eeac0ab1"
1595+
"hash": "4ba8183f95b8c6643d8eb1d453c6348d"
15961596
},
15971597
{
15981598
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForEnterprise.php",
1599-
"hash": "1f68b2e0be822f1fe631c2ecbf33af29"
1599+
"hash": "f4d6f6268171e5bdac4c36bd524d933e"
16001600
},
16011601
{
16021602
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForEnterpriseTest.php",
@@ -3260,11 +3260,11 @@
32603260
},
32613261
{
32623262
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrg.php",
3263-
"hash": "da393861d1742ff760808cebd5899d7c"
3263+
"hash": "1f0c1a2a5a3c2ec3e34cc6656e25ff92"
32643264
},
32653265
{
32663266
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForOrg.php",
3267-
"hash": "eea752ff872e32ab676814f4711443ce"
3267+
"hash": "e19123d6c0aeecf27c8c9359cfa37d73"
32683268
},
32693269
{
32703270
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForOrgTest.php",
@@ -7504,27 +7504,15 @@
75047504
},
75057505
{
75067506
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepo.php",
7507-
"hash": "fa6d1539a600ead93d4a30a6ac794d34"
7507+
"hash": "e2a31798660ee93f5f79a31018642707"
75087508
},
75097509
{
75107510
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepo.php",
7511-
"hash": "8e6d6c30b30952cbf0c0a1812a9a20af"
7511+
"hash": "e422d820f3a178650a8a21a39af7414f"
75127512
},
75137513
{
75147514
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoTest.php",
7515-
"hash": "28a8f67065b11264db95c4e0a47f27dd"
7516-
},
7517-
{
7518-
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListing.php",
7519-
"hash": "f6766a3eb85a4d529ded9d58f6f99787"
7520-
},
7521-
{
7522-
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Dependabot\/ListAlertsForRepoListing.php",
7523-
"hash": "ef770952171600f29eb947006685fe61"
7524-
},
7525-
{
7526-
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Dependabot\/ListAlertsForRepoListingTest.php",
7527-
"hash": "03792a745ea0ae57a30c9e3f47679d23"
7515+
"hash": "32489b65c195edd0db74efe7a45fcce6"
75287516
},
75297517
{
75307518
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operation\/Dependabot\/GetAlert.php",
@@ -26516,7 +26504,7 @@
2651626504
},
2651726505
{
2651826506
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Dependabot.php",
26519-
"hash": "ca26062c508849ffeaf3e6115bd56cfd"
26507+
"hash": "111042e8c75e48fe50f41cf5f1bf5f32"
2652026508
},
2652126509
{
2652226510
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Checks.php",
@@ -26622,10 +26610,6 @@
2662226610
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Pulls.php",
2662326611
"hash": "9dcbc6375bebce019b66df58dadb40e6"
2662426612
},
26625-
{
26626-
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Dependabot.php",
26627-
"hash": "a37ef0f86dd26e1735a1af6e096218d8"
26628-
},
2662926613
{
2663026614
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Reactions.php",
2663126615
"hash": "ac214dcaa2451d757ace609e4b7a793a"
@@ -26964,15 +26948,15 @@
2696426948
},
2696526949
{
2696626950
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
26967-
"hash": "fb8d914498dc8ddad6eaa4249ed98e34"
26951+
"hash": "0fad69374da0792d6207a7cc43f16ccb"
2696826952
},
2696926953
{
2697026954
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
2697126955
"hash": "d1905900da5b62fabb0b324a38bb7279"
2697226956
},
2697326957
{
2697426958
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php",
26975-
"hash": "944582af066e6fc6c831c4e7b872a838"
26959+
"hash": "6c162baaded82b4c6734e822b560ac43"
2697626960
},
2697726961
{
2697826962
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
@@ -27008,7 +26992,7 @@
2700826992
},
2700926993
{
2701026994
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php",
27011-
"hash": "79161555a3f660bbecc50e90624d8d81"
26995+
"hash": "72b914055311790d0e492e242e7d304e"
2701226996
},
2701326997
{
2701426998
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Seven.php",
@@ -27172,15 +27156,15 @@
2717227156
},
2717327157
{
2717427158
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Routers.php",
27175-
"hash": "fc876efb882b7740aed6d6a4452fd80d"
27159+
"hash": "e00ad38cc31869ef80a854e48dc8e9ee"
2717627160
},
2717727161
{
2717827162
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27179-
"hash": "39e16973e5fbac0a6d07c23b1696e407"
27163+
"hash": "b5ddf5ed50643698add8a2c384528e11"
2718027164
},
2718127165
{
2718227166
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27183-
"hash": "183651a423a8ed3f5bc2b06d21115acd"
27167+
"hash": "dbaa0cc35ad0b17f0e6f5565b7c7a283"
2718427168
},
2718527169
{
2718627170
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27232,7 +27216,7 @@
2723227216
},
2723327217
{
2723427218
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Dependabot.php",
27235-
"hash": "d15ffa2ad0b303fb3a966cc261bb7493"
27219+
"hash": "08bd8e160023bd2237dee15bd8567253"
2723627220
},
2723727221
{
2723827222
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Billing.php",
@@ -27328,7 +27312,7 @@
2732827312
},
2732927313
{
2733027314
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operators.php",
27331-
"hash": "99cd99186e1bb47a2ece05d4292d02ce"
27315+
"hash": "d8b8faf8f4e158031ed0ed0680da278f"
2733227316
},
2733327317
{
2733427318
"name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operations.php",

clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForEnterprise.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ final class ListAlertsForEnterprise
5454
private int $last;
5555
/**The property by which to sort the results.
5656
`created` means when the alert was created.
57-
`updated` means when the alert's state last changed.
58-
`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/
57+
`updated` means when the alert's state last changed. **/
5958
private string $sort;
6059
/**The direction to sort the results by. **/
6160
private string $direction;

clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForOrg.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ final class ListAlertsForOrg
5454
private int $last;
5555
/**The property by which to sort the results.
5656
`created` means when the alert was created.
57-
`updated` means when the alert's state last changed.
58-
`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/
57+
`updated` means when the alert's state last changed. **/
5958
private string $sort;
6059
/**The direction to sort the results by. **/
6160
private string $direction;

clients/GitHubEnterprise-3.13/src/Internal/Operation/Dependabot/ListAlertsForRepo.php

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,14 @@ final class ListAlertsForRepo
4848
private string $manifest;
4949
/**The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. **/
5050
private string $scope;
51-
/**A cursor, as given in the [Link header](https://docs.github.com/[email protected]/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/[email protected]/rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
52-
private string $before;
53-
/**A cursor, as given in the [Link header](https://docs.github.com/[email protected]/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/[email protected]/rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
54-
private string $after;
55-
/****Deprecated**. The number of results per page (max 100), starting from the last matching result.
56-
This parameter must not be used in combination with `first`.
57-
Instead, use `per_page` in combination with `before` to fetch the last page of results. **/
58-
private int $last;
5951
/**The property by which to sort the results.
6052
`created` means when the alert was created.
61-
`updated` means when the alert's state last changed.
62-
`epss_percentage` sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage. **/
53+
`updated` means when the alert's state last changed. **/
6354
private string $sort;
6455
/**The direction to sort the results by. **/
6556
private string $direction;
66-
/****Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. **/
67-
private int $page;
68-
/**The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/[email protected]/rest/using-the-rest-api/using-pagination-in-the-rest-api)." **/
69-
private int $perPage;
70-
/****Deprecated**. The number of results per page (max 100), starting from the first matching result.
71-
This parameter must not be used in combination with `last`.
72-
Instead, use `per_page` in combination with `after` to fetch the first page of results. **/
73-
private int $first;
74-
75-
public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Dependabot\Alerts $hydrator, string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $before, string $after, int $last, string $sort = 'created', string $direction = 'desc', int $page = 1, int $perPage = 30, int $first = 30)
57+
58+
public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Repos\Owner\Repo\Dependabot\Alerts $hydrator, string $owner, string $repo, string $state, string $severity, string $ecosystem, string $package, string $manifest, string $scope, string $sort = 'created', string $direction = 'desc')
7659
{
7760
$this->owner = $owner;
7861
$this->repo = $repo;
@@ -82,19 +65,13 @@ public function __construct(private readonly SchemaValidator $responseSchemaVali
8265
$this->package = $package;
8366
$this->manifest = $manifest;
8467
$this->scope = $scope;
85-
$this->before = $before;
86-
$this->after = $after;
87-
$this->last = $last;
8868
$this->sort = $sort;
8969
$this->direction = $direction;
90-
$this->page = $page;
91-
$this->perPage = $perPage;
92-
$this->first = $first;
9370
}
9471

9572
public function createRequest(): RequestInterface
9673
{
97-
return new Request('GET', str_replace(['{owner}', '{repo}', '{state}', '{severity}', '{ecosystem}', '{package}', '{manifest}', '{scope}', '{before}', '{after}', '{last}', '{sort}', '{direction}', '{page}', '{per_page}', '{first}'], [$this->owner, $this->repo, $this->state, $this->severity, $this->ecosystem, $this->package, $this->manifest, $this->scope, $this->before, $this->after, $this->last, $this->sort, $this->direction, $this->page, $this->perPage, $this->first], '/repos/{owner}/{repo}/dependabot/alerts' . '?state={state}&severity={severity}&ecosystem={ecosystem}&package={package}&manifest={manifest}&scope={scope}&before={before}&after={after}&last={last}&sort={sort}&direction={direction}&page={page}&per_page={per_page}&first={first}'));
74+
return new Request('GET', str_replace(['{owner}', '{repo}', '{state}', '{severity}', '{ecosystem}', '{package}', '{manifest}', '{scope}', '{sort}', '{direction}'], [$this->owner, $this->repo, $this->state, $this->severity, $this->ecosystem, $this->package, $this->manifest, $this->scope, $this->sort, $this->direction], '/repos/{owner}/{repo}/dependabot/alerts' . '?state={state}&severity={severity}&ecosystem={ecosystem}&package={package}&manifest={manifest}&scope={scope}&sort={sort}&direction={direction}'));
9875
}
9976

10077
/** @return Observable<Schema\DependabotAlert>|WithoutBody */

0 commit comments

Comments
 (0)