diff --git a/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state b/clients/GitHubEnterprise-3.13/etc/openapi-client-generator.state index 913669c0bf7..83a11cb019d 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": "71747b16e45e0f2a54b8e1ca561b75d5", + "specHash": "1e4171c4fa0a2799e195f6bc1881cf84", "generatedFiles": { "files": [ { @@ -13816,7 +13816,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/GhesLicenseInfo.php", - "hash": "11f25056840082f928f2981476249d8f" + "hash": "77c68faa550ce195d57556a97655794f" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/GhesUploadLicenseRequest.php", @@ -24964,7 +24964,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateOrgSecret\/Request\/ApplicationJson.php", - "hash": "0a552931448e86ef390118859bb6dea5" + "hash": "e7d3d8a1cfe4be25e3e27b4d0db88ccc" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietD6BA1ED7\/Tiet9B0C5C34\/TietD5FB7F6C\/Tiet8AB8BB18.php", @@ -25540,7 +25540,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateRepoSecret\/Request\/ApplicationJson.php", - "hash": "639ecdb585ccdb4b155073cfcf86a555" + "hash": "de48413601fba051e9ef62c628a42e2f" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietFE7865BF\/Tiet5F7F1DFF\/TietE50994AE\/TietB8600E0B.php", @@ -27212,7 +27212,7 @@ }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Dependabot.php", - "hash": "41f38bbe9a82db393bb4c578316bf591" + "hash": "edac74857f10a9a5ef2430a8051cd208" }, { "name": ".\/clients\/GitHubEnterprise-3.13\/etc\/..\/\/src\/\/Operation\/Billing.php", diff --git a/clients/GitHubEnterprise-3.13/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.13/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php index 4d7b315302a..1f689044a89 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.13/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.13/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.13/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.13/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.13/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php b/clients/GitHubEnterprise-3.13/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php index 89b6379f32a..c089ca0e924 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php +++ b/clients/GitHubEnterprise-3.13/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.13/src/Schema/GhesLicenseInfo.php b/clients/GitHubEnterprise-3.13/src/Schema/GhesLicenseInfo.php index 6bb323c6a6c..4e3ec432ed9 100644 --- a/clients/GitHubEnterprise-3.13/src/Schema/GhesLicenseInfo.php +++ b/clients/GitHubEnterprise-3.13/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.13/current.spec.yaml b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml index 4e5c2efabb3..b64230d91d9 100644 --- a/etc/specs/GitHubEnterprise-3.13/current.spec.yaml +++ b/etc/specs/GitHubEnterprise-3.13/current.spec.yaml @@ -10399,6 +10399,8 @@ paths: items: type: integer required: + - encrypted_value + - key_id - visibility examples: default: @@ -21346,6 +21348,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: @@ -39378,7 +39383,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: @@ -71457,7 +71462,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.