Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions clients/GitHubEnterpriseCloud/etc/openapi-client-generator.state
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"specHash": "086c888146955fa3886508f5e1e7debb",
"specHash": "61362eae34baa8aaf089660247a67141",
"generatedFiles": {
"files": [
{
Expand Down Expand Up @@ -636,7 +636,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetBypassActor.php",
"hash": "40ea7d45d09c11290f7d1164306fd57e"
"hash": "3d2890adfca3bdd917e56ee758ab94b9"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRulesetConditions.php",
Expand Down Expand Up @@ -716,7 +716,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/RepositoryRuleset.php",
"hash": "ccb67fbd81aebfea262b86c2317ec132"
"hash": "28419c17cb31b085d47e62c44133e918"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/GroupMapping.php",
Expand Down Expand Up @@ -4928,11 +4928,11 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/CreateOrgRuleset\/Request\/ApplicationJson.php",
"hash": "f862c10b18535281f438d1fbec0c3e32"
"hash": "eadb888e2b1dee60ea84bb8b70075b10"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateOrgRuleset\/Request\/ApplicationJson.php",
"hash": "39b7d2a55e49ac5dde21a5f6427f3ed9"
"hash": "29684c2a585e29ee16fbbf120372d48e"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Teams\/Create\/Request\/ApplicationJson.php",
Expand Down Expand Up @@ -5648,11 +5648,11 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/CreateRepoRuleset\/Request\/ApplicationJson.php",
"hash": "b61167971914b1bcb506e43350a796dc"
"hash": "6f6de7b2ebddf01f660dabe888b2274c"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Repos\/UpdateRepoRuleset\/Request\/ApplicationJson.php",
"hash": "ecdd0e1b756a0a481dc77604e510232d"
"hash": "e23e95eab2e66492f861630155e456bc"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/SecretScanning\/UpdateAlert\/Request\/ApplicationJson.php",
Expand Down Expand Up @@ -5908,7 +5908,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/CodeScanning.php",
"hash": "b745c2ac99ae7ed03eaf690a3f3cc02d"
"hash": "8ab2e0da8b21cf7ad476944cdaf1cba0"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/SecretScanning.php",
Expand Down Expand Up @@ -5948,7 +5948,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Orgs.php",
"hash": "fa6719d3b16d3c7ed97317f8143119da"
"hash": "3a43add2225178c0d970364615e584a5"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Oidc.php",
Expand Down Expand Up @@ -12264,15 +12264,15 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetCreated.php",
"hash": "39670611879d73026aee4d8e3812db0d"
"hash": "d862c64ef9fef439dd2496e2c2eb8dc8"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetDeleted.php",
"hash": "737ff37de9230c4c2524ad695c1f2568"
"hash": "b065631cec0693ca587416f7eff9f92d"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRepositoryRulesetEdited.php",
"hash": "0d6ccdf8bcb22690fda5a5a4e1b64856"
"hash": "c5ba6c4820a19ce21fd3c075f8224d02"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/SecurityAdvisories\/CreateRepositoryAdvisoryCveRequest\/Response\/ApplicationJson\/Accepted.php",
Expand Down Expand Up @@ -26080,7 +26080,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Orgs.php",
"hash": "03f580840f84c14ecdfcf0fa630cb18d"
"hash": "e528a961245b48d112ec16e44b019200"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/RateLimit.php",
Expand Down Expand Up @@ -26484,7 +26484,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Orgs.php",
"hash": "0f9cccf93b4394787c3ef3ac676d573f"
"hash": "acf24809e8fc71b766c79654ef5678aa"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Teams.php",
Expand Down Expand Up @@ -26556,7 +26556,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Orgs.php",
"hash": "c4c6e36ecaf672e3b257dd0d85204bd8"
"hash": "3f119eb3ddcb244a1e0d6c05c54176ab"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Codespaces.php",
Expand Down Expand Up @@ -26644,7 +26644,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Six.php",
"hash": "77cf4e9f2070d524bd40e99d7a32ad14"
"hash": "d5d24b97e3d3b19899ffeb691b848662"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Get\/Seven.php",
Expand Down Expand Up @@ -26780,7 +26780,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Six.php",
"hash": "043862d61eb9ae45dbc140a1ce4cdb62"
"hash": "b4412ecd1e12199e999030fd32b8cadb"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Delete\/Eight.php",
Expand Down Expand Up @@ -26808,7 +26808,7 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Six.php",
"hash": "adeaf18658de3a2a9fa3375adec0e34e"
"hash": "bf7c88c3a4c01bdb06b5d1d33df574ae"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Router\/Put\/Eight.php",
Expand Down Expand Up @@ -29608,35 +29608,35 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/GetCustomProperty.php",
"hash": "0c01b345b36581c9fb3ead0452410a3b"
"hash": "2e5dc06d252776e99adb3d8255e26e8a"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/GetCustomProperty.php",
"hash": "424b49d1f483890314c4f2b4072d6022"
"hash": "52c78806e2f2243098dfc51197c97bfb"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/GetCustomPropertyTest.php",
"hash": "8998dcf0aedc49255de3c577f85204f2"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/CreateOrUpdateCustomProperty.php",
"hash": "da83504afc7e57746fee718fddcec364"
"hash": "8e8ff79287ee150e4c600f4ec9ce9748"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/CreateOrUpdateCustomProperty.php",
"hash": "1849ff9d1ed3ebd66d2afefaac6c7c53"
"hash": "263b863e28cdf2940c41737b6c2732c9"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/CreateOrUpdateCustomPropertyTest.php",
"hash": "ce15d88b03d897fd9bec0df6fa70f251"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operation\/Orgs\/RemoveCustomProperty.php",
"hash": "b3f338c94a4e42cb340eccd0c0355b8f"
"hash": "782b37a07f8a98225d51b848928f664e"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Operator\/Orgs\/RemoveCustomProperty.php",
"hash": "c3a7c121b646cbb605c26cf6f2d62c40"
"hash": "d7dc63edb35c72ebd58a03a15330b4fc"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Internal\/Operation\/Orgs\/RemoveCustomPropertyTest.php",
Expand Down Expand Up @@ -29820,11 +29820,11 @@
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/PHPStan\/ClientCallReturnTypes.php",
"hash": "d4327cff15ed6791470ae0084e08653d"
"hash": "41febd03f7b2f60942f240c33d6b4c4b"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/tests\/\/Types\/ClientCallReturnTypes.php",
"hash": "8b24c3d0b4051f8068328f06fbbc0f44"
"hash": "ca14acd0f9303f804b29b38b1a09204e"
},
{
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/..\/etc\/phpstan-extension.neon",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterpriseCloud\Internal\Operation\Orgs\CreateOrUpdateCustomProperty($this->requestSchemaValidator, $this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterpriseCloud\Internal\Operation\Orgs\GetCustomProperty($this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\GitHubEnterpriseCloud\Internal\Operation\Orgs\RemoveCustomProperty($this->responseSchemaValidator, $this->hydrator, $org, $customPropertyName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ public function revokeAllOrgRolesUser(array $params): WithoutBody
return $operator->call($arguments['org'], $arguments['username']);
}

/** @return */
public function removeCustomProperty(array $params): WithoutBody
{
$arguments = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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] === '') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,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 = [];
Expand Down
Loading
Loading