Skip to content

Commit 52c99a0

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHubEnterprise-3.15] Update to 1.1.4-13765a979ded08b549109e71b65bcfcf from 1.1.4-6ea130cb5afd29dda26a543a1de89424
Detected Schema changes: ``` ├─┬Paths │ ├─┬/scim/v2/enterprises/{enterprise}/Users │ │ └─┬GET │ │ └─┬Parameters │ │ └──[🔀] description (41545:22) │ └─┬/scim/v2/enterprises/{enterprise}/Groups │ └─┬GET │ └─┬Parameters │ └──[🔀] description (41193:22) └─┬Components ├─┬webhook-code-scanning-alert-closed-by-user │ └─┬alert │ └──[➖] properties (104030:13)❌ ├─┬webhook-code-scanning-alert-created │ └─┬alert │ └──[➖] properties (104326:13)❌ ├─┬code-scanning-alert-items │ └──[➖] properties (82181:9)❌ ├─┬code-scanning-organization-alert-items │ └──[➖] properties (70771:9)❌ └─┬code-scanning-alert └──[➖] properties (82290:9)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 2 | 0 | | components | 5 | 5 | Date: 02/13/25 | Commit: New: etc/specs/GitHubEnterprise-3.15/previous.spec.yaml, Original: etc/specs/GitHubEnterprise-3.15/current.spec.yaml - ❌ **BREAKING Changes**: _5_ out of _7_ - **Modifications**: _2_ - **Removals**: _5_ - **Breaking Removals**: _5_ ERROR: breaking changes discovered
1 parent fcd5e14 commit 52c99a0

File tree

22 files changed

+1512
-47
lines changed

22 files changed

+1512
-47
lines changed

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

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "6ea130cb5afd29dda26a543a1de89424",
2+
"specHash": "13765a979ded08b549109e71b65bcfcf",
33
"generatedFiles": {
44
"files": [
55
{
@@ -11052,11 +11052,11 @@
1105211052
},
1105311053
{
1105411054
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
11055-
"hash": "cd460736f3e3abe46d504126639546d7"
11055+
"hash": "d28f69c1e3c09046f6a78b699678cef2"
1105611056
},
1105711057
{
1105811058
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
11059-
"hash": "75b7740fb512adfb41a711553a784db0"
11059+
"hash": "5ebd59b377fa56da84093860b074238a"
1106011060
},
1106111061
{
1106211062
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php",
@@ -11124,11 +11124,11 @@
1112411124
},
1112511125
{
1112611126
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
11127-
"hash": "b90351000c7f39f737091d5d80284d4a"
11127+
"hash": "0b8571674a875ea95ef2d0c307e220d9"
1112811128
},
1112911129
{
1113011130
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
11131-
"hash": "613713434ca904649774a4361befc2fc"
11131+
"hash": "612cab6a7bf4459cf097650381dd5e75"
1113211132
},
1113311133
{
1113411134
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php",
@@ -13768,7 +13768,7 @@
1376813768
},
1376913769
{
1377013770
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanningOrganizationAlertItems.php",
13771-
"hash": "cd2b59f249bc7889c9d9245622b5241e"
13771+
"hash": "e674ba3352541619423099d9a6fa5595"
1377213772
},
1377313773
{
1377413774
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/EnterpriseSecurityAnalysisSettings.php",
@@ -14644,15 +14644,15 @@
1464414644
},
1464514645
{
1464614646
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertItems.php",
14647-
"hash": "ea117ee1658273317edbd008f9fa79fe"
14647+
"hash": "a055e77b208109dad8014223cee5b045"
1464814648
},
1464914649
{
1465014650
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertRule.php",
1465114651
"hash": "baa3e070496db258d8cfbf9cca479e8a"
1465214652
},
1465314653
{
1465414654
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanningAlert.php",
14655-
"hash": "1dbea3fe5ef1597bffc0883c6460472c"
14655+
"hash": "6a469a2139757b48de5c1a72323e3b0e"
1465614656
},
1465714657
{
1465814658
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertSetState.php",
@@ -16424,11 +16424,11 @@
1642416424
},
1642516425
{
1642616426
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser.php",
16427-
"hash": "fd3721f20340c1b7955ef779845fdce8"
16427+
"hash": "65b7c4199e8a7f9e37c2e8c0feec4f9b"
1642816428
},
1642916429
{
1643016430
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertCreated.php",
16431-
"hash": "774a324e0f8d0f7aca502a4f74b16c1a"
16431+
"hash": "ba584e1d5015d19ba8dff6ed77cc2b26"
1643216432
},
1643316433
{
1643416434
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertFixed.php",
@@ -22640,7 +22640,7 @@
2264022640
},
2264122641
{
2264222642
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser\/Alert.php",
22643-
"hash": "61e223de721d161fa7481d7d06825e0e"
22643+
"hash": "dd174930a9e564e98847905a8c5928de"
2264422644
},
2264522645
{
2264622646
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet68F621CA\/Tiet1BC17E38\/TietE93CD08C\/TietADDD8B6D.php",
@@ -22680,7 +22680,7 @@
2268022680
},
2268122681
{
2268222682
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertCreated\/Alert.php",
22683-
"hash": "08de7759babf89a934fa0c83a9e9be32"
22683+
"hash": "936e60c31acbb751c5998300a73e0d30"
2268422684
},
2268522685
{
2268622686
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertCreated\/Alert\/Tool.php",
@@ -26660,7 +26660,7 @@
2666026660
},
2666126661
{
2666226662
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
26663-
"hash": "9bd0fbc257fd34fe9c6661d7966a18cc"
26663+
"hash": "3e9e34b8ec3f67e8458d4a00c2630835"
2666426664
},
2666526665
{
2666626666
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/SecurityAdvisories.php",
@@ -27212,7 +27212,7 @@
2721227212
},
2721327213
{
2721427214
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
27215-
"hash": "03a78049cc14a10e8b8ad6bf8778c4ab"
27215+
"hash": "dcbf2b1bb7fb9cc9416745e8c13fcc14"
2721627216
},
2721727217
{
2721827218
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Two.php",
@@ -27424,11 +27424,11 @@
2742427424
},
2742527425
{
2742627426
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
27427-
"hash": "057a0e66c0fac8be025f4333a6d16a9b"
27427+
"hash": "72c7f105d61896c8c4afa1b6a78f418b"
2742827428
},
2742927429
{
2743027430
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27431-
"hash": "0afba759e55aef88b3e3a19ce1993b10"
27431+
"hash": "31e0c425fc6d0e0eb3032545e05117c0"
2743227432
},
2743327433
{
2743427434
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
@@ -27444,7 +27444,7 @@
2744427444
},
2744527445
{
2744627446
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/EnterpriseAdmin.php",
27447-
"hash": "c41e1e5ed253f0c166d3e55aeb3f84e0"
27447+
"hash": "28fab98c49c28961e606d06041d34534"
2744827448
},
2744927449
{
2745027450
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
@@ -29044,7 +29044,7 @@
2904429044
},
2904529045
{
2904629046
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Alerts\/AlertNumber.php",
29047-
"hash": "ac4cca3714a6f496147c1997ae7234b0"
29047+
"hash": "b9452bc32629313c2650579a65f77f38"
2904829048
},
2904929049
{
2905029050
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeScanning\/Alerts\/AlertNumber\/Instances.php",
@@ -30008,7 +30008,7 @@
3000830008
},
3000930009
{
3001030010
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/CodeScanningAlert.php",
30011-
"hash": "c4af9cb1ff959a410e9570afdd27508e"
30011+
"hash": "c26b2d8da129630380b31d51be373718"
3001230012
},
3001330013
{
3001430014
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/WebHook\/CommitComment.php",
@@ -30256,7 +30256,7 @@
3025630256
},
3025730257
{
3025830258
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrators.php",
30259-
"hash": "0fca55461f16de6f843e1abfddbf427c"
30259+
"hash": "bfa947e43129bb77e6b2597ed7c846b5"
3026030260
},
3026130261
{
3026230262
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/ApiOverview\/Domains\/ActionsInbound.php",
@@ -30281,6 +30281,10 @@
3028130281
{
3028230282
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEAB1E353\/TietA691FF98\/TietCADB7922\/TietA4382CA1.php",
3028330283
"hash": "c57517b93469a1558cb104c0b535b6c4"
30284+
},
30285+
{
30286+
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser\/Alert\/DismissalApprovedBy.php",
30287+
"hash": "b21a2b229d82f916d8ec095470db0021"
3028430288
}
3028530289
]
3028630290
},

clients/GitHubEnterprise-3.15/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CodeScanning/Alerts/AlertNumber.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,26 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
266266
$properties['mostRecentInstance'] = $value;
267267

268268
after_mostRecentInstance:
269+
270+
$value = $payload['dismissal_approved_by'] ?? null;
271+
272+
if ($value === null) {
273+
$properties['dismissalApprovedBy'] = null;
274+
goto after_dismissalApprovedBy;
275+
}
276+
277+
if (is_array($value)) {
278+
try {
279+
$this->hydrationStack[] = 'dismissalApprovedBy';
280+
$value = $this->hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SimpleUser($value);
281+
} finally {
282+
array_pop($this->hydrationStack);
283+
}
284+
}
285+
286+
$properties['dismissalApprovedBy'] = $value;
287+
288+
after_dismissalApprovedBy:
269289
} catch (Throwable $exception) {
270290
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\CodeScanningAlert', $exception, stack: $this->hydrationStack);
271291
}
@@ -1269,6 +1289,15 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
12691289
$mostRecentInstance = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️CodeScanningAlertInstance($mostRecentInstance);
12701290
after_mostRecentInstance: $result['most_recent_instance'] = $mostRecentInstance;
12711291

1292+
$dismissalApprovedBy = $object->dismissalApprovedBy;
1293+
1294+
if ($dismissalApprovedBy === null) {
1295+
goto after_dismissalApprovedBy;
1296+
}
1297+
1298+
$dismissalApprovedBy = $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SimpleUser($dismissalApprovedBy);
1299+
after_dismissalApprovedBy: $result['dismissal_approved_by'] = $dismissalApprovedBy;
1300+
12721301
return $result;
12731302
}
12741303

0 commit comments

Comments
 (0)