Skip to content

Commit ee25df3

Browse files
authored
[GitHubEnterprise-3.11] Update to 1.1.4-3be240f188d592ffe6c58927a2a011e4 from 1.1.4-d810efa450e64b6193d7452eaa525971
Detected Schema changes: starting work. Building original model for commit 12684d SPEC: extracted 2 commits from history DONE: completed ├─┬Paths │ ├─┬/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬default │ │ └──[M] value (222282:7) │ ├─┬/repos/{template_owner}/{template_repo}/generate │ │ └─┬POST │ │ └──[M] description (37036:20) │ ├─┬/users/{username}/repos │ │ └─┬GET │ │ └──[M] description (44805:20) │ ├─┬/orgs/{org}/repos │ │ └─┬POST │ │ └──[M] description (13803:20) │ └─┬/user/repos │ └─┬POST │ └──[M] description (42964:20) └─┬Components ├──[-] schemas (83896:7)❌ ├──[-] schemas (83950:7)❌ ├──[-] schemas (83994:7)❌ ├──[-] schemas (83922:7)❌ ├──[-] schemas (83936:7)❌ ├──[-] schemas (83909:7)❌ ├──[-] schemas (83964:7)❌ ├──[-] schemas (83979:7)❌ ├─┬repository-webhooks │ └─┬size │ └──[M] description (86906:24) ├─┬secret-scanning-location │ ├─┬type │ │ ├──[-] enum (84022:13)❌ │ │ ├──[-] enum (84024:13)❌ │ │ ├──[-] enum (84025:13)❌ │ │ ├──[-] enum (84018:13)❌ │ │ ├──[-] enum (84019:13)❌ │ │ ├──[-] enum (84021:13)❌ │ │ ├──[-] enum (84020:13)❌ │ │ ├──[-] enum (84023:13)❌ │ │ └──[M] description (83900:24) │ └─┬details │ ├──[-] oneOf (83979:7)❌ │ ├──[-] oneOf (83807:7)❌ │ ├──[-] oneOf (83883:7)❌ │ ├──[-] oneOf (83909:7)❌ │ ├──[-] oneOf (83857:7)❌ │ ├──[-] oneOf (83950:7)❌ │ ├──[-] oneOf (83964:7)❌ │ ├──[-] oneOf (83922:7)❌ │ ├─┬ONEOF │ │ └──[M] $ref (83865:20)❌ │ ├─┬ONEOF │ │ └──[M] $ref (83802:20)❌ │ ├─┬ONEOF │ │ └──[M] $ref (83878:20)❌ │ └─┬ONEOF │ └──[M] $ref (83852:20)❌ ├─┬minimal-repository │ └─┬size │ └──[M] description (69398:24) ├─┬repository │ └─┬size │ └──[M] description (65069:24) ├─┬full-repository │ └─┬size │ └──[M] description (71446:24) └─┬api-overview └─┬domains └──[-] properties (69124:13)❌ Date: 12/02/23 | Commit: New: etc/specs/GitHubEnterprise-3.11/previous.spec.yaml, Original: etc/specs/GitHubEnterprise-3.11/current.spec.yaml Document Element | Total Changes | Breaking Changes paths | 5 | 0 components | 34 | 29 ❌ 29 Breaking changes out of 39 INFO: Modifications: 14 INFO: Removals: 25 INFO: Breaking Removals: 25 INFO: Breaking Modifications: 4 ERROR: breaking changes discovered
1 parent 173834a commit ee25df3

File tree

327 files changed

+1693
-699
lines changed

Some content is hidden

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

327 files changed

+1693
-699
lines changed

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

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

clients/GitHubEnterprise-3.11/src/Internal/Attribute/CastUnionToType/Schema/SecretScanningLocation/Details.php

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,62 @@ public function cast(mixed $value, ObjectMapper $hydrator): mixed
5252
} catch (Throwable) {
5353
}
5454
}
55+
56+
if ($signature === 'discussion_title_url') {
57+
try {
58+
return $hydrator->hydrateObject(Schema\SecretScanningLocationDiscussionTitle::class, $value);
59+
} catch (Throwable) {
60+
}
61+
}
62+
63+
if ($signature === 'discussion_body_url') {
64+
try {
65+
return $hydrator->hydrateObject(Schema\SecretScanningLocationDiscussionBody::class, $value);
66+
} catch (Throwable) {
67+
}
68+
}
69+
70+
if ($signature === 'discussion_comment_url') {
71+
try {
72+
return $hydrator->hydrateObject(Schema\SecretScanningLocationDiscussionComment::class, $value);
73+
} catch (Throwable) {
74+
}
75+
}
76+
77+
if ($signature === 'pull_request_title_url') {
78+
try {
79+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestTitle::class, $value);
80+
} catch (Throwable) {
81+
}
82+
}
83+
84+
if ($signature === 'pull_request_body_url') {
85+
try {
86+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestBody::class, $value);
87+
} catch (Throwable) {
88+
}
89+
}
90+
91+
if ($signature === 'pull_request_comment_url') {
92+
try {
93+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestComment::class, $value);
94+
} catch (Throwable) {
95+
}
96+
}
97+
98+
if ($signature === 'pull_request_review_url') {
99+
try {
100+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestReview::class, $value);
101+
} catch (Throwable) {
102+
}
103+
}
104+
105+
if ($signature === 'pull_request_review_comment_url') {
106+
try {
107+
return $hydrator->hydrateObject(Schema\SecretScanningLocationPullRequestReviewComment::class, $value);
108+
} catch (Throwable) {
109+
}
110+
}
55111
}
56112

57113
return $value;

clients/GitHubEnterprise-3.11/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.11/src/Internal/Hydrator/WebHook/SecretScanningAlertLocation.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4518,6 +4518,14 @@ private function serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡
45184518
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationIssueTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationIssueTitle($details),
45194519
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationIssueBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationIssueBody($details),
45204520
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationIssueComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationIssueComment($details),
4521+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationDiscussionTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationDiscussionTitle($details),
4522+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationDiscussionBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationDiscussionBody($details),
4523+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationDiscussionComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationDiscussionComment($details),
4524+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationPullRequestTitle' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationPullRequestTitle($details),
4525+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationPullRequestBody' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationPullRequestBody($details),
4526+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationPullRequestComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationPullRequestComment($details),
4527+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationPullRequestReview' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationPullRequestReview($details),
4528+
'ApiClients\Client\GitHubEnterprise\Schema\SecretScanningLocationPullRequestReviewComment' => $this->serializeObjectApiClients⚡️Client⚡️GitHubEnterprise⚡️Schema⚡️SecretScanningLocationPullRequestReviewComment($details),
45214529
};
45224530
after_details: $result['details'] = $details;
45234531

clients/GitHubEnterprise-3.11/src/Internal/Operator/Actions/CreateEnvironmentVariable.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, array $params): EmptyObject
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\CreateEnvironmentVariable($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName);

clients/GitHubEnterprise-3.11/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.11/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.11/src/Internal/Operator/Actions/DeleteEnvironmentVariable.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 $name, string $environmentName): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\DeleteEnvironmentVariable($repositoryId, $name, $environmentName);

clients/GitHubEnterprise-3.11/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.11/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.11/src/Internal/Operator/Actions/GetEnvironmentVariable.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 $name): ActionsVariable
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\GetEnvironmentVariable($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $name);

clients/GitHubEnterprise-3.11/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.11/src/Internal/Operator/Actions/ListEnvironmentVariables.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 = 10, int $page = 1): Json
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\ListEnvironmentVariables($this->responseSchemaValidator, $this->hydrator, $repositoryId, $environmentName, $perPage, $page);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Actions/UpdateEnvironmentVariable.php

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

26+
/** @return */
2627
public function call(int $repositoryId, string $name, string $environmentName, array $params): WithoutBody
2728
{
2829
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Actions\UpdateEnvironmentVariable($this->requestSchemaValidator, $repositoryId, $name, $environmentName);

clients/GitHubEnterprise-3.11/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.11/src/Internal/Operator/Repos/CreateDeploymentProtectionRule.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 $environmentName, string $repo, string $owner, array $params): DeploymentProtectionRule
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\CreateDeploymentProtectionRule($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $environmentName, $repo, $owner);

clients/GitHubEnterprise-3.11/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.11/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);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/CreateOrUpdateEnvironment.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 $owner, string $repo, string $environmentName, array $params): Environment
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\CreateOrUpdateEnvironment($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/CreateUsingTemplate.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 $templateOwner, string $templateRepo, array $params): FullRepository
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\CreateUsingTemplate($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $templateOwner, $templateRepo);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/DeleteAnEnvironment.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(string $owner, string $repo, string $environmentName): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\DeleteAnEnvironment($owner, $repo, $environmentName);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/DeleteDeploymentBranchPolicy.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(string $owner, string $repo, string $environmentName, int $branchPolicyId): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\DeleteDeploymentBranchPolicy($owner, $repo, $environmentName, $branchPolicyId);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/DisableDeploymentProtectionRule.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(string $environmentName, string $repo, string $owner, int $protectionRuleId): WithoutBody
2627
{
2728
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\DisableDeploymentProtectionRule($environmentName, $repo, $owner, $protectionRuleId);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/GetAllDeploymentProtectionRules.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 $environmentName, string $repo, string $owner): Ok
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\GetAllDeploymentProtectionRules($this->responseSchemaValidator, $this->hydrator, $environmentName, $repo, $owner);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/GetCustomDeploymentProtectionRule.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 $owner, string $repo, string $environmentName, int $protectionRuleId): DeploymentProtectionRule
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\GetCustomDeploymentProtectionRule($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $protectionRuleId);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/GetDeploymentBranchPolicy.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 $owner, string $repo, string $environmentName, int $branchPolicyId): DeploymentBranchPolicy
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\GetDeploymentBranchPolicy($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $branchPolicyId);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/GetEnvironment.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 $owner, string $repo, string $environmentName): Environment
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\GetEnvironment($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/ListCustomDeploymentRuleIntegrations.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 $environmentName, string $repo, string $owner, int $page = 1, int $perPage = 30): Ok
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\ListCustomDeploymentRuleIntegrations($this->responseSchemaValidator, $this->hydrator, $environmentName, $repo, $owner, $page, $perPage);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/ListDeploymentBranchPolicies.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 $owner, string $repo, string $environmentName, int $perPage = 30, int $page = 1): Ok
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\ListDeploymentBranchPolicies($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $perPage, $page);

clients/GitHubEnterprise-3.11/src/Internal/Operator/Repos/UpdateDeploymentBranchPolicy.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 $owner, string $repo, string $environmentName, int $branchPolicyId, array $params): DeploymentBranchPolicy
2829
{
2930
$operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Repos\UpdateDeploymentBranchPolicy($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $owner, $repo, $environmentName, $branchPolicyId);

clients/GitHubEnterprise-3.11/src/Internal/Router/Delete/Actions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ public function deleteRepoVariable(array $params): WithoutBody
226226
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['name']);
227227
}
228228

229+
/** @return */
229230
public function deleteEnvironmentSecret(array $params): WithoutBody
230231
{
231232
$arguments = [];
@@ -252,6 +253,7 @@ public function deleteEnvironmentSecret(array $params): WithoutBody
252253
return $operator->call($arguments['repository_id'], $arguments['environment_name'], $arguments['secret_name']);
253254
}
254255

256+
/** @return */
255257
public function deleteEnvironmentVariable(array $params): WithoutBody
256258
{
257259
$arguments = [];

clients/GitHubEnterprise-3.11/src/Internal/Router/Delete/Eight.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct(private Routers $routers)
1818
{
1919
}
2020

21-
/** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody|Observable<Schema\Label>|Schema\BasicError */
21+
/** @return |Observable<Schema\Label>|Schema\BasicError */
2222
public function call(string $call, array $params, array $pathChunks): WithoutBody|Ok|Json|iterable|BasicError|PullRequestReview
2323
{
2424
if ($pathChunks[0] === '') {

clients/GitHubEnterprise-3.11/src/Internal/Router/Delete/Repos.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ public function deleteDeployment(array $params): WithoutBody
358358
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['deployment_id']);
359359
}
360360

361+
/** @return */
361362
public function deleteAnEnvironment(array $params): WithoutBody
362363
{
363364
$arguments = [];
@@ -654,6 +655,7 @@ public function deleteAccessRestrictions(array $params): WithoutBody
654655
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['branch']);
655656
}
656657

658+
/** @return */
657659
public function deleteDeploymentBranchPolicy(array $params): WithoutBody
658660
{
659661
$arguments = [];
@@ -686,6 +688,7 @@ public function deleteDeploymentBranchPolicy(array $params): WithoutBody
686688
return $operator->call($arguments['owner'], $arguments['repo'], $arguments['environment_name'], $arguments['branch_policy_id']);
687689
}
688690

691+
/** @return */
689692
public function disableDeploymentProtectionRule(array $params): WithoutBody
690693
{
691694
$arguments = [];

0 commit comments

Comments
 (0)