Skip to content

Commit 200f398

Browse files
authored
Merge pull request #1494 from php-api-clients/GitHubEnterprise-3.15/from-1.1.4-83e5b632882630eb5ec8d27318fd0346-from-1.1.4-83e5b632882630eb5ec8d27318fd0346
2 parents fc3f424 + 5718633 commit 200f398

File tree

5 files changed

+24
-13
lines changed

5 files changed

+24
-13
lines changed

clients/GitHubEnterprise-3.15/etc/openapi-client-generator.state

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "2766a6279db0f2ed943b5c4abdd093c7",
2+
"specHash": "83e5b632882630eb5ec8d27318fd0346",
33
"generatedFiles": {
44
"files": [
55
{
@@ -14008,7 +14008,7 @@
1400814008
},
1400914009
{
1401014010
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/GhesLicenseInfo.php",
14011-
"hash": "11f25056840082f928f2981476249d8f"
14011+
"hash": "77c68faa550ce195d57556a97655794f"
1401214012
},
1401314013
{
1401414014
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/GhesUploadLicenseRequest.php",
@@ -25212,7 +25212,7 @@
2521225212
},
2521325213
{
2521425214
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateOrgSecret\/Request\/ApplicationJson.php",
25215-
"hash": "d844631ebaa25bc9b536ed3e2d27c41c"
25215+
"hash": "673d343bcf3896eb368a6932cd61b62c"
2521625216
},
2521725217
{
2521825218
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/Tiet1464B58F\/Tiet43EDD44B\/Tiet7113D8CA\/TietB521532B.php",
@@ -25820,7 +25820,7 @@
2582025820
},
2582125821
{
2582225822
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/Actions\/CreateOrUpdateRepoSecret\/Request\/ApplicationJson.php",
25823-
"hash": "d0a8300a789e5617a581bf5b0df76732"
25823+
"hash": "afcfd8afd1e55fb79cfd4f7e47b16e57"
2582425824
},
2582525825
{
2582625826
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Schema\/AliasAbstract\/TietFE7865BF\/Tiet5F7F1DFF\/TietE50994AE\/TietB8600E0B.php",
@@ -27488,7 +27488,7 @@
2748827488
},
2748927489
{
2749027490
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/Dependabot.php",
27491-
"hash": "41f38bbe9a82db393bb4c578316bf591"
27491+
"hash": "edac74857f10a9a5ef2430a8051cd208"
2749227492
},
2749327493
{
2749427494
"name": ".\/clients\/GitHubEnterprise-3.15\/etc\/..\/\/src\/\/Operation\/Billing.php",

clients/GitHubEnterprise-3.15/src/Schema/Actions/CreateOrUpdateOrgSecret/Request/ApplicationJson.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
{
1111
public const SCHEMA_JSON = '{
1212
"required": [
13+
"encrypted_value",
14+
"key_id",
1315
"visibility"
1416
],
1517
"type": "object",
@@ -60,8 +62,8 @@
6062
* 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/[email protected]/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/[email protected]/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/[email protected]/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
6163
*/
6264
public function __construct(#[MapFrom('encrypted_value')]
63-
public string|null $encryptedValue, #[MapFrom('key_id')]
64-
public string|null $keyId, public string $visibility, #[MapFrom('selected_repository_ids')]
65+
public string $encryptedValue, #[MapFrom('key_id')]
66+
public string $keyId, public string $visibility, #[MapFrom('selected_repository_ids')]
6567
public array|null $selectedRepositoryIds,)
6668
{
6769
}

clients/GitHubEnterprise-3.15/src/Schema/Actions/CreateOrUpdateRepoSecret/Request/ApplicationJson.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
final readonly class ApplicationJson
1010
{
1111
public const SCHEMA_JSON = '{
12+
"required": [
13+
"encrypted_value",
14+
"key_id"
15+
],
1216
"type": "object",
1317
"properties": {
1418
"encrypted_value": {
@@ -34,8 +38,8 @@
3438
* keyId: ID of the key you used to encrypt the secret.
3539
*/
3640
public function __construct(#[MapFrom('encrypted_value')]
37-
public string|null $encryptedValue, #[MapFrom('key_id')]
38-
public string|null $keyId,)
41+
public string $encryptedValue, #[MapFrom('key_id')]
42+
public string $keyId,)
3943
{
4044
}
4145
}

clients/GitHubEnterprise-3.15/src/Schema/GhesLicenseInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"croquetSupport": {
2929
"type": "boolean",
30-
"description": "Whether the Github Connect feature is enabled."
30+
"description": "Whether the GitHub Connect feature is enabled."
3131
},
3232
"customTerms": {
3333
"type": "boolean",
@@ -123,7 +123,7 @@
123123
* advancedSecuritySeats: If the GitHub Advanced Security feature is enabled, the seat count.
124124
* clusterSupport: Whether the cluster support feature is enabled.
125125
* company: The company under which the license is issued.
126-
* croquetSupport: Whether the Github Connect feature is enabled.
126+
* croquetSupport: Whether the GitHub Connect feature is enabled.
127127
* customTerms: Whether this license is issued under custom terms.
128128
* evaluation: Wheter this license is issued as an evaluation license.
129129
* expireAt: The expiration date of the license.

etc/specs/GitHubEnterprise-3.15/current.spec.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10448,6 +10448,8 @@ paths:
1044810448
items:
1044910449
type: integer
1045010450
required:
10451+
- encrypted_value
10452+
- key_id
1045110453
- visibility
1045210454
examples:
1045310455
default:
@@ -22789,6 +22791,9 @@ paths:
2278922791
key_id:
2279022792
type: string
2279122793
description: ID of the key you used to encrypt the secret.
22794+
required:
22795+
- encrypted_value
22796+
- key_id
2279222797
examples:
2279322798
default:
2279422799
value:
@@ -40923,7 +40928,7 @@ paths:
4092340928
description: Not Found if repository is not enabled with vulnerability alerts
4092440929
x-github:
4092540930
githubCloudOnly: false
40926-
enabledForGitHubApps: false
40931+
enabledForGitHubApps: true
4092740932
category: repos
4092840933
subcategory: repos
4092940934
put:
@@ -72832,7 +72837,7 @@ components:
7283272837
description: The company under which the license is issued.
7283372838
type: string
7283472839
croquetSupport:
72835-
description: Whether the Github Connect feature is enabled.
72840+
description: Whether the GitHub Connect feature is enabled.
7283672841
type: boolean
7283772842
customTerms:
7283872843
description: Whether this license is issued under custom terms.

0 commit comments

Comments
 (0)