Skip to content

Commit 5f7888d

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHubEnterprise-3.15] Update to 1.1.4-3d1d0aa20a5ebee462aa16b1bf828099 from 1.1.4-13765a979ded08b549109e71b65bcfcf
Detected Schema changes: ``` ├─┬Paths │ ├─┬/repos/{owner}/{repo}/code-security-configuration │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ └──[🔀] value (205716:9) │ ├─┬/orgs/{org}/code-security/configurations/{configuration_id} │ │ └─┬PATCH │ │ └─┬Requestbody │ │ └─┬application/json │ │ └─┬Schema │ │ └──[➖] properties (11808:17)❌ │ ├─┬/orgs/{org}/code-security/configurations │ │ └─┬POST │ │ └─┬Requestbody │ │ └─┬application/json │ │ └─┬Schema │ │ └──[➖] properties (11489:17)❌ │ └─┬/orgs/{org} │ └─┬GET │ └──[🔀] description (8461:20) └─┬Components ├──[➖] schemas (77316:7)❌ ├─┬code-security-configuration │ └──[➖] properties (74834:9)❌ └─┬repository-rule-params-required-reviewer-configuration ├──[➕] required (77316:9)❌ ├──[➕] properties (77310:9) └──[➖] properties (77349:9)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 4 | 2 | | components | 5 | 4 | Date: 02/27/25 | Commit: Original: etc/specs/GitHubEnterprise-3.15/current.spec.yaml, Modified: etc/specs/GitHubEnterprise-3.15/previous.spec.yaml, - ❌ **BREAKING Changes**: _6_ out of _9_ - **Modifications**: _2_ - **Removals**: _5_ - **Additions**: _2_ - **Breaking Removals**: _5_ - **Breaking Additions**: _1_ ERROR: breaking changes discovered
1 parent 54b3848 commit 5f7888d

File tree

21 files changed

+296
-41
lines changed

21 files changed

+296
-41
lines changed

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

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "13765a979ded08b549109e71b65bcfcf",
2+
"specHash": "3d1d0aa20a5ebee462aa16b1bf828099",
33
"generatedFiles": {
44
"files": [
55
{
@@ -11056,7 +11056,7 @@
1105611056
},
1105711057
{
1105811058
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedGroupsEnterprise.php",
11059-
"hash": "5ebd59b377fa56da84093860b074238a"
11059+
"hash": "75b7740fb512adfb41a711553a784db0"
1106011060
},
1106111061
{
1106211062
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedGroupsEnterpriseTest.php",
@@ -11128,7 +11128,7 @@
1112811128
},
1112911129
{
1113011130
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Operator\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterprise.php",
11131-
"hash": "612cab6a7bf4459cf097650381dd5e75"
11131+
"hash": "613713434ca904649774a4361befc2fc"
1113211132
},
1113311133
{
1113411134
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Internal\/Operation\/EnterpriseAdmin\/ListProvisionedIdentitiesEnterpriseTest.php",
@@ -14136,11 +14136,11 @@
1413614136
},
1413714137
{
1413814138
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfiguration.php",
14139-
"hash": "77fe796fb9be30d76e9f7fb278cc7516"
14139+
"hash": "69f164f9a1e1334629fb710ef6c94620"
1414014140
},
1414114141
{
1414214142
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityDefaultConfigurations.php",
14143-
"hash": "7c6a3796d7dc1eeb749770484c093fd8"
14143+
"hash": "5e84f90fbeaee5f94f552cefe4c98e8b"
1414414144
},
1414514145
{
1414614146
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfigurationRepositories.php",
@@ -14324,7 +14324,7 @@
1432414324
},
1432514325
{
1432614326
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsRequiredReviewerConfiguration.php",
14327-
"hash": "47e0a5cbb3905406509b518cd447e517"
14327+
"hash": "8b7146363355a95c07cbf18c8466fc6c"
1432814328
},
1432914329
{
1433014330
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php",
@@ -14716,7 +14716,7 @@
1471614716
},
1471714717
{
1471814718
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurityConfigurationForRepository.php",
14719-
"hash": "6b0fcce4cd5c07953cf64ebe3369a205"
14719+
"hash": "7f8f314ff97dba2f58ef1371c5803b96"
1472014720
},
1472114721
{
1472214722
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeownersErrors.php",
@@ -25252,15 +25252,15 @@
2525225252
},
2525325253
{
2525425254
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/CreateConfiguration\/Request\/ApplicationJson.php",
25255-
"hash": "1108bfe82e79bd16d0b1ac26b7846ccf"
25255+
"hash": "a0d012dd8881066e4e16efd8b6916b26"
2525625256
},
2525725257
{
2525825258
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/DetachConfiguration\/Request\/ApplicationJson.php",
2525925259
"hash": "03fe2f031531dc1c0dca2a4663712ec7"
2526025260
},
2526125261
{
2526225262
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/UpdateConfiguration\/Request\/ApplicationJson.php",
25263-
"hash": "7d4717de53d02f4366ef4643d9e0311e"
25263+
"hash": "ea9b2518eb520cd33fdceffed5ee9705"
2526425264
},
2526525265
{
2526625266
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/CodeSecurity\/AttachConfiguration\/Request\/ApplicationJson.php",
@@ -25272,7 +25272,7 @@
2527225272
},
2527325273
{
2527425274
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Operations\/CodeSecurity\/SetConfigurationAsDefault\/Response\/ApplicationJson\/Ok.php",
25275-
"hash": "9e025b0882641a7a6b39873d1af3c2c0"
25275+
"hash": "472fee19c1f7e13540e9c54f0d2f7e79"
2527625276
},
2527725277
{
2527825278
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Operations\/Dependabot\/ListOrgSecrets\/Response\/ApplicationJson\/Ok.php",
@@ -26660,7 +26660,7 @@
2666026660
},
2666126661
{
2666226662
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Router\/Get\/EnterpriseAdmin.php",
26663-
"hash": "3e9e34b8ec3f67e8458d4a00c2630835"
26663+
"hash": "9bd0fbc257fd34fe9c6661d7966a18cc"
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": "dcbf2b1bb7fb9cc9416745e8c13fcc14"
27215+
"hash": "03a78049cc14a10e8b8ad6bf8778c4ab"
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": "72c7f105d61896c8c4afa1b6a78f418b"
27427+
"hash": "057a0e66c0fac8be025f4333a6d16a9b"
2742827428
},
2742927429
{
2743027430
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
27431-
"hash": "31e0c425fc6d0e0eb3032545e05117c0"
27431+
"hash": "0afba759e55aef88b3e3a19ce1993b10"
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": "28fab98c49c28961e606d06041d34534"
27447+
"hash": "7283ab444baadbfc831c091e6cd63c0d"
2744827448
},
2744927449
{
2745027450
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/SecurityAdvisories.php",
@@ -28416,7 +28416,7 @@
2841628416
},
2841728417
{
2841828418
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations.php",
28419-
"hash": "7da42ecae4cf3c76a2762f30d6b49c58"
28419+
"hash": "ea9ae900f54ec0fe8170f7d43e2f0745"
2842028420
},
2842128421
{
2842228422
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/Defaults.php",
@@ -28428,15 +28428,15 @@
2842828428
},
2842928429
{
2843028430
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId.php",
28431-
"hash": "cf7a6ff6f1f8c86201c4a3a48ec03ce1"
28431+
"hash": "12cbb19be2f4667f57a557e52a4f20f9"
2843228432
},
2843328433
{
2843428434
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Attach.php",
2843528435
"hash": "b94bfa36de710febfa2c9db6dd349708"
2843628436
},
2843728437
{
2843828438
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Defaults.php",
28439-
"hash": "6fb830df7d6313b33ae5afd6b2e49d53"
28439+
"hash": "dbb03089b8ce31c9939450c8ed011af9"
2844028440
},
2844128441
{
2844228442
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/CodeSecurity\/Configurations\/ConfigurationId\/Repositories.php",
@@ -29072,7 +29072,7 @@
2907229072
},
2907329073
{
2907429074
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/CodeSecurityConfiguration.php",
29075-
"hash": "f69d395e426965e1d93ecb15dd6f1265"
29075+
"hash": "56977c8dc7a99add3a2d545a908fd214"
2907629076
},
2907729077
{
2907829078
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Repos\/Owner\/Repo\/Codeowners\/Errors.php",
@@ -30285,6 +30285,10 @@
3028530285
{
3028630286
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/WebhookCodeScanningAlertClosedByUser\/Alert\/DismissalApprovedBy.php",
3028730287
"hash": "b21a2b229d82f916d8ec095470db0021"
30288+
},
30289+
{
30290+
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsReviewer.php",
30291+
"hash": "9fb5f3613d9deee11da6ff5294c91b66"
3028830292
}
3028930293
]
3029030294
},

clients/GitHubEnterprise-3.15/src/Internal/Hydrator/Operation/Orgs/Org/CodeSecurity/Configurations.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
291291

292292
after_secretScanningNonProviderPatterns:
293293

294+
$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;
295+
296+
if ($value === null) {
297+
$properties['secretScanningDelegatedAlertDismissal'] = null;
298+
goto after_secretScanningDelegatedAlertDismissal;
299+
}
300+
301+
$properties['secretScanningDelegatedAlertDismissal'] = $value;
302+
303+
after_secretScanningDelegatedAlertDismissal:
304+
294305
$value = $payload['enforcement'] ?? null;
295306

296307
if ($value === null) {
@@ -652,6 +663,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
652663

653664
after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;
654665

666+
$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;
667+
668+
if ($secretScanningDelegatedAlertDismissal === null) {
669+
goto after_secretScanningDelegatedAlertDismissal;
670+
}
671+
672+
after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;
673+
655674
$enforcement = $object->enforcement;
656675

657676
if ($enforcement === null) {

clients/GitHubEnterprise-3.15/src/Internal/Hydrator/Operation/Orgs/Org/CodeSecurity/Configurations/ConfigurationId.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
230230

231231
after_secretScanningNonProviderPatterns:
232232

233+
$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;
234+
235+
if ($value === null) {
236+
$properties['secretScanningDelegatedAlertDismissal'] = null;
237+
goto after_secretScanningDelegatedAlertDismissal;
238+
}
239+
240+
$properties['secretScanningDelegatedAlertDismissal'] = $value;
241+
242+
after_secretScanningDelegatedAlertDismissal:
243+
233244
$value = $payload['enforcement'] ?? null;
234245

235246
if ($value === null) {
@@ -700,6 +711,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
700711

701712
after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;
702713

714+
$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;
715+
716+
if ($secretScanningDelegatedAlertDismissal === null) {
717+
goto after_secretScanningDelegatedAlertDismissal;
718+
}
719+
720+
after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;
721+
703722
$enforcement = $object->enforcement;
704723

705724
if ($enforcement === null) {

clients/GitHubEnterprise-3.15/src/Internal/Hydrator/Operation/Orgs/Org/CodeSecurity/Configurations/ConfigurationId/Defaults.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
280280

281281
after_secretScanningNonProviderPatterns:
282282

283+
$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;
284+
285+
if ($value === null) {
286+
$properties['secretScanningDelegatedAlertDismissal'] = null;
287+
goto after_secretScanningDelegatedAlertDismissal;
288+
}
289+
290+
$properties['secretScanningDelegatedAlertDismissal'] = $value;
291+
292+
after_secretScanningDelegatedAlertDismissal:
293+
283294
$value = $payload['enforcement'] ?? null;
284295

285296
if ($value === null) {
@@ -690,6 +701,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
690701

691702
after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;
692703

704+
$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;
705+
706+
if ($secretScanningDelegatedAlertDismissal === null) {
707+
goto after_secretScanningDelegatedAlertDismissal;
708+
}
709+
710+
after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;
711+
693712
$enforcement = $object->enforcement;
694713

695714
if ($enforcement === null) {

clients/GitHubEnterprise-3.15/src/Internal/Hydrator/Operation/Repos/Owner/Repo/CodeSecurityConfiguration.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
279279

280280
after_secretScanningNonProviderPatterns:
281281

282+
$value = $payload['secret_scanning_delegated_alert_dismissal'] ?? null;
283+
284+
if ($value === null) {
285+
$properties['secretScanningDelegatedAlertDismissal'] = null;
286+
goto after_secretScanningDelegatedAlertDismissal;
287+
}
288+
289+
$properties['secretScanningDelegatedAlertDismissal'] = $value;
290+
291+
after_secretScanningDelegatedAlertDismissal:
292+
282293
$value = $payload['enforcement'] ?? null;
283294

284295
if ($value === null) {
@@ -689,6 +700,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
689700

690701
after_secretScanningNonProviderPatterns: $result['secret_scanning_non_provider_patterns'] = $secretScanningNonProviderPatterns;
691702

703+
$secretScanningDelegatedAlertDismissal = $object->secretScanningDelegatedAlertDismissal;
704+
705+
if ($secretScanningDelegatedAlertDismissal === null) {
706+
goto after_secretScanningDelegatedAlertDismissal;
707+
}
708+
709+
after_secretScanningDelegatedAlertDismissal: $result['secret_scanning_delegated_alert_dismissal'] = $secretScanningDelegatedAlertDismissal;
710+
692711
$enforcement = $object->enforcement;
693712

694713
if ($enforcement === null) {

clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedGroupsEnterprise.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(string $filter, string $excludedAttributes, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseGroupList|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedGroupsEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $excludedAttributes, $enterprise, $startIndex, $count);

clients/GitHubEnterprise-3.15/src/Internal/Operator/EnterpriseAdmin/ListProvisionedIdentitiesEnterprise.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(string $filter, string $enterprise, int $startIndex = 1, int $count = 30): ScimEnterpriseUserList|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\EnterpriseAdmin\ListProvisionedIdentitiesEnterprise($this->responseSchemaValidator, $this->hydrator, $filter, $enterprise, $startIndex, $count);

clients/GitHubEnterprise-3.15/src/Internal/Router/Get/EnterpriseAdmin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ public function getPreReceiveHookForRepo(array $params): RepositoryPreReceiveHoo
663663
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['pre_receive_hook_id']);
664664
}
665665

666+
/** @return */
666667
public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGroupList|WithoutBody
667668
{
668669
$arguments = [];
@@ -701,6 +702,7 @@ public function listProvisionedGroupsEnterprise(array $params): ScimEnterpriseGr
701702
return $operator->call($arguments['filter'], $arguments['excludedAttributes'], $arguments['enterprise'], $arguments['startIndex'], $arguments['count']);
702703
}
703704

705+
/** @return */
704706
public function listProvisionedIdentitiesEnterprise(array $params): ScimEnterpriseUserList|WithoutBody
705707
{
706708
$arguments = [];

0 commit comments

Comments
 (0)