Skip to content

Commit 953a8a2

Browse files
authored
repo sync
2 parents a3e2cbc + d4df9b2 commit 953a8a2

12 files changed

Lines changed: 396 additions & 79 deletions

lib/rest/static/decorated/api.github.com.json

Lines changed: 228 additions & 20 deletions
Large diffs are not rendered by default.

lib/rest/static/decorated/ghes-2.20.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6316,14 +6316,17 @@
63166316
"properties": {
63176317
"access_token": {
63186318
"type": "string",
6319-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6319+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
63206320
"name": "access_token",
63216321
"in": "body",
63226322
"rawType": "string",
63236323
"rawDescription": "The OAuth access token used to authenticate to the GitHub API.",
63246324
"childParamsGroups": []
63256325
}
6326-
}
6326+
},
6327+
"required": [
6328+
"access_token"
6329+
]
63276330
},
63286331
"example": {
63296332
"access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
@@ -6360,7 +6363,7 @@
63606363
"bodyParameters": [
63616364
{
63626365
"type": "string",
6363-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6366+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
63646367
"name": "access_token",
63656368
"in": "body",
63666369
"rawType": "string",

lib/rest/static/decorated/ghes-2.21.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6310,14 +6310,17 @@
63106310
"properties": {
63116311
"access_token": {
63126312
"type": "string",
6313-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6313+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
63146314
"name": "access_token",
63156315
"in": "body",
63166316
"rawType": "string",
63176317
"rawDescription": "The OAuth access token used to authenticate to the GitHub API.",
63186318
"childParamsGroups": []
63196319
}
6320-
}
6320+
},
6321+
"required": [
6322+
"access_token"
6323+
]
63216324
},
63226325
"example": {
63236326
"access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
@@ -6354,7 +6357,7 @@
63546357
"bodyParameters": [
63556358
{
63566359
"type": "string",
6357-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6360+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
63586361
"name": "access_token",
63596362
"in": "body",
63606363
"rawType": "string",

lib/rest/static/decorated/ghes-2.22.json

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6390,14 +6390,17 @@
63906390
"properties": {
63916391
"access_token": {
63926392
"type": "string",
6393-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6393+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
63946394
"name": "access_token",
63956395
"in": "body",
63966396
"rawType": "string",
63976397
"rawDescription": "The OAuth access token used to authenticate to the GitHub API.",
63986398
"childParamsGroups": []
63996399
}
6400-
}
6400+
},
6401+
"required": [
6402+
"access_token"
6403+
]
64016404
},
64026405
"example": {
64036406
"access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
@@ -6434,7 +6437,7 @@
64346437
"bodyParameters": [
64356438
{
64366439
"type": "string",
6437-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6440+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
64386441
"name": "access_token",
64396442
"in": "body",
64406443
"rawType": "string",
@@ -16259,6 +16262,7 @@
1625916262
"encrypted_value": {
1626016263
"type": "string",
1626116264
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>",
16265+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
1626216266
"name": "encrypted_value",
1626316267
"in": "body",
1626416268
"rawType": "string",
@@ -16303,7 +16307,7 @@
1630316307
}
1630416308
},
1630516309
"example": {
16306-
"encrypted_value": "****************************************************************************************",
16310+
"encrypted_value": "c2VjcmV0",
1630716311
"key_id": "012345678912345678",
1630816312
"visibility": "selected",
1630916313
"selected_repository_ids": [
@@ -16344,6 +16348,7 @@
1634416348
{
1634516349
"type": "string",
1634616350
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>",
16351+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
1634716352
"name": "encrypted_value",
1634816353
"in": "body",
1634916354
"rawType": "string",
@@ -29639,6 +29644,7 @@
2963929644
"encrypted_value": {
2964029645
"type": "string",
2964129646
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>",
29647+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
2964229648
"name": "encrypted_value",
2964329649
"in": "body",
2964429650
"rawType": "string",
@@ -29657,7 +29663,7 @@
2965729663
}
2965829664
},
2965929665
"example": {
29660-
"encrypted_value": "****************************************************************************************",
29666+
"encrypted_value": "c2VjcmV0",
2966129667
"key_id": "012345678912345678"
2966229668
}
2966329669
}
@@ -29693,6 +29699,7 @@
2969329699
{
2969429700
"type": "string",
2969529701
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@2.22/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>",
29702+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
2969629703
"name": "encrypted_value",
2969729704
"in": "body",
2969829705
"rawType": "string",

lib/rest/static/decorated/ghes-3.0.json

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6592,14 +6592,17 @@
65926592
"properties": {
65936593
"access_token": {
65946594
"type": "string",
6595-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6595+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
65966596
"name": "access_token",
65976597
"in": "body",
65986598
"rawType": "string",
65996599
"rawDescription": "The OAuth access token used to authenticate to the GitHub API.",
66006600
"childParamsGroups": []
66016601
}
6602-
}
6602+
},
6603+
"required": [
6604+
"access_token"
6605+
]
66036606
},
66046607
"example": {
66056608
"access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
@@ -6636,7 +6639,7 @@
66366639
"bodyParameters": [
66376640
{
66386641
"type": "string",
6639-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
6642+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
66406643
"name": "access_token",
66416644
"in": "body",
66426645
"rawType": "string",
@@ -6691,7 +6694,7 @@
66916694
"properties": {
66926695
"access_token": {
66936696
"type": "string",
6694-
"description": "<p><strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>",
6697+
"description": "<p><strong>Required</strong>. <strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>",
66956698
"example": "e72e16c7e42f292c6912e7710c838347ae178b4a",
66966699
"name": "access_token",
66976700
"in": "body",
@@ -7551,7 +7554,10 @@
75517554
}
75527555
]
75537556
}
7554-
}
7557+
},
7558+
"required": [
7559+
"access_token"
7560+
]
75557561
}
75567562
}
75577563
}
@@ -7601,7 +7607,7 @@
76017607
"bodyParameters": [
76027608
{
76037609
"type": "string",
7604-
"description": "<p><strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>",
7610+
"description": "<p><strong>Required</strong>. <strong>Required.</strong> The OAuth access token used to authenticate to the GitHub API.</p>",
76057611
"example": "e72e16c7e42f292c6912e7710c838347ae178b4a",
76067612
"name": "access_token",
76077613
"in": "body",
@@ -19946,6 +19952,7 @@
1994619952
"encrypted_value": {
1994719953
"type": "string",
1994819954
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>",
19955+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
1994919956
"name": "encrypted_value",
1995019957
"in": "body",
1995119958
"rawType": "string",
@@ -19990,7 +19997,7 @@
1999019997
}
1999119998
},
1999219999
"example": {
19993-
"encrypted_value": "****************************************************************************************",
20000+
"encrypted_value": "c2VjcmV0",
1999420001
"key_id": "012345678912345678",
1999520002
"visibility": "selected",
1999620003
"selected_repository_ids": [
@@ -20031,6 +20038,7 @@
2003120038
{
2003220039
"type": "string",
2003320040
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>",
20041+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
2003420042
"name": "encrypted_value",
2003520043
"in": "body",
2003620044
"rawType": "string",
@@ -33979,6 +33987,7 @@
3397933987
"encrypted_value": {
3398033988
"type": "string",
3398133989
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>",
33990+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
3398233991
"name": "encrypted_value",
3398333992
"in": "body",
3398433993
"rawType": "string",
@@ -33997,7 +34006,7 @@
3399734006
}
3399834007
},
3399934008
"example": {
34000-
"encrypted_value": "****************************************************************************************",
34009+
"encrypted_value": "c2VjcmV0",
3400134010
"key_id": "012345678912345678"
3400234011
}
3400334012
}
@@ -34033,6 +34042,7 @@
3403334042
{
3403434043
"type": "string",
3403534044
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/enterprise-server@3.0/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>",
34045+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
3403634046
"name": "encrypted_value",
3403734047
"in": "body",
3403834048
"rawType": "string",

lib/rest/static/decorated/github.ae.json

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5203,14 +5203,17 @@
52035203
"properties": {
52045204
"access_token": {
52055205
"type": "string",
5206-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
5206+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
52075207
"name": "access_token",
52085208
"in": "body",
52095209
"rawType": "string",
52105210
"rawDescription": "The OAuth access token used to authenticate to the GitHub API.",
52115211
"childParamsGroups": []
52125212
}
5213-
}
5213+
},
5214+
"required": [
5215+
"access_token"
5216+
]
52145217
},
52155218
"example": {
52165219
"access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
@@ -5247,7 +5250,7 @@
52475250
"bodyParameters": [
52485251
{
52495252
"type": "string",
5250-
"description": "<p>The OAuth access token used to authenticate to the GitHub API.</p>",
5253+
"description": "<p><strong>Required</strong>. The OAuth access token used to authenticate to the GitHub API.</p>",
52515254
"name": "access_token",
52525255
"in": "body",
52535256
"rawType": "string",
@@ -14225,6 +14228,7 @@
1422514228
"encrypted_value": {
1422614229
"type": "string",
1422714230
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>",
14231+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
1422814232
"name": "encrypted_value",
1422914233
"in": "body",
1423014234
"rawType": "string",
@@ -14269,7 +14273,7 @@
1426914273
}
1427014274
},
1427114275
"example": {
14272-
"encrypted_value": "****************************************************************************************",
14276+
"encrypted_value": "c2VjcmV0",
1427314277
"key_id": "012345678912345678",
1427414278
"visibility": "selected",
1427514279
"selected_repository_ids": [
@@ -14310,6 +14314,7 @@
1431014314
{
1431114315
"type": "string",
1431214316
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-organization-public-key\">Get an organization public key</a> endpoint.</p>",
14317+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
1431314318
"name": "encrypted_value",
1431414319
"in": "body",
1431514320
"rawType": "string",
@@ -28035,6 +28040,7 @@
2803528040
"encrypted_value": {
2803628041
"type": "string",
2803728042
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>",
28043+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
2803828044
"name": "encrypted_value",
2803928045
"in": "body",
2804028046
"rawType": "string",
@@ -28053,7 +28059,7 @@
2805328059
}
2805428060
},
2805528061
"example": {
28056-
"encrypted_value": "****************************************************************************************",
28062+
"encrypted_value": "c2VjcmV0",
2805728063
"key_id": "012345678912345678"
2805828064
}
2805928065
}
@@ -28089,6 +28095,7 @@
2808928095
{
2809028096
"type": "string",
2809128097
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-a-repository-public-key\">Get a repository public key</a> endpoint.</p>",
28098+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
2809228099
"name": "encrypted_value",
2809328100
"in": "body",
2809428101
"rawType": "string",
@@ -45161,6 +45168,7 @@
4516145168
"application/json": {
4516245169
"schema": {
4516345170
"type": "object",
45171+
"nullable": true,
4516445172
"properties": {
4516545173
"wait_timer": {
4516645174
"type": "integer",
@@ -45173,7 +45181,8 @@
4517345181
"childParamsGroups": []
4517445182
},
4517545183
"reviewers": {
45176-
"type": "array of objects",
45184+
"type": "array of objects or null",
45185+
"nullable": true,
4517745186
"description": "<p>The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>",
4517845187
"items": {
4517945188
"type": "object",
@@ -45302,7 +45311,8 @@
4530245311
}
4530345312
]
4530445313
}
45305-
}
45314+
},
45315+
"additionalProperties": false
4530645316
}
4530745317
}
4530845318
}
@@ -45346,7 +45356,8 @@
4534645356
"childParamsGroups": []
4534745357
},
4534845358
{
45349-
"type": "array of objects",
45359+
"type": "array of objects or null",
45360+
"nullable": true,
4535045361
"description": "<p>The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.</p>",
4535145362
"items": {
4535245363
"type": "object",
@@ -65981,6 +65992,7 @@
6598165992
"encrypted_value": {
6598265993
"type": "string",
6598365994
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-environment-public-key\">Get an environment public key</a> endpoint.</p>",
65995+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
6598465996
"name": "encrypted_value",
6598565997
"in": "body",
6598665998
"rawType": "string",
@@ -65999,7 +66011,7 @@
6599966011
}
6600066012
},
6600166013
"example": {
66002-
"encrypted_value": "****************************************************************************************",
66014+
"encrypted_value": "c2VjcmV0",
6600366015
"key_id": "012345678912345678"
6600466016
}
6600566017
}
@@ -66035,6 +66047,7 @@
6603566047
{
6603666048
"type": "string",
6603766049
"description": "<p>Value for your secret, encrypted with <a href=\"https://libsodium.gitbook.io/doc/bindings_for_other_languages\">LibSodium</a> using the public key retrieved from the <a href=\"https://docs.github.com/github-ae@latest/rest/reference/actions#get-an-environment-public-key\">Get an environment public key</a> endpoint.</p>",
66050+
"pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$",
6603866051
"name": "encrypted_value",
6603966052
"in": "body",
6604066053
"rawType": "string",

0 commit comments

Comments
 (0)