From 76683969a68caa6813f0b98f0c58e6337bade355 Mon Sep 17 00:00:00 2001 From: WyriHaximus <147145+WyriHaximus@users.noreply.github.com> Date: Thu, 20 Mar 2025 09:00:56 +0000 Subject: [PATCH] [GitHubEnterprise-3.13] Update to 1.1.4-846745eeb2646f15a6b0f4da036bfed8 from 1.1.4-09460ffde7c51e6470752d5d41c06e16 Detected Schema changes: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ``` ├─┬personal-access-token-request-cancelled │ └─┬POST │ ├──[🔀] summary (55842:16) │ └─┬Extensions │ └──[🔀] x-github (55901:9) ├─┬personal-access-token-request-approved │ └─┬POST │ ├──[🔀] summary (55777:16) │ └─┬Extensions │ └──[🔀] x-github (55835:9) ├─┬personal-access-token-request-created │ └─┬POST │ ├──[🔀] summary (55908:16) │ └─┬Extensions │ └──[🔀] x-github (55966:9) ├─┬personal-access-token-request-denied │ └─┬POST │ ├──[🔀] summary (55973:16) │ └─┬Extensions │ └──[🔀] x-github (56031:9) └─┬Components └─┬repository-rule-pull-request └─┬parameters └─┬allowed_merge_methods └─┬Schema ├──[➖] enum (75385:19)❌ ├──[➖] enum (75386:19)❌ └──[➖] enum (75387:19)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | webhooks | 8 | 0 | | components | 3 | 3 | Date: 03/20/25 | Commit: Original: etc/specs/GitHubEnterprise-3.13/current.spec.yaml, Modified: etc/specs/GitHubEnterprise-3.13/previous.spec.yaml, - ❌ **BREAKING Changes**: _3_ out of _11_ - **Modifications**: _8_ - **Removals**: _3_ - **Breaking Removals**: _3_ ERROR: breaking changes discovered --- .../etc/openapi-client-generator.state | 58 +++++++++---------- .../Internal/Operator/Issues/ListForOrg.php | 2 +- .../Operator/Issues/ListForOrgListing.php | 2 +- .../Internal/Operator/Issues/ListForRepo.php | 2 +- .../Operator/Issues/ListForRepoListing.php | 2 +- .../src/Internal/Router/Get/Five.php | 2 +- .../src/Internal/Router/Get/Four.php | 2 +- .../src/Internal/Router/Get/Issues.php | 4 +- .../src/Internal/Router/List/Five.php | 2 +- .../src/Internal/Router/List/Four.php | 2 +- .../src/Internal/Router/List/Issues.php | 4 +- .../src/Operation/Issues.php | 8 +-- .../src/PHPStan/ClientCallReturnTypes.php | 8 +-- .../Request/ApplicationJson.php | 5 ++ .../Request/ApplicationJson.php | 5 ++ .../Request/ApplicationJson.php | 5 ++ .../Request/ApplicationJson.php | 5 ++ .../src/Schema/RepositoryRule.php | 5 ++ .../src/Schema/RepositoryRuleDetailed.php | 5 ++ .../src/Schema/RepositoryRulePullRequest.php | 5 ++ .../RepositoryRulePullRequest/Parameters.php | 5 ++ .../src/Schema/RepositoryRuleset.php | 5 ++ .../WebhookRepositoryRulesetCreated.php | 5 ++ .../WebhookRepositoryRulesetDeleted.php | 5 ++ .../Schema/WebhookRepositoryRulesetEdited.php | 20 +++++++ .../Changes.php | 15 +++++ .../Changes/Rules.php | 15 +++++ .../Changes/Rules/Updated.php | 5 ++ .../tests/Types/ClientCallReturnTypes.php | 8 +-- .../GitHubEnterprise-3.13/current.spec.yaml | 20 +++---- 30 files changed, 171 insertions(+), 65 deletions(-) diff --git a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state index 3293105f123..ded8d0c07b3 100644 --- a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state +++ b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "09460ffde7c51e6470752d5d41c06e16", + "specHash": "846745eeb2646f15a6b0f4da036bfed8", "generatedFiles": { "files": [ { @@ -3596,7 +3596,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForOrg.php", - "hash": "1c78b42ed0214ac9e9ce137336b56083" + "hash": "10311a7cfcbd379762a647249198a954" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForOrgTest.php", @@ -3608,7 +3608,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForOrgListing.php", - "hash": "33ffa7468cc64df668823de785e26fea" + "hash": "908f9565b5550840d3118b1fc720e8a3" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForOrgListingTest.php", @@ -8448,7 +8448,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForRepo.php", - "hash": "028b57086cd0ae8316bf74f1b85a6013" + "hash": "c4ff12b80160f0f294d37a2b93baab80" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForRepoTest.php", @@ -8460,7 +8460,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Operator\/Issues\/ListForRepoListing.php", - "hash": "55463e0ab338afd4f972ebf956f53fa3" + "hash": "66492db2f5877827fdc0332f079db462" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Internal\/Operation\/Issues\/ListForRepoListingTest.php", @@ -14092,7 +14092,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest.php", - "hash": "3b6f0feaa2b80f3184d7af23771d135e" + "hash": "15bb1a04bb357d871d17cfa300df82a1" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleParamsStatusCheckConfiguration.php", @@ -14136,7 +14136,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRule.php", - "hash": "8677bdfb0db5dc0d72b318604176d181" + "hash": "22054f7104aef2a680f7bb8a38d88622" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/RepositoryRuleset\/Conditions.php", @@ -14144,7 +14144,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php", - "hash": "3ec01efeb67a01814678f3d12fd364fd" + "hash": "3ce6a2bcf027d371fe3e7e3e93826b2c" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RuleSuites.php", @@ -14888,7 +14888,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleDetailed.php", - "hash": "edd1ca4e40f39c9135b41e7d8b12dad4" + "hash": "f3f7f72f11915ad93bd068994ca86be4" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/SecretScanningAlert.php", @@ -16828,15 +16828,15 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php", - "hash": "357ef2d78f8349b22b1a5b112f25966b" + "hash": "0195cf695bbc4161dc3e1a988dc5418f" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php", - "hash": "ccc1eac230a6ca37c498db32fac32fd4" + "hash": "5ff4576c8e7187c986ce592bd14bba95" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php", - "hash": "77617c63f7f0f20fe23c16da6a855c53" + "hash": "535ac0a4b731d389678244cd931a669e" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryTransferred.php", @@ -18036,7 +18036,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRulePullRequest\/Parameters.php", - "hash": "84beef7b2b631854126348169db3eada" + "hash": "7447d661647fc5f5025273387f92be1a" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRequiredStatusChecks\/Parameters.php", @@ -23948,7 +23948,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes.php", - "hash": "d62c8d2fcbff1e4a3454c8cce0c80aca" + "hash": "c4f1499fa21d77d2cdc113a73e192553" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Conditions.php", @@ -23976,7 +23976,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules.php", - "hash": "3f38a2e8260764643df3fdd621b9d645" + "hash": "b694b6fdc6ccaec44cc66425710e27d0" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Rule.php", @@ -23984,7 +23984,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated.php", - "hash": "dcda648add0d7a221607668dc0b774c9" + "hash": "0f1717cf06b884b2bc0023ca3bdc39cf" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited\/Changes\/Rules\/Updated\/Changes.php", @@ -25148,7 +25148,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "8e1ececc27bc353b8696cf635c0cc26a" + "hash": "501b32ebbc5d1cde52290bb5093856df" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson\/Conditions.php", @@ -25156,7 +25156,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php", - "hash": "254c23ab4e019484d466a1d31d400260" + "hash": "9479fd011dbec45b021a16e5b86d6328" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php", @@ -26184,11 +26184,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "c3fc5c7a7528058a034a95d83636730b" + "hash": "9ae48be2467e7cc3a0d07410464d6a75" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php", - "hash": "b04c74751f01a0045dfdc845799bf083" + "hash": "aa64ba20d92249c90d949c4d3967cf7d" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php", @@ -26440,7 +26440,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Issues.php", - "hash": "c7bc48cbc64206b961ed067c7fa812ad" + "hash": "5abd260455fd47ca64f6da35cccde09d" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Migrations.php", @@ -26536,7 +26536,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Issues.php", - "hash": "2aef2366862555bdd23a37fa7a54c8ad" + "hash": "aa1786fec2491cc233f592cf7202afb2" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Migrations.php", @@ -26916,7 +26916,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Four.php", - "hash": "98d21ae0a0362abed532ed7127ce5c5c" + "hash": "373bf46b3bfb68ab68be07afe119271e" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", @@ -26928,7 +26928,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", - "hash": "a8131aaee3ff737d431561e93a6a3270" + "hash": "944582af066e6fc6c831c4e7b872a838" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -26956,11 +26956,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Four.php", - "hash": "eb1fd2b7b100ef0753d005fc97703337" + "hash": "04d7bebd979765b12c9ded734740a97c" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php", - "hash": "980b73b2bfe634a1328d81fbe86232f6" + "hash": "acd7909d2adc36a5541ecf4184f9e6ac" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Internal\/Router\/List\/Six.php", @@ -27132,11 +27132,11 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "32ae5397ae138ad50e6ed2a47a592ff1" + "hash": "2fb5474325448bccbcb22bb7d1158ea1" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "2d628ae5ac22cca728c77ea34231ae9a" + "hash": "54beea339c8099994a522e19c9c55b8c" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -27208,7 +27208,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Issues.php", - "hash": "8a3c4c0e40ac43e8cad7a6b7fc0b091c" + "hash": "2b1c01814ea22ab3511d57bfefb43f7f" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Licenses.php", diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrg.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrg.php index a23731bbbd9..3e18ee14549 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrg.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrg.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForOrg($this->responseSchemaValidator, $this->hydrator, $org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrgListing.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrgListing.php index dffd8fdc5da..a604686a81b 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrgListing.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForOrgListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, string $labels, string $type, string $since, string $filter = 'assigned', string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForOrgListing($this->responseSchemaValidator, $this->hydrator, $org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepo.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepo.php index 4f490ff95c1..687722161b1 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepo.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepo.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function call(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForRepo($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepoListing.php b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepoListing.php index 2f959004c73..e20e0a73580 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepoListing.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Operator/Issues/ListForRepoListing.php @@ -25,7 +25,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function call(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state = 'open', string $sort = 'created', string $direction = 'desc', int $perPage = 30, int $page = 1): iterable|BasicError { $operation = new \ApiClients\Client\GitHubEnterprise\Internal\Operation\Issues\ListForRepoListing($this->responseSchemaValidator, $this->hydrator, $owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php index 232f2cbfbc4..71ce8678ba0 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Five.php @@ -50,7 +50,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|WithoutBody|Observable|Observable|Observable|Schema\BasicError|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): HookDelivery|ActionsEnterprisePermissions|Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\ListSelfHostedRunnersForEnterprise\Response\ApplicationJson\Ok|iterable|WithoutBody|GistComment|GhesChecksSystemRequirements|GhesClusterStatus|\ApiClients\Client\GitHubEnterprise\Schema\Operations\EnterpriseAdmin\GetManageConfigApplyStatus\Response\ApplicationJson\Ok|GhesLicenseInfo|GhesConfigNodes|GhesGetSettings|GhesReplicationStatus|BasicError|ThreadSubscription|ActionsOrganizationPermissions|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListSelfHostedRunnerGroupsForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListSelfHostedRunnersForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListOrgSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Actions\ListOrgVariables\Response\ApplicationJson\Ok|OrganizationCustomRepositoryRole|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Dependabot\ListOrgSecrets\Response\ApplicationJson\Ok|ExternalGroup|OrgHook|OrgMembership|Migration|OrgPreReceiveHook|RepositoryRuleset|TeamFull|ProjectCard|CheckAutomatedSecurityFixes|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Repos\GetAllEnvironments\Response\ApplicationJson\Ok|Installation|Language|LicenseContent|Page|ContentFile|SimpleUser|Stargazer|RepositorySubscription|Topic|TeamDiscussion|TeamMembership|TeamProject|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Apps\ListInstallationReposForAuthenticatedUser\Response\ApplicationJson\Ok|Package { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Four.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Four.php index aa7b5605691..edf2c3efe38 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Four.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Four.php @@ -53,7 +53,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): GlobalHook|PreReceiveEnvironment|PreReceiveHook|WebhookConfig|iterable|Installation|ApplicationGrant|WithoutBody|LicenseInfo|EnterpriseOverview|EnterpriseCommentOverview|EnterpriseGistOverview|EnterpriseHookOverview|EnterpriseIssueOverview|EnterpriseMilestoneOverview|EnterpriseOrganizationOverview|EnterprisePageOverview|EnterprisePullRequestOverview|EnterpriseRepositoryOverview|EnterpriseSecurityProductsOverview|EnterpriseUserOverview|EnterpriseSecurityAnalysisSettings|GistSimple|GitignoreTemplate|Thread|Ok|AnnouncementBanner|Json|ExternalGroups|\ApiClients\Client\GitHubEnterprise\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|ProjectColumn|FullRepository|BasicError|ConfigurationStatus|MaintenanceStatus|EnterpriseSettings|GpgKey|Key|SshSigningKey|Hovercard|StarredRepository|Repository { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Issues.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Issues.php index 7dc7caf77d5..173722419de 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Issues.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/Get/Issues.php @@ -83,7 +83,7 @@ public function listForAuthenticatedUser(array $params): iterable|WithoutBody return $operator->call($arguments['labels'], $arguments['since'], $arguments['filter'], $arguments['state'], $arguments['sort'], $arguments['direction'], $arguments['per_page'], $arguments['page']); } - /** @return iterable */ + /** @return Observable */ public function listForOrg(array $params): iterable { $arguments = []; @@ -458,7 +458,7 @@ public function listAssignees(array $params): iterable return $operator->call($arguments['owner'], $arguments['repo'], $arguments['per_page'], $arguments['page']); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepo(array $params): iterable|BasicError { $arguments = []; diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Five.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Five.php index e9c10a87549..dda11c9dc13 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Five.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Five.php @@ -16,7 +16,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Schema\BasicError|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|Observable|Schema\BasicError|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|BasicError|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Four.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Four.php index af812b45976..8306a8a22ae 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Four.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Four.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Issues.php b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Issues.php index 0630df4c273..49160140a7b 100644 --- a/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Issues.php +++ b/clients/GitHubEnterprise-3.13/src/Internal/Router/List/Issues.php @@ -172,7 +172,7 @@ public function listListing(array $params): iterable|WithoutBody } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function listForOrgListing(array $params): iterable { $arguments = []; @@ -286,7 +286,7 @@ public function listAssigneesListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepoListing(array $params): iterable|BasicError { $arguments = []; diff --git a/clients/GitHubEnterprise-3.13/src/Operation/Issues.php b/clients/GitHubEnterprise-3.13/src/Operation/Issues.php index 32a12585a1b..99d9a4ab541 100644 --- a/clients/GitHubEnterprise-3.13/src/Operation/Issues.php +++ b/clients/GitHubEnterprise-3.13/src/Operation/Issues.php @@ -32,13 +32,13 @@ public function listListing(string $labels, string $since, bool $collab, bool $o return $this->operators->issues👷ListListing()->call($labels, $since, $collab, $orgs, $owned, $pulls, $filter, $state, $sort, $direction, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listForOrg(string $org, string $labels, string $type, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable { return $this->operators->issues👷ListForOrg()->call($org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listForOrgListing(string $org, string $labels, string $type, string $since, string $filter, string $state, string $sort, string $direction, int $perPage, int $page): iterable { return $this->operators->issues👷ListForOrgListing()->call($org, $labels, $type, $since, $filter, $state, $sort, $direction, $perPage, $page); @@ -62,13 +62,13 @@ public function checkUserCanBeAssigned(string $owner, string $repo, string $assi return $this->operators->issues👷CheckUserCanBeAssigned()->call($owner, $repo, $assignee); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepo(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError { return $this->operators->issues👷ListForRepo()->call($owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); } - /** @return iterable|Schema\BasicError */ + /** @return Observable|Schema\BasicError */ public function listForRepoListing(string $owner, string $repo, string $milestone, string $assignee, string $type, string $creator, string $mentioned, string $labels, string $since, string $state, string $sort, string $direction, int $perPage, int $page): iterable|BasicError { return $this->operators->issues👷ListForRepoListing()->call($owner, $repo, $milestone, $assignee, $type, $creator, $mentioned, $labels, $since, $state, $sort, $direction, $perPage, $page); diff --git a/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php index ff8436de75f..e42785fc5cb 100644 --- a/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/src/PHPStan/ClientCallReturnTypes.php @@ -1316,11 +1316,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/issues') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/issues') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'GET /orgs/{org}/members') { @@ -3000,11 +3000,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /repos/{owner}/{repo}/issues') { - return $this->typeResolver->resolve('iterable|Schema\\BasicError'); + return $this->typeResolver->resolve('Observable|Schema\\BasicError'); } if ($call === 'LIST /repos/{owner}/{repo}/issues') { - return $this->typeResolver->resolve('iterable|Schema\\BasicError'); + return $this->typeResolver->resolve('Observable|Schema\\BasicError'); } if ($call === 'POST /repos/{owner}/{repo}/issues') { diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php index f95e323463b..6fff86bc856 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateOrgRuleset/Request/ApplicationJson.php @@ -478,6 +478,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php index 4879ac1300b..430bfb3946c 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Repos/CreateRepoRuleset/Request/ApplicationJson.php @@ -259,6 +259,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php index cf7e350d23d..c7ac4850beb 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateOrgRuleset/Request/ApplicationJson.php @@ -473,6 +473,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php index 6ca26e74fe8..eae8666f25b 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/Repos/UpdateRepoRuleset/Request/ApplicationJson.php @@ -254,6 +254,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRule.php b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRule.php index 22690331228..dd69b639ee1 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRule.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRule.php @@ -159,6 +159,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleDetailed.php b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleDetailed.php index fa64a0dcdcc..2b64808e61c 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleDetailed.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleDetailed.php @@ -317,6 +317,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest.php b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest.php index adf3238d118..c505a66de16 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest.php @@ -34,6 +34,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest/Parameters.php b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest/Parameters.php index de0d7c8346a..46a4addc516 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest/Parameters.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRulePullRequest/Parameters.php @@ -21,6 +21,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleset.php b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleset.php index 06b04a1ec7c..4f2a4c790e8 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleset.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/RepositoryRuleset.php @@ -568,6 +568,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetCreated.php b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetCreated.php index a0b06d890b8..08c38002f1f 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetCreated.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetCreated.php @@ -2285,6 +2285,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetDeleted.php b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetDeleted.php index 1b24100256f..1d8ed5d2916 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetDeleted.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetDeleted.php @@ -2285,6 +2285,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited.php b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited.php index 5c21d9e2074..01c87d20d19 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited.php @@ -2285,6 +2285,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -3013,6 +3018,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -3568,6 +3578,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -4126,6 +4141,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes.php b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes.php index 589d579c0f9..17f06d42f70 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes.php @@ -325,6 +325,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -880,6 +885,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -1438,6 +1448,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php index e262fc6145d..d80f75096f3 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules.php @@ -164,6 +164,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -719,6 +724,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." @@ -1277,6 +1287,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php index 04ccad87914..bba7e42d399 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php +++ b/clients/GitHubEnterprise-3.13/src/Schema/WebhookRepositoryRulesetEdited/Changes/Rules/Updated.php @@ -165,6 +165,11 @@ "allowed_merge_methods": { "type": "array", "items": { + "enum": [ + "merge", + "squash", + "rebase" + ], "type": "string" }, "description": "Array of allowed merge methods. Allowed values include `merge`, `squash`, and `rebase`. At least one option must be enabled." diff --git a/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php b/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php index 2470ada6fc8..e5157d7a68e 100644 --- a/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHubEnterprise-3.13/tests/Types/ClientCallReturnTypes.php @@ -335,8 +335,8 @@ function authHeader(): string assertType('', $client->call('POST /orgs/{org}/hooks/{hook_id}/pings')); assertType('', $client->call('GET /orgs/{org}/installation')); assertType('', $client->call('GET /orgs/{org}/installations')); -assertType('iterable', $client->call('GET /orgs/{org}/issues')); -assertType('iterable', $client->call('LIST /orgs/{org}/issues')); +assertType('Observable', $client->call('GET /orgs/{org}/issues')); +assertType('Observable', $client->call('LIST /orgs/{org}/issues')); assertType('Observable', $client->call('GET /orgs/{org}/members')); assertType('Observable', $client->call('LIST /orgs/{org}/members')); assertType('', $client->call('GET /orgs/{org}/members/{username}')); @@ -756,8 +756,8 @@ function authHeader(): string assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/invitations')); assertType('', $client->call('DELETE /repos/{owner}/{repo}/invitations/{invitation_id}')); assertType('', $client->call('PATCH /repos/{owner}/{repo}/invitations/{invitation_id}')); -assertType('iterable|Schema\\BasicError', $client->call('GET /repos/{owner}/{repo}/issues')); -assertType('iterable|Schema\\BasicError', $client->call('LIST /repos/{owner}/{repo}/issues')); +assertType('Observable|Schema\\BasicError', $client->call('GET /repos/{owner}/{repo}/issues')); +assertType('Observable|Schema\\BasicError', $client->call('LIST /repos/{owner}/{repo}/issues')); assertType('', $client->call('POST /repos/{owner}/{repo}/issues')); assertType('Observable', $client->call('GET /repos/{owner}/{repo}/issues/comments')); assertType('Observable', $client->call('LIST /repos/{owner}/{repo}/issues/comments')); diff --git a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml index 7e3d393d89e..8c5240d9a2f 100644 --- a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml @@ -55778,9 +55778,6 @@ webhooks: This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was approved. operationId: personal-access-token-request/approved externalDocs: @@ -55837,15 +55834,13 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization personal-access-token-request-cancelled: post: summary: |- This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was cancelled by the requester. operationId: personal-access-token-request/cancelled @@ -55903,15 +55898,13 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization personal-access-token-request-created: post: summary: |- This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was created. operationId: personal-access-token-request/created externalDocs: @@ -55968,15 +55961,13 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization personal-access-token-request-denied: post: summary: |- This event occurs when there is activity relating to a request for a fine-grained personal access token to access resources that belong to a resource owner that requires approval for token access. For more information, see "[Creating a personal access token](https://docs.github.com/enterprise-server@3.13/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token)." To subscribe to this event, a GitHub App must have at least read-level access for the "Personal access token requests" organization permission. - - > [!NOTE] - > Fine-grained PATs are in public preview. Related APIs, events, and functionality are subject to change. description: A fine-grained personal access token request was denied. operationId: personal-access-token-request/denied externalDocs: @@ -56033,6 +56024,7 @@ webhooks: subcategory: personal_access_token_request supported-webhook-types: - app + - organization ping: post: summary: This event occurs when you create a new webhook. The ping event is @@ -75389,6 +75381,10 @@ components: `merge`, `squash`, and `rebase`. At least one option must be enabled. items: type: string + enum: + - merge + - squash + - rebase dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss previous pull