Skip to content

[GitHub] Update to 1.1.4-045e5b013b51c6a9b4cceeceae74dd4d from 1.1.4-79bfc552fc9431ae453024109bc3424d #1268

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

Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,478 changes: 739 additions & 739 deletions clients/GitHub/etc/openapi-client-generator.state

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
'ApiClients\Client\GitHub\Schema\ValidationErrorSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationErrorSimple($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\GlobalAdvisory' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️GlobalAdvisory($object),
'ApiClients\Client\GitHub\Schema\GlobalAdvisory\Cvss' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️GlobalAdvisory⚡️Cvss($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
40 changes: 20 additions & 20 deletions clients/GitHub/src/Internal/Hydrator/Operation/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte

after_nodeId:

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

if ($value === null) {
$properties['clientId'] = null;
goto after_clientId;
}

$properties['clientId'] = $value;

after_clientId:

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

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

after_installationsCount:

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

if ($value === null) {
$properties['clientId'] = null;
goto after_clientId;
}

$properties['clientId'] = $value;

after_clientId:

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

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

$clientId = $object->clientId;

if ($clientId === null) {
goto after_clientId;
}

after_clientId: $result['client_id'] = $clientId;

$owner = $object->owner;

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

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

$clientId = $object->clientId;

if ($clientId === null) {
goto after_clientId;
}

after_clientId: $result['client_id'] = $clientId;

$clientSecret = $object->clientSecret;

if ($clientSecret === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
'ApiClients\Client\GitHub\Schema\WebhookConfig' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️WebhookConfig($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
'ApiClients\Client\GitHub\Schema\ScimError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ScimError($object),
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
'ApiClients\Client\GitHub\Schema\ScimError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ScimError($object),
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
'ApiClients\Client\GitHub\Schema\ScimError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ScimError($object),
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\AppPermissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️AppPermissions($object),
'ApiClients\Client\GitHub\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\AppPermissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️AppPermissions($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte

after_nodeId:

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

if ($value === null) {
$properties['clientId'] = null;
goto after_clientId;
}

$properties['clientId'] = $value;

after_clientId:

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

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

after_installationsCount:

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

if ($value === null) {
$properties['clientId'] = null;
goto after_clientId;
}

$properties['clientId'] = $value;

after_clientId:

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

if ($value === null) {
Expand Down Expand Up @@ -752,7 +752,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\Integration\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Integration⚡️Permissions($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
'ApiClients\Client\GitHub\Schema\ValidationErrorSimple' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationErrorSimple($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down Expand Up @@ -833,6 +833,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
$nodeId = $object->nodeId;
after_nodeId: $result['node_id'] = $nodeId;

$clientId = $object->clientId;

if ($clientId === null) {
goto after_clientId;
}

after_clientId: $result['client_id'] = $clientId;

$owner = $object->owner;

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

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

$clientId = $object->clientId;

if ($clientId === null) {
goto after_clientId;
}

after_clientId: $result['client_id'] = $clientId;

$clientSecret = $object->clientSecret;

if ($clientSecret === null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'DateTimeImmutable' => $this->serializeValueDateTimeImmutable($object),
'DateTimeInterface' => $this->serializeValueDateTimeInterface($object),
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\AppPermissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️AppPermissions($object),
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\AppPermissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️AppPermissions($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
'ApiClients\Client\GitHub\Schema\ValidationError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️ValidationError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down
40 changes: 20 additions & 20 deletions clients/GitHub/src/Internal/Hydrator/Operation/Apps/AppSlug.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ private function hydrateApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Inte

after_nodeId:

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

if ($value === null) {
$properties['clientId'] = null;
goto after_clientId;
}

$properties['clientId'] = $value;

after_clientId:

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

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

after_installationsCount:

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

if ($value === null) {
$properties['clientId'] = null;
goto after_clientId;
}

$properties['clientId'] = $value;

after_clientId:

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

if ($value === null) {
Expand Down Expand Up @@ -697,7 +697,7 @@ public function serializeObjectOfType(object $object, string $className): mixed
'ApiClients\Client\GitHub\Schema\SimpleUser' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️SimpleUser($object),
'ApiClients\Client\GitHub\Schema\Integration\Permissions' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️Integration⚡️Permissions($object),
'ApiClients\Client\GitHub\Schema\BasicError' => $this->serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema⚡️BasicError($object),
default => throw new LogicException('No serialization defined for $className'),
default => throw new LogicException("No serialization defined for $className"),
};
} catch (Throwable $exception) {
throw UnableToSerializeObject::dueToError($className, $exception);
Expand Down Expand Up @@ -778,6 +778,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHub⚡️Schema
$nodeId = $object->nodeId;
after_nodeId: $result['node_id'] = $nodeId;

$clientId = $object->clientId;

if ($clientId === null) {
goto after_clientId;
}

after_clientId: $result['client_id'] = $clientId;

$owner = $object->owner;

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

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

$clientId = $object->clientId;

if ($clientId === null) {
goto after_clientId;
}

after_clientId: $result['client_id'] = $clientId;

$clientSecret = $object->clientSecret;

if ($clientSecret === null) {
Expand Down
Loading
Loading