Skip to content

Commit 65d820f

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-045e5b013b51c6a9b4cceeceae74dd4d from 1.1.4-79bfc552fc9431ae453024109bc3424d
Detected Schema changes: ``` ├─┬Paths │ ├─┬/repos/{owner}/{repo}/installation │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ └──[➖] value (202678:9) │ ├─┬/apps/{app_slug} │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ └──[➖] value (196269:9) │ ├─┬/app │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ ├──[🔀] value (196249:9) │ │ └──[➖] value (196269:9) │ ├─┬/orgs/{org}/installation │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ └──[➖] value (202678:9) │ ├─┬/orgs/{org}/secret-scanning/alerts │ │ └─┬GET │ │ └─┬Parameters │ │ └──[🔀] description (222822:20) │ ├─┬/users/{username}/installation │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ ├──[🔀] value (202657:9) │ │ └──[➖] value (202678:9) │ ├─┬/enterprises/{enterprise}/secret-scanning/alerts │ │ └─┬GET │ │ └─┬Parameters │ │ └──[🔀] description (222822:20) │ ├─┬/repos/{owner}/{repo}/secret-scanning/alerts │ │ └─┬GET │ │ └─┬Parameters │ │ └──[🔀] description (222822:20) │ └─┬/repos/{owner}/{repo} │ └─┬PATCH │ └─┬Requestbody │ └─┬application/json │ └─┬Schema │ └─┬security_and_analysis │ └─┬secret_scanning_non_provider_patterns │ └──[🔀] description (16201:36) ├─┬deployment-status-created │ └─┬POST │ └──[🔀] summary (50258:16) └─┬Components ├─┬secret-scanning-alert │ └─┬secret_type_display_name │ └──[🔀] description (87263:24) ├─┬secret-scanning-alert-webhook │ └─┬secret_type_display_name │ └──[🔀] description (99757:24) ├─┬branch-restriction-policy │ └─┬apps │ └─┬Schema │ └──[➖] properties (78156:15)❌ ├─┬webhook-check-suite-requested │ └─┬check_suite │ └─┬app │ └──[➖] properties (101384:17)❌ ├─┬webhook-check-suite-completed │ └─┬check_suite │ └─┬app │ └──[➖] properties (100766:17)❌ ├─┬webhook-check-suite-rerequested │ └─┬check_suite │ └─┬app │ └──[➖] properties (101995:17)❌ └─┬organization-secret-scanning-alert └─┬secret_type_display_name └──[🔀] description (68054:24) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 78 | 0 | | webhooks | 1 | 0 | | components | 7 | 4 | Date: 08/20/24 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _4_ out of _86_ - **Modifications**: _77_ - **Removals**: _9_ - **Breaking Removals**: _4_ ERROR: breaking changes discovered
1 parent 6a0bc3e commit 65d820f

File tree

734 files changed

+2828
-2635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

734 files changed

+2828
-2635
lines changed

clients/GitHub/etc/openapi-client-generator.state

Lines changed: 739 additions & 739 deletions
Large diffs are not rendered by default.

clients/GitHub/src/Internal/Hydrator/Operation/Advisories.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
193193
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
194194
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
195195
'ApiClients\Client\GitHub\Schema\ValidationErrorSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationErrorSimple($object),
196-
default => throw new LogicException('No serialization defined for $className'),
196+
default => throw new LogicException("No serialization defined for $className"),
197197
};
198198
} catch (Throwable $exception) {
199199
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHub/src/Internal/Hydrator/Operation/Advisories/GhsaId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
446446
'ApiClients\Client\GitHub\Schema\GlobalAdvisory' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️GlobalAdvisory($object),
447447
'ApiClients\Client\GitHub\Schema\GlobalAdvisory\Cvss' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️GlobalAdvisory⚡️Cvss($object),
448448
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
449-
default => throw new LogicException('No serialization defined for $className'),
449+
default => throw new LogicException("No serialization defined for $className"),
450450
};
451451
} catch (Throwable $exception) {
452452
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHub/src/Internal/Hydrator/Operation/App.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
8787

8888
after_nodeId:
8989

90+
$value = $payload['client_id'] ?? null;
91+
92+
if ($value === null) {
93+
$properties['clientId'] = null;
94+
goto after_clientId;
95+
}
96+
97+
$properties['clientId'] = $value;
98+
99+
after_clientId:
100+
90101
$value = $payload['owner'] ?? null;
91102

92103
if ($value === null) {
@@ -215,17 +226,6 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte
215226

216227
after_installationsCount:
217228

218-
$value = $payload['client_id'] ?? null;
219-
220-
if ($value === null) {
221-
$properties['clientId'] = null;
222-
goto after_clientId;
223-
}
224-
225-
$properties['clientId'] = $value;
226-
227-
after_clientId:
228-
229229
$value = $payload['client_secret'] ?? null;
230230

231231
if ($value === null) {
@@ -631,7 +631,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
631631
'ApiClients\Client\GitHub\Schema\Integration' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Integration($object),
632632
'ApiClients\Client\GitHub\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($object),
633633
'ApiClients\Client\GitHub\Schema\Integration\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Integration⚡️Permissions($object),
634-
default => throw new LogicException('No serialization defined for $className'),
634+
default => throw new LogicException("No serialization defined for $className"),
635635
};
636636
} catch (Throwable $exception) {
637637
throw UnableToSerializeObject::dueToError($className, $exception);
@@ -712,6 +712,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
712712
$nodeId = $object->nodeId;
713713
after_nodeId: $result['node_id'] = $nodeId;
714714

715+
$clientId = $object->clientId;
716+
717+
if ($clientId === null) {
718+
goto after_clientId;
719+
}
720+
721+
after_clientId: $result['client_id'] = $clientId;
722+
715723
$owner = $object->owner;
716724

717725
if ($owner === null) {
@@ -766,14 +774,6 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
766774

767775
after_installationsCount: $result['installations_count'] = $installationsCount;
768776

769-
$clientId = $object->clientId;
770-
771-
if ($clientId === null) {
772-
goto after_clientId;
773-
}
774-
775-
after_clientId: $result['client_id'] = $clientId;
776-
777777
$clientSecret = $object->clientSecret;
778778

779779
if ($clientSecret === null) {

clients/GitHub/src/Internal/Hydrator/Operation/App/Hook/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
138138
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
139139
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
140140
'ApiClients\Client\GitHub\Schema\WebhookConfig' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookConfig($object),
141-
default => throw new LogicException('No serialization defined for $className'),
141+
default => throw new LogicException("No serialization defined for $className"),
142142
};
143143
} catch (Throwable $exception) {
144144
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHub/src/Internal/Hydrator/Operation/App/Hook/Deliveries.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
281281
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
282282
'ApiClients\Client\GitHub\Schema\ScimError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ScimError($object),
283283
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
284-
default => throw new LogicException('No serialization defined for $className'),
284+
default => throw new LogicException("No serialization defined for $className"),
285285
};
286286
} catch (Throwable $exception) {
287287
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHub/src/Internal/Hydrator/Operation/App/Hook/Deliveries/DeliveryId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
668668
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
669669
'ApiClients\Client\GitHub\Schema\ScimError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ScimError($object),
670670
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
671-
default => throw new LogicException('No serialization defined for $className'),
671+
default => throw new LogicException("No serialization defined for $className"),
672672
};
673673
} catch (Throwable $exception) {
674674
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHub/src/Internal/Hydrator/Operation/App/Hook/Deliveries/DeliveryId/Attempts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
281281
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
282282
'ApiClients\Client\GitHub\Schema\ScimError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ScimError($object),
283283
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
284-
default => throw new LogicException('No serialization defined for $className'),
284+
default => throw new LogicException("No serialization defined for $className"),
285285
};
286286
} catch (Throwable $exception) {
287287
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHub/src/Internal/Hydrator/Operation/App/InstallationRequests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
138138
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
139139
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
140140
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
141-
default => throw new LogicException('No serialization defined for $className'),
141+
default => throw new LogicException("No serialization defined for $className"),
142142
};
143143
} catch (Throwable $exception) {
144144
throw UnableToSerializeObject::dueToError($className, $exception);

clients/GitHub/src/Internal/Hydrator/Operation/App/Installations/InstallationId.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
12171217
'ApiClients\Client\GitHub\Schema\AppPermissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️AppPermissions($object),
12181218
'ApiClients\Client\GitHub\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($object),
12191219
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
1220-
default => throw new LogicException('No serialization defined for $className'),
1220+
default => throw new LogicException("No serialization defined for $className"),
12211221
};
12221222
} catch (Throwable $exception) {
12231223
throw UnableToSerializeObject::dueToError($className, $exception);

0 commit comments

Comments
 (0)