diff --git a/clients/GitHub/etc/openapi-client-generator.state b/clients/GitHub/etc/openapi-client-generator.state index c7d75d2e75b..5ca212d3580 100644 --- a/clients/GitHub/etc/openapi-client-generator.state +++ b/clients/GitHub/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "e288c500d4a08bc38358e1b96cec2090", + "specHash": "24f4c3ebacf1ca5821698e28d77d32d1", "generatedFiles": { "files": [ { @@ -5576,7 +5576,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Orgs.php", - "hash": "5779931bdcabc12f26dbc4d46b041ffe" + "hash": "a471065365c30c5de2e67c9b59762318" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Actions.php", @@ -24452,7 +24452,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php", - "hash": "7aa1e49892497be27649dd82f16073ed" + "hash": "7625cb2f748a25f73eb436379d487943" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php", @@ -24812,7 +24812,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Orgs.php", - "hash": "fc2e156a854552a3e4ab12a89471a39c" + "hash": "f75d53cf3c1a759efc2dcff811581dfb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Teams.php", @@ -24872,7 +24872,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Orgs.php", - "hash": "f216337da6ea505b2938bd94df3bda5c" + "hash": "b7064f19fd6b2132fea4c2076dc726d0" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Codespaces.php", @@ -24956,7 +24956,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php", - "hash": "b2a28a4c2a159a5554c4694f89317cfd" + "hash": "343c2b760b84ced96a51118cca0661bb" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php", @@ -25096,7 +25096,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php", - "hash": "ca355d92539b542ef91be76d2fb5450d" + "hash": "08ccaed3cd1c6bf14a3562ee889d0655" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Eight.php", @@ -25128,7 +25128,7 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Six.php", - "hash": "9f3dc75023548d3071b5b9a37ecfcf6b" + "hash": "005f520b7747dbc03aca2290b99d7037" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Eight.php", @@ -27524,11 +27524,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/GetCustomProperty.php", - "hash": "895732084941c7c8b5b4fdd8f03c29f4" + "hash": "2d561c7c6975555ef051cebc7b650bbc" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetCustomProperty.php", - "hash": "6043440685746e826184b7017c073581" + "hash": "8dc202d2f5dfc5935acd69ac1bbdb0dd" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetCustomPropertyTest.php", @@ -27536,11 +27536,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/CreateOrUpdateCustomProperty.php", - "hash": "1a8ee9ce06c5ceb5d78a40cf65760cc3" + "hash": "583dccbefcca7c09176c13b3e5b9ac4c" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/CreateOrUpdateCustomProperty.php", - "hash": "0014f81ebf2c18215cdff0f91368e995" + "hash": "e503ca6aa384e7f5366d52af6a340c75" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/CreateOrUpdateCustomPropertyTest.php", @@ -27548,11 +27548,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/RemoveCustomProperty.php", - "hash": "453007b4a549e3d906ee3a0845d430d1" + "hash": "fc27c2a1ad7684bffcda1c6a3f4be693" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/RemoveCustomProperty.php", - "hash": "8c1f0450066b826bd733d51dc3270205" + "hash": "b6f73478344e10109c8163f03d3ed6c5" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/RemoveCustomPropertyTest.php", @@ -27736,11 +27736,11 @@ }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php", - "hash": "b279bfe420072ca3881b316b41cde25a" + "hash": "e10489bd6c2a67db47e1033c7dbcc6f4" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php", - "hash": "a3cd037b10acacb7fbfa8165f0c08dac" + "hash": "61d8619e191abe5c0c8fd6bf572ad7cc" }, { "name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon", diff --git a/clients/GitHub/src/Internal/Operation/Orgs/CreateOrUpdateCustomProperty.php b/clients/GitHub/src/Internal/Operation/Orgs/CreateOrUpdateCustomProperty.php index cf5c8a99e92..b2f50ba8ea3 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/CreateOrUpdateCustomProperty.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/CreateOrUpdateCustomProperty.php @@ -25,7 +25,7 @@ final class CreateOrUpdateCustomProperty public const OPERATION_MATCH = 'PUT /orgs/{org}/properties/schema/{custom_property_name}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The custom property name. The name is case sensitive. **/ + /**The custom property name **/ private string $customPropertyName; public function __construct(private readonly SchemaValidator $requestSchemaValidator, private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Properties\Schema\CustomPropertyName $hydrator, string $org, string $customPropertyName) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/GetCustomProperty.php b/clients/GitHub/src/Internal/Operation/Orgs/GetCustomProperty.php index 1fc67065712..b62d3be6b7e 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/GetCustomProperty.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/GetCustomProperty.php @@ -24,7 +24,7 @@ final class GetCustomProperty public const OPERATION_MATCH = 'GET /orgs/{org}/properties/schema/{custom_property_name}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The custom property name. The name is case sensitive. **/ + /**The custom property name **/ private string $customPropertyName; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Properties\Schema\CustomPropertyName $hydrator, string $org, string $customPropertyName) diff --git a/clients/GitHub/src/Internal/Operation/Orgs/RemoveCustomProperty.php b/clients/GitHub/src/Internal/Operation/Orgs/RemoveCustomProperty.php index fa663186e75..adce1bd9b91 100644 --- a/clients/GitHub/src/Internal/Operation/Orgs/RemoveCustomProperty.php +++ b/clients/GitHub/src/Internal/Operation/Orgs/RemoveCustomProperty.php @@ -25,7 +25,7 @@ final class RemoveCustomProperty public const OPERATION_MATCH = 'DELETE /orgs/{org}/properties/schema/{custom_property_name}'; /**The organization name. The name is not case sensitive. **/ private string $org; - /**The custom property name. The name is case sensitive. **/ + /**The custom property name **/ private string $customPropertyName; public function __construct(private readonly SchemaValidator $responseSchemaValidator, private readonly Internal\Hydrator\Operation\Orgs\Org\Properties\Schema\CustomPropertyName $hydrator, string $org, string $customPropertyName) diff --git a/clients/GitHub/src/Internal/Operator/Orgs/CreateOrUpdateCustomProperty.php b/clients/GitHub/src/Internal/Operator/Orgs/CreateOrUpdateCustomProperty.php index 823a782717f..99d6f4adbcf 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/CreateOrUpdateCustomProperty.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/CreateOrUpdateCustomProperty.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, string $customPropertyName, array $params): CustomProperty { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\CreateOrUpdateCustomProperty($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/GetCustomProperty.php b/clients/GitHub/src/Internal/Operator/Orgs/GetCustomProperty.php index 0a8b0a399fd..4378784a67d 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/GetCustomProperty.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/GetCustomProperty.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, string $customPropertyName): CustomProperty { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\GetCustomProperty($this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName); diff --git a/clients/GitHub/src/Internal/Operator/Orgs/RemoveCustomProperty.php b/clients/GitHub/src/Internal/Operator/Orgs/RemoveCustomProperty.php index 6a7dbe70300..0b5456f8299 100644 --- a/clients/GitHub/src/Internal/Operator/Orgs/RemoveCustomProperty.php +++ b/clients/GitHub/src/Internal/Operator/Orgs/RemoveCustomProperty.php @@ -24,7 +24,6 @@ public function __construct(private Browser $browser, private AuthenticationInte { } - /** @return */ public function call(string $org, string $customPropertyName): WithoutBody { $operation = new \ApiClients\Client\GitHub\Internal\Operation\Orgs\RemoveCustomProperty($this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName); diff --git a/clients/GitHub/src/Internal/Router/Delete/Orgs.php b/clients/GitHub/src/Internal/Router/Delete/Orgs.php index ee6c6e11fe1..16f87eda38a 100644 --- a/clients/GitHub/src/Internal/Router/Delete/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Delete/Orgs.php @@ -278,7 +278,6 @@ public function revokeAllOrgRolesUser(array $params): WithoutBody return $operator->call($arguments['org'], $arguments['username']); } - /** @return */ public function removeCustomProperty(array $params): WithoutBody { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Delete/Six.php b/clients/GitHub/src/Internal/Router/Delete/Six.php index 11e7028dcba..3be687de8b9 100644 --- a/clients/GitHub/src/Internal/Router/Delete/Six.php +++ b/clients/GitHub/src/Internal/Router/Delete/Six.php @@ -18,6 +18,7 @@ public function __construct(private Routers $routers) { } + /** @return |\ApiClients\Tools\OpenApiClient\Utils\Response\WithoutBody */ public function call(string $call, array $params, array $pathChunks): WithoutBody|Ok|Json|ActionsCacheList|FileCommit { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Get/Orgs.php b/clients/GitHub/src/Internal/Router/Get/Orgs.php index c2558871da8..bdd3a94771c 100644 --- a/clients/GitHub/src/Internal/Router/Get/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Get/Orgs.php @@ -1006,7 +1006,6 @@ public function listPatGrantRepositories(array $params): iterable return $operator->call($arguments['org'], $arguments['pat_id'], $arguments['per_page'], $arguments['page']); } - /** @return */ public function getCustomProperty(array $params): CustomProperty { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Get/Six.php b/clients/GitHub/src/Internal/Router/Get/Six.php index e60a802fe22..2f4bb1d62cc 100644 --- a/clients/GitHub/src/Internal/Router/Get/Six.php +++ b/clients/GitHub/src/Internal/Router/Get/Six.php @@ -74,7 +74,7 @@ public function __construct(private Routers $routers) { } - /** @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|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ + /** @return |Observable|Observable|Observable|WithoutBody|Observable|Observable|Observable|Observable|Observable|Schema\CustomProperty|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Observable|Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|Observable|Observable|Observable|Observable|Observable */ public function call(string $call, array $params, array $pathChunks): Ok|iterable|ActionsCacheUsageOrgEnterprise|\ApiClients\Client\GitHub\Schema\Operations\Actions\GetActionsCacheUsageByRepoForOrg\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelectedRepositoriesEnabledGithubActionsOrganization\Response\ApplicationJson\Ok|SelectedActions|ActionsGetDefaultWorkflowPermissions|Runner|ActionsPublicKey|OrganizationActionsSecret|OrganizationActionsVariable|WithoutBody|CodeSecurityConfiguration|CodespacesPublicKey|CodespacesOrgSecret|\ApiClients\Client\GitHub\Schema\Operations\Copilot\ListCopilotSeats\Response\ApplicationJson\Ok|DependabotPublicKey|OrganizationDependabotSecret|WebhookConfig|Json|CopilotSeatDetails|Package|CustomProperty|RuleSuite|ActionsBillingUsage|PackagesBillingUsage|CombinedBillingUsage|ProjectCollaboratorPermission|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListArtifactsForRepo\Response\ApplicationJson\Ok|ActionsCacheList|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationSecrets\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoOrganizationVariables\Response\ApplicationJson\Ok|ActionsRepositoryPermissions|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListSelfHostedRunnersForRepo\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListWorkflowRunsForRepo\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoSecrets\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoVariables\Response\ApplicationJson\Ok\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Actions\ListRepoWorkflows\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Repos\ListAttestations\Response\ApplicationJson\Ok\Application\Json|Autolink|BranchWithProtection|BasicError|CheckRun|CheckSuite|CodeScanningDefaultSetup|CodeownersErrors|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListDevcontainersInRepositoryForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\RepoMachinesForAuthenticatedUser\Response\ApplicationJson\Ok|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\PreFlightWithRepoForAuthenticatedUser\Response\ApplicationJson\Ok|CodespacesPermissionsCheckForDevcontainer|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepoSecrets\Response\ApplicationJson\Ok|CommitComment|Commit|CommunityProfile|CommitComparison|ContentDirectory|ContentFile|ContentSymlink|ContentSubmodule|\ApiClients\Client\GitHub\Schema\Operations\Dependabot\ListRepoSecrets\Response\ApplicationJson\Ok|DependencyGraphSpdxSbom|Deployment|Environment|Hook|Issue|DeployKey|Label|Milestone|PagesHealthCheck|EmptyObject|PullRequest|Release|RepositoryRuleset|RepositoryAdvisory|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCodeFrequencyStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetCommitActivityStats\Response\ApplicationJson\Accepted\Application\Json|\ApiClients\Client\GitHub\Schema\Operations\Repos\GetContributorsStats\Response\ApplicationJson\Accepted\Application\Json|ParticipationStats|CloneTraffic|ViewTraffic|TeamRepository|\ApiClients\Client\GitHub\Schema\Operations\Codespaces\ListRepositoriesForSecretForAuthenticatedUser\Response\ApplicationJson\Ok\Application\Json|CodespaceExportDetails { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Internal/Router/Put/Orgs.php b/clients/GitHub/src/Internal/Router/Put/Orgs.php index 046e1e77af8..97815d09b79 100644 --- a/clients/GitHub/src/Internal/Router/Put/Orgs.php +++ b/clients/GitHub/src/Internal/Router/Put/Orgs.php @@ -160,7 +160,6 @@ public function assignUserToOrgRole(array $params): WithoutBody return $operator->call($arguments['org'], $arguments['username'], $arguments['role_id']); } - /** @return */ public function createOrUpdateCustomProperty(array $params): CustomProperty { $arguments = []; diff --git a/clients/GitHub/src/Internal/Router/Put/Six.php b/clients/GitHub/src/Internal/Router/Put/Six.php index af284384afe..3305f95faaf 100644 --- a/clients/GitHub/src/Internal/Router/Put/Six.php +++ b/clients/GitHub/src/Internal/Router/Put/Six.php @@ -20,6 +20,7 @@ public function __construct(private Routers $routers) { } + /** @return |Schema\CustomProperty */ public function call(string $call, array $params, array $pathChunks): WithoutBody|EmptyObject|CustomProperty|RepositoryInvitation|FileCommit|Environment|RepositoryRuleset { if ($pathChunks[0] === '') { diff --git a/clients/GitHub/src/Operation/Orgs.php b/clients/GitHub/src/Operation/Orgs.php index dc8ac3d0e64..eb8343bb2b2 100644 --- a/clients/GitHub/src/Operation/Orgs.php +++ b/clients/GitHub/src/Operation/Orgs.php @@ -432,19 +432,16 @@ public function createOrUpdateCustomProperties(string $org, array $params): iter return $this->operators->orgs👷CreateOrUpdateCustomProperties()->call($org, $params); } - /** @return */ public function getCustomProperty(string $org, string $customPropertyName): CustomProperty { return $this->operators->orgs👷GetCustomProperty()->call($org, $customPropertyName); } - /** @return */ public function createOrUpdateCustomProperty(string $org, string $customPropertyName, array $params): CustomProperty { return $this->operators->orgs👷CreateOrUpdateCustomProperty()->call($org, $customPropertyName, $params); } - /** @return */ public function removeCustomProperty(string $org, string $customPropertyName): WithoutBody { return $this->operators->orgs👷RemoveCustomProperty()->call($org, $customPropertyName); diff --git a/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php index 87997385669..239b6280166 100644 --- a/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php +++ b/clients/GitHub/src/PHPStan/ClientCallReturnTypes.php @@ -1232,15 +1232,15 @@ public function getTypeFromMethodCall(MethodReflection $methodReflection, Method } if ($call === 'GET /orgs/{org}/properties/schema/{custom_property_name}') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\CustomProperty'); } if ($call === 'PUT /orgs/{org}/properties/schema/{custom_property_name}') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('Schema\\CustomProperty'); } if ($call === 'DELETE /orgs/{org}/properties/schema/{custom_property_name}') { - return $this->typeResolver->resolve(''); + return $this->typeResolver->resolve('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody'); } if ($call === 'GET /orgs/{org}/properties/values') { diff --git a/clients/GitHub/tests/Types/ClientCallReturnTypes.php b/clients/GitHub/tests/Types/ClientCallReturnTypes.php index 7d6cb950726..cddffe6da31 100644 --- a/clients/GitHub/tests/Types/ClientCallReturnTypes.php +++ b/clients/GitHub/tests/Types/ClientCallReturnTypes.php @@ -314,9 +314,9 @@ function authHeader(): string assertType('', $client->call('POST /orgs/{org}/projects')); assertType('Observable', $client->call('GET /orgs/{org}/properties/schema')); assertType('Observable', $client->call('PATCH /orgs/{org}/properties/schema')); -assertType('', $client->call('GET /orgs/{org}/properties/schema/{custom_property_name}')); -assertType('', $client->call('PUT /orgs/{org}/properties/schema/{custom_property_name}')); -assertType('', $client->call('DELETE /orgs/{org}/properties/schema/{custom_property_name}')); +assertType('Schema\\CustomProperty', $client->call('GET /orgs/{org}/properties/schema/{custom_property_name}')); +assertType('Schema\\CustomProperty', $client->call('PUT /orgs/{org}/properties/schema/{custom_property_name}')); +assertType('\\ApiClients\\Tools\\OpenApiClient\\Utils\\Response\\WithoutBody', $client->call('DELETE /orgs/{org}/properties/schema/{custom_property_name}')); assertType('Observable', $client->call('GET /orgs/{org}/properties/values')); assertType('Observable', $client->call('LIST /orgs/{org}/properties/values')); assertType('', $client->call('PATCH /orgs/{org}/properties/values')); diff --git a/etc/specs/GitHub/current.spec.yaml b/etc/specs/GitHub/current.spec.yaml index fa9191b0617..eb3988c6d1d 100644 --- a/etc/specs/GitHub/current.spec.yaml +++ b/etc/specs/GitHub/current.spec.yaml @@ -223751,7 +223751,7 @@ components: type: integer custom-property-name: name: custom_property_name - description: The custom property name. The name is case sensitive. + description: The custom property name in: path required: true schema: