diff --git a/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state index b14654e59ee..65c78dd6665 100644 --- a/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state +++ b/clients/GitHubEnterprise-3.14/etc/openapi-client-generator.state @@ -1,5 +1,5 @@ { - "specHash": "4d3a9ded7363917824fb2d5fa79ad2ce", + "specHash": "e6b97d7e63c1ce77438434e9c1074e81", "generatedFiles": { "files": [ { @@ -13980,7 +13980,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/GhesLicenseInfo.php", - "hash": "11f25056840082f928f2981476249d8f" + "hash": "77c68faa550ce195d57556a97655794f" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/GhesUploadLicenseRequest.php", @@ -25256,7 +25256,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateOrgSecret\/Request\/ApplicationJson.php", - "hash": "0b6f98a2232a95ea3593f03b49eda419" + "hash": "2d7744ebe2f4d68f92e3c40ffd4da32c" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietD6BA1ED7\/Tiet9B0C5C34\/TietD5FB7F6C\/Tiet8AB8BB18.php", @@ -25836,7 +25836,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateRepoSecret\/Request\/ApplicationJson.php", - "hash": "5c8073638ace32910e5876ba6abb0a27" + "hash": "53df65197bca16ec3466e9eba95d8b65" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietFE7865BF\/Tiet5F7F1DFF\/TietE50994AE\/TietB8600E0B.php", @@ -27508,7 +27508,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Dependabot.php", - "hash": "41f38bbe9a82db393bb4c578316bf591" + "hash": "edac74857f10a9a5ef2430a8051cd208" }, { "name": ".\/clients\/GitHubEnterprise-3.14\/etc\/..\/\/src\/\/Operation\/Billing.php", diff --git a/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php index b70cca7f50f..483bc1c943a 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php @@ -10,6 +10,8 @@ { public const SCHEMA_JSON = '{ "required": [ + "encrypted_value", + "key_id", "visibility" ], "type": "object", @@ -60,8 +62,8 @@ * selectedRepositoryIds: An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.14/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.14/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. */ public function __construct(#[MapFrom('encrypted_value')] - public string|null $encryptedValue, #[MapFrom('key_id')] - public string|null $keyId, public string $visibility, #[MapFrom('selected_repository_ids')] + public string $encryptedValue, #[MapFrom('key_id')] + public string $keyId, public string $visibility, #[MapFrom('selected_repository_ids')] public array|null $selectedRepositoryIds,) { } diff --git a/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php index b9ecb87d30a..42898997c86 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php @@ -9,6 +9,10 @@ final readonly class ApplicationJson { public const SCHEMA_JSON = '{ + "required": [ + "encrypted_value", + "key_id" + ], "type": "object", "properties": { "encrypted_value": { @@ -34,8 +38,8 @@ * keyId: ID of the key you used to encrypt the secret. */ public function __construct(#[MapFrom('encrypted_value')] - public string|null $encryptedValue, #[MapFrom('key_id')] - public string|null $keyId,) + public string $encryptedValue, #[MapFrom('key_id')] + public string $keyId,) { } } diff --git a/clients/GitHubEnterprise-3.14/src/Schema/GhesLicenseInfo.php b/clients/GitHubEnterprise-3.14/src/Schema/GhesLicenseInfo.php index 6bb323c6a6c..4e3ec432ed9 100644 --- a/clients/GitHubEnterprise-3.14/src/Schema/GhesLicenseInfo.php +++ b/clients/GitHubEnterprise-3.14/src/Schema/GhesLicenseInfo.php @@ -27,7 +27,7 @@ }, "croquetSupport": { "type": "boolean", - "description": "Whether the Github Connect feature is enabled." + "description": "Whether the GitHub Connect feature is enabled." }, "customTerms": { "type": "boolean", @@ -123,7 +123,7 @@ * advancedSecuritySeats: If the GitHub Advanced Security feature is enabled, the seat count. * clusterSupport: Whether the cluster support feature is enabled. * company: The company under which the license is issued. - * croquetSupport: Whether the Github Connect feature is enabled. + * croquetSupport: Whether the GitHub Connect feature is enabled. * customTerms: Whether this license is issued under custom terms. * evaluation: Wheter this license is issued as an evaluation license. * expireAt: The expiration date of the license. diff --git a/etc/specs/GitHubEnterprise-3.14/current.spec.yaml b/etc/specs/GitHubEnterprise-3.14/current.spec.yaml index d15633f8d30..ef8dc93b726 100644 --- a/etc/specs/GitHubEnterprise-3.14/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.14/current.spec.yaml @@ -10439,6 +10439,8 @@ paths: items: type: integer required: + - encrypted_value + - key_id - visibility examples: default: @@ -21965,6 +21967,9 @@ paths: key_id: type: string description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id examples: default: value: @@ -39997,7 +40002,7 @@ paths: description: Not Found if repository is not enabled with vulnerability alerts x-github: githubCloudOnly: false - enabledForGitHubApps: false + enabledForGitHubApps: true category: repos subcategory: repos put: @@ -72417,7 +72422,7 @@ components: description: The company under which the license is issued. type: string croquetSupport: - description: Whether the Github Connect feature is enabled. + description: Whether the GitHub Connect feature is enabled. type: boolean customTerms: description: Whether this license is issued under custom terms.