Skip to content

Commit 8d77c0f

Browse files
authored
[GitHubEnterprise-3.7] Update to 1.1.4-a3c06b548eba345287efb1b13c620d6d from 1.1.4-99f7c55def8cb42085ac682fc71ab2d7
Detected Schema changes: starting work. Building original model for commit f880cb
1 parent ccb334f commit 8d77c0f

File tree

291 files changed

+734
-634
lines changed

Some content is hidden

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

291 files changed

+734
-634
lines changed

clients/GitHubEnterprise-3.7/etc/openapi-client-generator.state

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

clients/GitHubEnterprise-3.7/src/Internal/Hydrator/Operation/Meta.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,17 @@ private function hydrateApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema
178178
$properties['packages'] = $value;
179179

180180
after_packages:
181+
182+
$value = $payload['actions'] ?? null;
183+
184+
if ($value === null) {
185+
$properties['actions'] = null;
186+
goto after_actions;
187+
}
188+
189+
$properties['actions'] = $value;
190+
191+
after_actions:
181192
} catch (Throwable $exception) {
182193
throw UnableToHydrateObject::dueToError('ApiClients\Client\GitHubEnterprise\Schema\ApiOverview\Domains', $exception, stack: $this->hydrationStack);
183194
}
@@ -411,6 +422,21 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
411422
$packages = $packagesSerializer0->serialize($packages, $this);
412423
after_packages: $result['packages'] = $packages;
413424

425+
$actions = $object->actions;
426+
427+
if ($actions === null) {
428+
goto after_actions;
429+
}
430+
431+
static $actionsSerializer0;
432+
433+
if ($actionsSerializer0 === null) {
434+
$actionsSerializer0 = new SerializeArrayItems(...[]);
435+
}
436+
437+
$actions = $actionsSerializer0->serialize($actions, $this);
438+
after_actions: $result['actions'] = $actions;
439+
414440
return $result;
415441
}
416442

clients/GitHubEnterprise-3.7/src/Internal/Operator/Actions/CreateOrUpdateEnvironmentSecret.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(int $repositoryId, string $environmentName, string $secretName, array $params): EmptyObject|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\CreateOrUpdateEnvironmentSecret($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $secretName);

clients/GitHubEnterprise-3.7/src/Internal/Operator/Actions/DeleteEnvironmentSecret.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2222
{
2323
}
2424

25+
/** @return */
2526
public function call(int $repositoryId, string $environmentName, string $secretName): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\DeleteEnvironmentSecret($repositoryId, $environmentName, $secretName);

clients/GitHubEnterprise-3.7/src/Internal/Operator/Actions/GetEnvironmentPublicKey.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName): ActionsPublicKey
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GetEnvironmentPublicKey($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName);

clients/GitHubEnterprise-3.7/src/Internal/Operator/Actions/GetEnvironmentSecret.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName, string $secretName): ActionsSecret
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GetEnvironmentSecret($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $secretName);

clients/GitHubEnterprise-3.7/src/Internal/Operator/Actions/ListEnvironmentSecrets.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(int $repositoryId, string $environmentName, int $perPage = 30, int $page = 1): Json
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\ListEnvironmentSecrets($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $perPage, $page);

clients/GitHubEnterprise-3.7/src/Internal/Operator/Repos/CreateDeploymentBranchPolicy.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(string $owner, string $repo, string $environmentName, array $params): DeploymentBranchPolicy|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\CreateDeploymentBranchPolicy($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName);

clients/GitHubEnterprise-3.7/src/Internal/Operator/Repos/CreateForAuthenticatedUser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2525
{
2626
}
2727

28+
/** @return */
2829
public function call(array $params): FullRepository|WithoutBody
2930
{
3031
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\CreateForAuthenticatedUser($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator);

clients/GitHubEnterprise-3.7/src/Internal/Operator/Repos/CreateInOrg.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte
2424
{
2525
}
2626

27+
/** @return */
2728
public function call(string $org, array $params): FullRepository
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\CreateInOrg($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org);

0 commit comments

Comments
 (0)