diff --git a/clients/GitHub/etc/openapi-client-generator.state b/clients/GitHub/etc/openapi-client-generator.state index 35cf23c60a9..efd7bcf4445 100644 --- a/clients/GitHub/etc/openapi-client-generator.state +++ b/clients/GitHub/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "7d805bd34cdea7b6c0229ab2be120a36", + "specHash": "6b88df041143c890905098eb26e5a9a4", "generatedFiles": { "files": [ { @@ -348,7 +348,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Runner.php", - "hash": "9eb473fcd7876dc8e66410cf824facc8" + "hash": "1502ad81a7a16979aafd5ff146cca4f5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RunnerApplication.php", @@ -4480,7 +4480,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForOrg\/Response\/ApplicationJson\/Ok.php", - "hash": "c0ef6521ea75f8ff323af6219e897ea4" + "hash": "d7e6ad49255f7758a10e6b17e0395a46" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListLabelsForSelfHostedRunnerForOrg\/Response\/ApplicationJson\/Ok.php", @@ -5560,7 +5560,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php", - "hash": "ee905fb50ef56f8fe478cc20b39708b7" + "hash": "1da6aef59f5343f7ec09b996f9b78773" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php", @@ -11008,11 +11008,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok.php", - "hash": "fbacde22337ecd5b80d95f3de843cfdf" + "hash": "99958bf5410a03a404bbf7bb32e56d90" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersForRepo\/Response\/ApplicationJson\/Ok\/Application\/Json.php", - "hash": "ebbc85529a4d2d72e9ef25f34fb9f8b9" + "hash": "362dcd20112b4337f6b5c4b2c2295698" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet465FFE22\/Tiet83692C35\/TietB7E35CD3\/TietF31B8C6B.php", @@ -11556,7 +11556,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/GenerateRunnerJitconfigForOrg\/Response\/ApplicationJson\/Created.php", - "hash": "e43662482f4f302739630a118db2a954" + "hash": "4aaa4e47fa7056d58a64767e93a233d4" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/RepositoryRuleRulesetInfo.php", @@ -14732,7 +14732,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListPatGrantRequests.php", - "hash": "1c6ec04e5420e569c4bf849783fd5571" + "hash": "9f5f1c72fb8cb673434eaf37f80da0ed" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListPatGrantRequestsTest.php", @@ -14744,7 +14744,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListPatGrantRequestsListing.php", - "hash": "7785b3dbd83ccafcdafc7501b010bc1a" + "hash": "86c18098ea160e2e04c6d6a21e796f14" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListPatGrantRequestsListingTest.php", @@ -14804,7 +14804,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListPatGrants.php", - "hash": "3287c6a34d9e88dff2f3bf9cb46bec65" + "hash": "28659219dee6eae3ee43e32b298a486e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListPatGrantsTest.php", @@ -14816,7 +14816,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/ListPatGrantsListing.php", - "hash": "249b2e362eb718f44597495e652b5570" + "hash": "53f9e6cb62e5ee4f4473f014bd925b66" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/ListPatGrantsListingTest.php", @@ -24332,7 +24332,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php", - "hash": "728b58e1791d07dbf849eeec9130dfdc" + "hash": "96eb32bd69d1b2662b65a40c33366d8e" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php", @@ -24608,7 +24608,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Orgs.php", - "hash": "fc8b6740b9c76ea5fdd5d4e36aca8425" + "hash": "d654c222007af48e4fbd22d4498775b4" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Packages.php", @@ -24828,7 +24828,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Four.php", - "hash": "2f7d9a1d6d2e72dd6a067c13085e5ff7" + "hash": "18a08639d99cec6fb1771a5fd26fd9e4" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Five.php", @@ -24932,7 +24932,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Four.php", - "hash": "b3572a79a5afa30c43ded1b787f744fd" + "hash": "0bd1bbcad8e6f0a66a2ee13388a836ac" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/List\/Five.php", @@ -27612,11 +27612,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "a086b7b1324de581b52e5778074cdede" + "hash": "0d3db6688c9fae3081f04b53c53152cc" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "e2d599457ab74bfd6fa74a03dad4efd2" + "hash": "5c629eef52f39ab563b41d080fb37095" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", @@ -30252,7 +30252,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Actions\/ListSelfHostedRunnersInGroupForOrg\/Response\/ApplicationJson\/Ok.php", - "hash": "dd2cfd6ca711f208768c6edca9e7fad6" + "hash": "d1d43bf71278c1c8c11f051aac9e4d8c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Actions\/SetSelfHostedRunnersInGroupForOrg\/Request\/ApplicationJson.php", @@ -31774,10 +31774,6 @@ "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietADA0376A\/TietE291E6D1\/Tiet2A83A4E8\/TietFA266CAF.php", "hash": "36e946b712654adbe28f4840593a93f1" }, - { - "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietEAB1E353\/TietA691FF98\/TietCADB7922\/TietA4382CA1.php", - "hash": "436ec94751c59383bcf6e3bd4edfcda9" - }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/GetOrgRulesetHistory.php", "hash": "4f8472ed53eb81bb8945ab41d304228a" @@ -31933,6 +31929,10 @@ { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CodeScanningAlertCreateRequest.php", "hash": "7a383b040ad94615701c1cee540ab3e0" + }, + { + "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietE8D41C9A\/Tiet1255E585\/Tiet44FA9DEE\/Tiet93E2B36C.php", + "hash": "2fce70a0a22b2db105029f1c0f441123" } ] }, diff --git a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequests.php b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequests.php index 4f3a484621c..8c06dd5282b 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequests.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequests.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage = 30, int $page = 1, string $sort = 'created_at', string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\ListPatGrantRequests($this->responseSchemaValidator, $this->hydrator, $org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequestsListing.php b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequestsListing.php index 75d3966fe63..cb82bd90882 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequestsListing.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantRequestsListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage = 30, int $page = 1, string $sort = 'created_at', string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\ListPatGrantRequestsListing($this->responseSchemaValidator, $this->hydrator, $org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrants.php b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrants.php index 79d75c3e923..47ba2ae5e42 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrants.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrants.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage = 30, int $page = 1, string $sort = 'created_at', string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\ListPatGrants($this->responseSchemaValidator, $this->hydrator, $org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantsListing.php b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantsListing.php index ffdad94fd52..c51e99e013e 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantsListing.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/ListPatGrantsListing.php @@ -24,7 +24,7 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return iterable */ + /** @return Observable */ public function call(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage = 30, int $page = 1, string $sort = 'created_at', string $direction = 'desc'): iterable { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\ListPatGrantsListing($this->responseSchemaValidator, $this->hydrator, $org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); diff --git a/clients/GitHub/src/Internal/Router/Get/Four.php b/clients/GitHub/src/Internal/Router/Get/Four.php index 7cf17ba0edf..d71ce945fa2 100644 --- a/clients/GitHub/src/Internal/Router/Get/Four.php +++ b/clients/GitHub/src/Internal/Router/Get/Four.php @@ -34,7 +34,7 @@ public function __construct(private Routers $routers) { } - /** @return |Observable|Observable|Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|iterable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|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): WebhookConfig|iterable|Installation|WithoutBody|GistSimple|GitignoreTemplate|MarketplacePurchase|Thread|Ok|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ListAppInstallations\Response\ApplicationJson\Ok|InteractionLimitResponse|One|\ApiClients\Client\GitHub\Schema\Operations\Orgs\ListOrgRoles\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\PrivateRegistries\ListOrgPrivateRegistries\Response\ApplicationJson\Ok|ProjectColumn|FullRepository|BasicError|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListSecretsForAuthenticatedUser\Response\ApplicationJson\Ok|Codespace|GpgKey|Key|Migration|SshSigningKey|Hovercard|StarredRepository|Repository { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Orgs.php b/clients/GitHub/src/Internal/Router/Get/Orgs.php index ad7ba161403..98065731d5e 100644 --- a/clients/GitHub/src/Internal/Router/Get/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Get/Orgs.php @@ -320,7 +320,7 @@ public function listOutsideCollaborators(array $params): iterable return $operator->call($arguments['org'], $arguments['filter'], $arguments['per_page'], $arguments['page']); } - /** @return iterable */ + /** @return Observable */ public function listPatGrantRequests(array $params): iterable { $arguments = []; @@ -395,7 +395,7 @@ public function listPatGrantRequests(array $params): iterable return $operator->call($arguments['org'], $arguments['owner'], $arguments['repository'], $arguments['permission'], $arguments['last_used_before'], $arguments['last_used_after'], $arguments['token_id'], $arguments['per_page'], $arguments['page'], $arguments['sort'], $arguments['direction']); } - /** @return iterable */ + /** @return Observable */ public function listPatGrants(array $params): iterable { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/List/Four.php b/clients/GitHub/src/Internal/Router/List/Four.php index 9055984dbdc..45048521c93 100644 --- a/clients/GitHub/src/Internal/Router/List/Four.php +++ b/clients/GitHub/src/Internal/Router/List/Four.php @@ -15,7 +15,7 @@ public function __construct(private Routers $routers) { } - /** @return Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|iterable|iterable|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 */ public function call(string $call, array $params, array $pathChunks): iterable|WithoutBody { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/List/Orgs.php b/clients/GitHub/src/Internal/Router/List/Orgs.php index 759cc54c234..343400b00a4 100644 --- a/clients/GitHub/src/Internal/Router/List/Orgs.php +++ b/clients/GitHub/src/Internal/Router/List/Orgs.php @@ -276,7 +276,7 @@ public function listOutsideCollaboratorsListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function listPatGrantRequestsListing(array $params): iterable { $arguments = []; @@ -357,7 +357,7 @@ public function listPatGrantRequestsListing(array $params): iterable } while (count($items) > 0); } - /** @return iterable */ + /** @return Observable */ public function listPatGrantsListing(array $params): iterable { $arguments = []; diff --git a/clients/GitHub/src/Operation/Orgs.php b/clients/GitHub/src/Operation/Orgs.php index 375b20b1231..cc6dcda86bd 100644 --- a/clients/GitHub/src/Operation/Orgs.php +++ b/clients/GitHub/src/Operation/Orgs.php @@ -349,13 +349,13 @@ public function removeOutsideCollaborator(string $org, string $username): Withou return $this->operators->orgs👷RemoveOutsideCollaborator()->call($org, $username); } - /** @return iterable */ + /** @return Observable */ public function listPatGrantRequests(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage, int $page, string $sort, string $direction): iterable { return $this->operators->orgs👷ListPatGrantRequests()->call($org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); } - /** @return iterable */ + /** @return Observable */ public function listPatGrantRequestsListing(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage, int $page, string $sort, string $direction): iterable { return $this->operators->orgs👷ListPatGrantRequestsListing()->call($org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); @@ -385,13 +385,13 @@ public function listPatGrantRequestRepositoriesListing(string $org, int $patRequ return $this->operators->orgs👷ListPatGrantRequestRepositoriesListing()->call($org, $patRequestId, $perPage, $page); } - /** @return iterable */ + /** @return Observable */ public function listPatGrants(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage, int $page, string $sort, string $direction): iterable { return $this->operators->orgs👷ListPatGrants()->call($org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); } - /** @return iterable */ + /** @return Observable */ public function listPatGrantsListing(string $org, array $owner, string $repository, string $permission, string $lastUsedBefore, string $lastUsedAfter, array $tokenId, int $perPage, int $page, string $sort, string $direction): iterable { return $this->operators->orgs👷ListPatGrantsListing()->call($org, $owner, $repository, $permission, $lastUsedBefore, $lastUsedAfter, $tokenId, $perPage, $page, $sort, $direction); diff --git a/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php index adaee63020e..1ce8d6c82ed 100644 --- a/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php @@ -1336,11 +1336,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/personal-access-token-requests') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/personal-access-token-requests') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'POST /orgs/{org}/personal-access-token-requests') { @@ -1360,11 +1360,11 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/personal-access-tokens') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'LIST /orgs/{org}/personal-access-tokens') { - return $this->typeResolver->resolve('iterable'); + return $this->typeResolver->resolve('Observable'); } if ($call === 'POST /orgs/{org}/personal-access-tokens') { diff --git a/clients/GitHub/src/Schema/AliasAbstract/TietEAB1E353/TietA691FF98/TietCADB7922/TietA4382CA1.php b/clients/GitHub/src/Schema/AliasAbstract/TietE8D41C9A/Tiet1255E585/Tiet44FA9DEE/Tiet93E2B36C.php similarity index 95% rename from clients/GitHub/src/Schema/AliasAbstract/TietEAB1E353/TietA691FF98/TietCADB7922/TietA4382CA1.php rename to clients/GitHub/src/Schema/AliasAbstract/TietE8D41C9A/Tiet1255E585/Tiet44FA9DEE/Tiet93E2B36C.php index e7bc5a00811..6d91215e1cf 100644 --- a/clients/GitHub/src/Schema/AliasAbstract/TietEAB1E353/TietA691FF98/TietCADB7922/TietA4382CA1.php +++ b/clients/GitHub/src/Schema/AliasAbstract/TietE8D41C9A/Tiet1255E585/Tiet44FA9DEE/Tiet93E2B36C.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace ApiClients\Client\GitHub\Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922; +namespace ApiClients\Client\GitHub\Schema\AliasAbstract\TietE8D41C9A\Tiet1255E585\Tiet44FA9DEE; use EventSauce\ObjectHydrator\MapFrom; -abstract readonly class TietA4382CA1 +abstract readonly class Tiet93E2B36C { public const SCHEMA_JSON = '{ "required": [ @@ -34,14 +34,14 @@ "properties": { "id": { "type": "integer", - "description": "The id of the runner.", + "description": "The ID of the runner.", "examples": [ 5 ] }, "runner_group_id": { "type": "integer", - "description": "The id of the runner group.", + "description": "The ID of the runner group.", "examples": [ 1 ] diff --git a/clients/GitHub/src/Schema/Operations/Actions/GenerateRunnerJitconfigForOrg/Response/ApplicationJson/Created.php b/clients/GitHub/src/Schema/Operations/Actions/GenerateRunnerJitconfigForOrg/Response/ApplicationJson/Created.php index 63004245644..38d0f283891 100644 --- a/clients/GitHub/src/Schema/Operations/Actions/GenerateRunnerJitconfigForOrg/Response/ApplicationJson/Created.php +++ b/clients/GitHub/src/Schema/Operations/Actions/GenerateRunnerJitconfigForOrg/Response/ApplicationJson/Created.php @@ -30,14 +30,14 @@ "properties": { "id": { "type": "integer", - "description": "The id of the runner.", + "description": "The ID of the runner.", "examples": [ 5 ] }, "runner_group_id": { "type": "integer", - "description": "The id of the runner group.", + "description": "The ID of the runner group.", "examples": [ 1 ] diff --git a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php index 445cdf262ae..c09dd0d53f4 100644 --- a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php +++ b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForOrg/Response/ApplicationJson/Ok.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHub\Schema; -final readonly class Ok extends Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922\TietA4382CA1 +final readonly class Ok extends Schema\AliasAbstract\TietE8D41C9A\Tiet1255E585\Tiet44FA9DEE\Tiet93E2B36C { } diff --git a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php index a6f3c55469f..c7661b648bc 100644 --- a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php +++ b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHub\Schema; -final readonly class Ok extends Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922\TietA4382CA1 +final readonly class Ok extends Schema\AliasAbstract\TietE8D41C9A\Tiet1255E585\Tiet44FA9DEE\Tiet93E2B36C { } diff --git a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php index 9be7fca2e89..87632371097 100644 --- a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php +++ b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersForRepo/Response/ApplicationJson/Ok/Application/Json.php @@ -6,6 +6,6 @@ use ApiClients\Client\GitHub\Schema; -final readonly class Json extends Schema\AliasAbstract\TietEAB1E353\TietA691FF98\TietCADB7922\TietA4382CA1 +final readonly class Json extends Schema\AliasAbstract\TietE8D41C9A\Tiet1255E585\Tiet44FA9DEE\Tiet93E2B36C { } diff --git a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php index 2d8fbb3b28b..22c7d1a976e 100644 --- a/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php +++ b/clients/GitHub/src/Schema/Operations/Actions/ListSelfHostedRunnersInGroupForOrg/Response/ApplicationJson/Ok.php @@ -34,14 +34,14 @@ "properties": { "id": { "type": "integer", - "description": "The id of the runner.", + "description": "The ID of the runner.", "examples": [ 5 ] }, "runner_group_id": { "type": "integer", - "description": "The id of the runner group.", + "description": "The ID of the runner group.", "examples": [ 1 ] diff --git a/clients/GitHub/src/Schema/Runner.php b/clients/GitHub/src/Schema/Runner.php index 75439e8b1a4..e248f453683 100644 --- a/clients/GitHub/src/Schema/Runner.php +++ b/clients/GitHub/src/Schema/Runner.php @@ -22,14 +22,14 @@ "properties": { "id": { "type": "integer", - "description": "The id of the runner.", + "description": "The ID of the runner.", "examples": [ 5 ] }, "runner_group_id": { "type": "integer", - "description": "The id of the runner group.", + "description": "The ID of the runner group.", "examples": [ 1 ] @@ -118,8 +118,8 @@ }'; /** - * id: The id of the runner. - * runnerGroupId: The id of the runner group. + * id: The ID of the runner. + * runnerGroupId: The ID of the runner group. * name: The name of the runner. * os: The Operating System of the runner. * status: The status of the runner. diff --git a/clients/GitHub/tests/Types/ClientCallReturnTypes.php b/clients/GitHub/tests/Types/ClientCallReturnTypes.php index 355c47b77b1..eb38a4b0582 100644 --- a/clients/GitHub/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHub/tests/Types/ClientCallReturnTypes.php @@ -340,14 +340,14 @@ function authHeader(): string assertType('', $client->call('GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}')); assertType('', $client->call('DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}')); assertType('', $client->call('POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore')); -assertType('iterable', $client->call('GET /orgs/{org}/personal-access-token-requests')); -assertType('iterable', $client->call('LIST /orgs/{org}/personal-access-token-requests')); +assertType('Observable', $client->call('GET /orgs/{org}/personal-access-token-requests')); +assertType('Observable', $client->call('LIST /orgs/{org}/personal-access-token-requests')); assertType('', $client->call('POST /orgs/{org}/personal-access-token-requests')); assertType('', $client->call('POST /orgs/{org}/personal-access-token-requests/{pat_request_id}')); assertType('Observable', $client->call('GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories')); assertType('Observable', $client->call('LIST /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories')); -assertType('iterable', $client->call('GET /orgs/{org}/personal-access-tokens')); -assertType('iterable', $client->call('LIST /orgs/{org}/personal-access-tokens')); +assertType('Observable', $client->call('GET /orgs/{org}/personal-access-tokens')); +assertType('Observable', $client->call('LIST /orgs/{org}/personal-access-tokens')); assertType('', $client->call('POST /orgs/{org}/personal-access-tokens')); assertType('', $client->call('POST /orgs/{org}/personal-access-tokens/{pat_id}')); assertType('Observable', $client->call('GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories')); diff --git a/etc/specs/GitHub/current.spec.yaml b/etc/specs/GitHub/current.spec.yaml index 130e247f06e..528b69180fb 100644 --- a/etc/specs/GitHub/current.spec.yaml +++ b/etc/specs/GitHub/current.spec.yaml @@ -43300,6 +43300,7 @@ paths: description: |- > [!WARNING] > **Notice:** Search for issues and pull requests will be overridden by advanced search on September 4, 2025. + > You can read more about this change on [the GitHub blog](https://github.blog/changelog/2025-03-06-github-issues-projects-api-support-for-issues-advanced-search-and-more/). tags: - search operationId: search/issues-and-pull-requests @@ -75242,12 +75243,12 @@ components: type: object properties: id: - description: The id of the runner. + description: The ID of the runner. type: integer examples: - 5 runner_group_id: - description: The id of the runner group. + description: The ID of the runner group. type: integer examples: - 1