Skip to content
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
106 changes: 33 additions & 73 deletions clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterpriseCloud⚡️S
$value = $payload['state'] ?? null;

if ($value === null) {
$missingFields[] = 'state';
$properties['state'] = null;
goto after_state;
}

Expand Down Expand Up @@ -1208,7 +1208,12 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterpriseClou
$instancesUrl = $object->instancesUrl;
after_instancesUrl: $result['instances_url'] = $instancesUrl;

$state = $object->state;
$state = $object->state;

if ($state === null) {
goto after_state;
}

after_state: $result['state'] = $state;

$fixedAt = $object->fixedAt;
Expand Down
Loading
Loading