Skip to content

[GitHub] Update to 1.1.4-d543c2cfa43a2dcdc9526a6061319dd0 from 1.1.4-c1e4d4617fb30b28dd9ff95dbcd32f2e #1431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions clients/GitHub/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "c1e4d4617fb30b28dd9ff95dbcd32f2e",
"specHash": "d543c2cfa43a2dcdc9526a6061319dd0",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -216,7 +216,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/BaseGist.php",
"hash": "6a4c0f624e46228684170909267749bb"
"hash": "3db403d0909d3622d6938216823ed029"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/PublicUser.php",
Expand All @@ -228,7 +228,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple.php",
"hash": "830ff132801cff2da8c06596d183f567"
"hash": "7dbbdfe3e6de7b333f5a55417d4a8d88"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistComment.php",
Expand Down Expand Up @@ -2612,7 +2612,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple\/ForkOf.php",
"hash": "8ee1e1e01693a49c7d89564e80f0290e"
"hash": "6a2ecb3a9df1b563f1ac267ced489d0c"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/GistSimple\/Files.php",
Expand Down Expand Up @@ -25156,7 +25156,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists.php",
"hash": "f3cd0b797cc4d04c11ef320706f1d418"
"hash": "4fb009673141dc515bd893aec88a5063"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/Public_.php",
Expand All @@ -25168,7 +25168,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId.php",
"hash": "f59b327f24067b8fd169192ac6dc8f1c"
"hash": "9a072f8beece9100d403e1bbe946f866"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Comments.php",
Expand All @@ -25184,15 +25184,15 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Forks.php",
"hash": "dcacb75feea340a9887786655fe979a5"
"hash": "749382e1f6056dcf0f3a0eb4565196df"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Star.php",
"hash": "8469fc73ba28afc76747dfe501ee6ce2"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gists\/GistId\/Sha.php",
"hash": "2c721313d55016c2b8696ee71ba8efc0"
"hash": "26bd01f1069c35c11dd97e82322edc1f"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Gitignore\/Templates\/Name.php",
Expand Down Expand Up @@ -31468,7 +31468,7 @@
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/PrivateRegistries.php",
"hash": "8eb1b85a46ebf692eac4887162044dce"
"hash": "42129b777cab6a6ddff1350f6cde5015"
},
{
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Orgs\/Org\/PrivateRegistries.php",
Expand Down
38 changes: 38 additions & 0 deletions clients/GitHub/src/Internal/Hydrator/Operation/Gists.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

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

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

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

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

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

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

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
38 changes: 38 additions & 0 deletions clients/GitHub/src/Internal/Hydrator/Operation/Gists/GistId.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

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

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

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

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

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

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

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Base

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

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

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Gist

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

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

after_comments:

$value = $payload['comments_enabled'] ?? null;

if ($value === null) {
$properties['commentsEnabled'] = null;
goto after_commentsEnabled;
}

$properties['commentsEnabled'] = $value;

after_commentsEnabled:

$value = $payload['user'] ?? null;

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

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

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

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

$commentsEnabled = $object->commentsEnabled;

if ($commentsEnabled === null) {
goto after_commentsEnabled;
}

after_commentsEnabled: $result['comments_enabled'] = $commentsEnabled;

$user = $object->user;

if ($user === null) {
Expand Down
7 changes: 6 additions & 1 deletion clients/GitHub/src/Schema/BaseGist.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@
"comments": {
"type": "integer"
},
"comments_enabled": {
"type": "boolean"
},
"user": {
"anyOf": [
{
Expand Down Expand Up @@ -487,6 +490,7 @@
"updated_at": "1970-01-01T00:00:00+00:00",
"description": "generated",
"comments": 8,
"comments_enabled": false,
"user": {
"name": "generated",
"email": "generated",
Expand Down Expand Up @@ -558,7 +562,8 @@ public function __construct(public string $url, #[MapFrom('forks_url')]
public string $gitPushUrl, #[MapFrom('html_url')]
public string $htmlUrl, public Schema\BaseGist\Files $files, public bool $public, #[MapFrom('created_at')]
public string $createdAt, #[MapFrom('updated_at')]
public string $updatedAt, public string|null $description, public int $comments, public Schema\SimpleUser|null $user, #[MapFrom('comments_url')]
public string $updatedAt, public string|null $description, public int $comments, #[MapFrom('comments_enabled')]
public bool|null $commentsEnabled, public Schema\SimpleUser|null $user, #[MapFrom('comments_url')]
public string $commentsUrl, public Schema\SimpleUser|null $owner, public bool|null $truncated, public array|null $forks, public array|null $history,)
{
}
Expand Down
11 changes: 10 additions & 1 deletion clients/GitHub/src/Schema/GistSimple.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,9 @@
"comments": {
"type": "integer"
},
"comments_enabled": {
"type": "boolean"
},
"user": {
"anyOf": [
{
Expand Down Expand Up @@ -1038,6 +1041,9 @@
"comments": {
"type": "integer"
},
"comments_enabled": {
"type": "boolean"
},
"user": {
"type": [
"string",
Expand Down Expand Up @@ -1241,6 +1247,7 @@
"updated_at": "1970-01-01T00:00:00+00:00",
"description": "generated",
"comments": 8,
"comments_enabled": false,
"user": {
"name": "generated",
"email": "generated",
Expand Down Expand Up @@ -1314,6 +1321,7 @@
"updated_at": "generated",
"description": "generated",
"comments": 8,
"comments_enabled": false,
"user": "generated",
"comments_url": "generated",
"owner": {
Expand Down Expand Up @@ -1356,7 +1364,8 @@ public function __construct(public array|null $forks, public array|null $history
public string|null $gitPushUrl, #[MapFrom('html_url')]
public string|null $htmlUrl, public Schema\GistSimple\Files|null $files, public bool|null $public, #[MapFrom('created_at')]
public string|null $createdAt, #[MapFrom('updated_at')]
public string|null $updatedAt, public string|null $description, public int|null $comments, public string|null $user, #[MapFrom('comments_url')]
public string|null $updatedAt, public string|null $description, public int|null $comments, #[MapFrom('comments_enabled')]
public bool|null $commentsEnabled, public string|null $user, #[MapFrom('comments_url')]
public string|null $commentsUrl, public Schema\SimpleUser|null $owner, public bool|null $truncated,)
{
}
Expand Down
Loading
Loading