Skip to content

Commit aab8301

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHub] Update to 1.1.4-d543c2cfa43a2dcdc9526a6061319dd0 from 1.1.4-c1e4d4617fb30b28dd9ff95dbcd32f2e
Detected Schema changes: ``` ├─┬Paths │ ├─┬/gists │ │ └─┬POST │ │ └─┬Responses │ │ └─┬201 │ │ └─┬application/json │ │ └─┬default │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ └──[➖] value (204305:9) │ ├─┬/repos/{owner}/{repo}/secret-scanning/scan-history │ │ └─┬GET │ │ └──[🔀] description (40213:20) │ ├─┬/gists/{gist_id} │ │ ├─┬GET │ │ │ └─┬Responses │ │ │ └─┬200 │ │ │ └─┬application/json │ │ │ └─┬default │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ ├──[🔀] value (204299:9) │ │ │ └──[➖] value (204305:9) │ │ └─┬PATCH │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬updateGist │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ ├──[🔀] value (204299:9) │ │ └──[➖] value (204305:9) │ └─┬/gists/{gist_id}/{sha} │ └─┬GET │ └─┬Responses │ └─┬200 │ └─┬application/json │ └─┬default │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ ├──[🔀] value (204299:9) │ └──[➖] value (204305:9) └─┬Components ├─┬base-gist │ └──[➖] properties (71527:9)❌ └─┬gist-simple ├──[➖] properties (71947:9)❌ └─┬fork_of └──[➖] properties (71855:13)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 81 | 0 | | components | 3 | 3 | Date: 01/07/25 | Commit: New: etc/specs/GitHub/previous.spec.yaml, Original: etc/specs/GitHub/current.spec.yaml - ❌ **BREAKING Changes**: _3_ out of _84_ - **Modifications**: _77_ - **Removals**: _7_ - **Breaking Removals**: _3_ ERROR: breaking changes discovered
1 parent e70e2a6 commit aab8301

File tree

9 files changed

+172
-13
lines changed

9 files changed

+172
-13
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "c1e4d4617fb30b28dd9ff95dbcd32f2e",
2+
"specHash": "d543c2cfa43a2dcdc9526a6061319dd0",
33
"generatedFiles": {
44
"files": [
55
{
@@ -216,7 +216,7 @@
216216
},
217217
{
218218
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/BaseGist.php",
219-
"hash": "6a4c0f624e46228684170909267749bb"
219+
"hash": "3db403d0909d3622d6938216823ed029"
220220
},
221221
{
222222
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PublicUser.php",
@@ -228,7 +228,7 @@
228228
},
229229
{
230230
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple.php",
231-
"hash": "830ff132801cff2da8c06596d183f567"
231+
"hash": "7dbbdfe3e6de7b333f5a55417d4a8d88"
232232
},
233233
{
234234
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistComment.php",
@@ -2612,7 +2612,7 @@
26122612
},
26132613
{
26142614
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple\/ForkOf.php",
2615-
"hash": "8ee1e1e01693a49c7d89564e80f0290e"
2615+
"hash": "6a2ecb3a9df1b563f1ac267ced489d0c"
26162616
},
26172617
{
26182618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple\/Files.php",
@@ -25156,7 +25156,7 @@
2515625156
},
2515725157
{
2515825158
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists.php",
25159-
"hash": "f3cd0b797cc4d04c11ef320706f1d418"
25159+
"hash": "4fb009673141dc515bd893aec88a5063"
2516025160
},
2516125161
{
2516225162
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/Public_.php",
@@ -25168,7 +25168,7 @@
2516825168
},
2516925169
{
2517025170
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId.php",
25171-
"hash": "f59b327f24067b8fd169192ac6dc8f1c"
25171+
"hash": "9a072f8beece9100d403e1bbe946f866"
2517225172
},
2517325173
{
2517425174
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Comments.php",
@@ -25184,15 +25184,15 @@
2518425184
},
2518525185
{
2518625186
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Forks.php",
25187-
"hash": "dcacb75feea340a9887786655fe979a5"
25187+
"hash": "749382e1f6056dcf0f3a0eb4565196df"
2518825188
},
2518925189
{
2519025190
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Star.php",
2519125191
"hash": "8469fc73ba28afc76747dfe501ee6ce2"
2519225192
},
2519325193
{
2519425194
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Sha.php",
25195-
"hash": "2c721313d55016c2b8696ee71ba8efc0"
25195+
"hash": "26bd01f1069c35c11dd97e82322edc1f"
2519625196
},
2519725197
{
2519825198
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gitignore\/Templates\/Name.php",
@@ -31468,7 +31468,7 @@
3146831468
},
3146931469
{
3147031470
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/PrivateRegistries.php",
31471-
"hash": "8eb1b85a46ebf692eac4887162044dce"
31471+
"hash": "42129b777cab6a6ddff1350f6cde5015"
3147231472
},
3147331473
{
3147431474
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/PrivateRegistries.php",

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist
329329

330330
after_comments:
331331

332+
$value = $payload['comments_enabled'] ?? null;
333+
334+
if ($value === null) {
335+
$properties['commentsEnabled'] = null;
336+
goto after_commentsEnabled;
337+
}
338+
339+
$properties['commentsEnabled'] = $value;
340+
341+
after_commentsEnabled:
342+
332343
$value = $payload['user'] ?? null;
333344

334345
if ($value === null) {
@@ -564,6 +575,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist
564575

565576
after_comments:
566577

578+
$value = $payload['comments_enabled'] ?? null;
579+
580+
if ($value === null) {
581+
$properties['commentsEnabled'] = null;
582+
goto after_commentsEnabled;
583+
}
584+
585+
$properties['commentsEnabled'] = $value;
586+
587+
after_commentsEnabled:
588+
567589
$value = $payload['user'] ?? null;
568590

569591
if ($value === null) {
@@ -1310,6 +1332,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
13101332

13111333
after_comments: $result['comments'] = $comments;
13121334

1335+
$commentsEnabled = $object->commentsEnabled;
1336+
1337+
if ($commentsEnabled === null) {
1338+
goto after_commentsEnabled;
1339+
}
1340+
1341+
after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;
1342+
13131343
$user = $object->user;
13141344

13151345
if ($user === null) {
@@ -1399,6 +1429,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
13991429
$comments = $object->comments;
14001430
after_comments: $result['comments'] = $comments;
14011431

1432+
$commentsEnabled = $object->commentsEnabled;
1433+
1434+
if ($commentsEnabled === null) {
1435+
goto after_commentsEnabled;
1436+
}
1437+
1438+
after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;
1439+
14021440
$user = $object->user;
14031441

14041442
if ($user === null) {

clients/GitHub/src/Internal/Hydrator/Operation/Gists/GistId.php

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist
270270

271271
after_comments:
272272

273+
$value = $payload['comments_enabled'] ?? null;
274+
275+
if ($value === null) {
276+
$properties['commentsEnabled'] = null;
277+
goto after_commentsEnabled;
278+
}
279+
280+
$properties['commentsEnabled'] = $value;
281+
282+
after_commentsEnabled:
283+
273284
$value = $payload['user'] ?? null;
274285

275286
if ($value === null) {
@@ -505,6 +516,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist
505516

506517
after_comments:
507518

519+
$value = $payload['comments_enabled'] ?? null;
520+
521+
if ($value === null) {
522+
$properties['commentsEnabled'] = null;
523+
goto after_commentsEnabled;
524+
}
525+
526+
$properties['commentsEnabled'] = $value;
527+
528+
after_commentsEnabled:
529+
508530
$value = $payload['user'] ?? null;
509531

510532
if ($value === null) {
@@ -1389,6 +1411,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
13891411

13901412
after_comments: $result['comments'] = $comments;
13911413

1414+
$commentsEnabled = $object->commentsEnabled;
1415+
1416+
if ($commentsEnabled === null) {
1417+
goto after_commentsEnabled;
1418+
}
1419+
1420+
after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;
1421+
13921422
$user = $object->user;
13931423

13941424
if ($user === null) {
@@ -1478,6 +1508,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
14781508
$comments = $object->comments;
14791509
after_comments: $result['comments'] = $comments;
14801510

1511+
$commentsEnabled = $object->commentsEnabled;
1512+
1513+
if ($commentsEnabled === null) {
1514+
goto after_commentsEnabled;
1515+
}
1516+
1517+
after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;
1518+
14811519
$user = $object->user;
14821520

14831521
if ($user === null) {

clients/GitHub/src/Internal/Hydrator/Operation/Gists/GistId/Forks.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Base
284284

285285
after_comments:
286286

287+
$value = $payload['comments_enabled'] ?? null;
288+
289+
if ($value === null) {
290+
$properties['commentsEnabled'] = null;
291+
goto after_commentsEnabled;
292+
}
293+
294+
$properties['commentsEnabled'] = $value;
295+
296+
after_commentsEnabled:
297+
287298
$value = $payload['user'] ?? null;
288299

289300
if ($value === null) {
@@ -905,6 +916,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
905916
$comments = $object->comments;
906917
after_comments: $result['comments'] = $comments;
907918

919+
$commentsEnabled = $object->commentsEnabled;
920+
921+
if ($commentsEnabled === null) {
922+
goto after_commentsEnabled;
923+
}
924+
925+
after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;
926+
908927
$user = $object->user;
909928

910929
if ($user === null) {

clients/GitHub/src/Internal/Hydrator/Operation/Gists/GistId/Sha.php

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist
266266

267267
after_comments:
268268

269+
$value = $payload['comments_enabled'] ?? null;
270+
271+
if ($value === null) {
272+
$properties['commentsEnabled'] = null;
273+
goto after_commentsEnabled;
274+
}
275+
276+
$properties['commentsEnabled'] = $value;
277+
278+
after_commentsEnabled:
279+
269280
$value = $payload['user'] ?? null;
270281

271282
if ($value === null) {
@@ -501,6 +512,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist
501512

502513
after_comments:
503514

515+
$value = $payload['comments_enabled'] ?? null;
516+
517+
if ($value === null) {
518+
$properties['commentsEnabled'] = null;
519+
goto after_commentsEnabled;
520+
}
521+
522+
$properties['commentsEnabled'] = $value;
523+
524+
after_commentsEnabled:
525+
504526
$value = $payload['user'] ?? null;
505527

506528
if ($value === null) {
@@ -1270,6 +1292,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
12701292

12711293
after_comments: $result['comments'] = $comments;
12721294

1295+
$commentsEnabled = $object->commentsEnabled;
1296+
1297+
if ($commentsEnabled === null) {
1298+
goto after_commentsEnabled;
1299+
}
1300+
1301+
after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;
1302+
12731303
$user = $object->user;
12741304

12751305
if ($user === null) {
@@ -1359,6 +1389,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
13591389
$comments = $object->comments;
13601390
after_comments: $result['comments'] = $comments;
13611391

1392+
$commentsEnabled = $object->commentsEnabled;
1393+
1394+
if ($commentsEnabled === null) {
1395+
goto after_commentsEnabled;
1396+
}
1397+
1398+
after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;
1399+
13621400
$user = $object->user;
13631401

13641402
if ($user === null) {

clients/GitHub/src/Schema/BaseGist.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
"comments": {
110110
"type": "integer"
111111
},
112+
"comments_enabled": {
113+
"type": "boolean"
114+
},
112115
"user": {
113116
"anyOf": [
114117
{
@@ -487,6 +490,7 @@
487490
"updated_at": "1970-01-01T00:00:00+00:00",
488491
"description": "generated",
489492
"comments": 8,
493+
"comments_enabled": false,
490494
"user": {
491495
"name": "generated",
492496
"email": "generated",
@@ -558,7 +562,8 @@ public function __construct(public string $url, #[MapFrom('forks_url')]
558562
public string $gitPushUrl, #[MapFrom('html_url')]
559563
public string $htmlUrl, public Schema\BaseGist\Files $files, public bool $public, #[MapFrom('created_at')]
560564
public string $createdAt, #[MapFrom('updated_at')]
561-
public string $updatedAt, public string|null $description, public int $comments, public Schema\SimpleUser|null $user, #[MapFrom('comments_url')]
565+
public string $updatedAt, public string|null $description, public int $comments, #[MapFrom('comments_enabled')]
566+
public bool|null $commentsEnabled, public Schema\SimpleUser|null $user, #[MapFrom('comments_url')]
562567
public string $commentsUrl, public Schema\SimpleUser|null $owner, public bool|null $truncated, public array|null $forks, public array|null $history,)
563568
{
564569
}

clients/GitHub/src/Schema/GistSimple.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,9 @@
591591
"comments": {
592592
"type": "integer"
593593
},
594+
"comments_enabled": {
595+
"type": "boolean"
596+
},
594597
"user": {
595598
"anyOf": [
596599
{
@@ -1038,6 +1041,9 @@
10381041
"comments": {
10391042
"type": "integer"
10401043
},
1044+
"comments_enabled": {
1045+
"type": "boolean"
1046+
},
10411047
"user": {
10421048
"type": [
10431049
"string",
@@ -1241,6 +1247,7 @@
12411247
"updated_at": "1970-01-01T00:00:00+00:00",
12421248
"description": "generated",
12431249
"comments": 8,
1250+
"comments_enabled": false,
12441251
"user": {
12451252
"name": "generated",
12461253
"email": "generated",
@@ -1314,6 +1321,7 @@
13141321
"updated_at": "generated",
13151322
"description": "generated",
13161323
"comments": 8,
1324+
"comments_enabled": false,
13171325
"user": "generated",
13181326
"comments_url": "generated",
13191327
"owner": {
@@ -1356,7 +1364,8 @@ public function __construct(public array|null $forks, public array|null $history
13561364
public string|null $gitPushUrl, #[MapFrom('html_url')]
13571365
public string|null $htmlUrl, public Schema\GistSimple\Files|null $files, public bool|null $public, #[MapFrom('created_at')]
13581366
public string|null $createdAt, #[MapFrom('updated_at')]
1359-
public string|null $updatedAt, public string|null $description, public int|null $comments, public string|null $user, #[MapFrom('comments_url')]
1367+
public string|null $updatedAt, public string|null $description, public int|null $comments, #[MapFrom('comments_enabled')]
1368+
public bool|null $commentsEnabled, public string|null $user, #[MapFrom('comments_url')]
13601369
public string|null $commentsUrl, public Schema\SimpleUser|null $owner, public bool|null $truncated,)
13611370
{
13621371
}

0 commit comments

Comments
 (0)