Skip to content

Commit 339504b

Browse files
authored
Merge pull request #17125 from github/repo-sync
repo sync
2 parents 9e92302 + 3239275 commit 339504b

File tree

7 files changed

+289
-28
lines changed

7 files changed

+289
-28
lines changed

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

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45821,31 +45821,78 @@
4582145821
"properties": {
4582245822
"type": {
4582345823
"type": "string",
45824-
"description": "The type of reviewer. Must be one of: `User` or `Team`",
45824+
"description": "<p>The type of reviewer. Must be one of: <code>User</code> or <code>Team</code></p>",
4582545825
"enum": [
4582645826
"User",
4582745827
"Team"
4582845828
],
4582945829
"examples": [
4583045830
"User"
45831-
]
45831+
],
45832+
"name": "type",
45833+
"in": "body",
45834+
"rawType": "string",
45835+
"rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
45836+
"childParamsGroups": []
4583245837
},
4583345838
"id": {
4583445839
"type": "integer",
45835-
"description": "The id of the user or team who can review the deployment",
45840+
"description": "<p>The id of the user or team who can review the deployment</p>",
4583645841
"examples": [
4583745842
4532992
45838-
]
45843+
],
45844+
"name": "id",
45845+
"in": "body",
45846+
"rawType": "integer",
45847+
"rawDescription": "The id of the user or team who can review the deployment",
45848+
"childParamsGroups": []
4583945849
}
4584045850
}
4584145851
},
4584245852
"name": "reviewers",
4584345853
"in": "body",
4584445854
"rawType": [
45855+
"array",
4584545856
"null"
4584645857
],
4584745858
"rawDescription": "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.",
45848-
"childParamsGroups": []
45859+
"childParamsGroups": [
45860+
{
45861+
"parentName": "reviewers",
45862+
"parentType": "items",
45863+
"id": "reviewers-items",
45864+
"params": [
45865+
{
45866+
"type": "string",
45867+
"description": "<p>The type of reviewer. Must be one of: <code>User</code> or <code>Team</code></p>",
45868+
"enum": [
45869+
"User",
45870+
"Team"
45871+
],
45872+
"examples": [
45873+
"User"
45874+
],
45875+
"name": "type",
45876+
"in": "body",
45877+
"rawType": "string",
45878+
"rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
45879+
"childParamsGroups": []
45880+
},
45881+
{
45882+
"type": "integer",
45883+
"description": "<p>The id of the user or team who can review the deployment</p>",
45884+
"examples": [
45885+
4532992
45886+
],
45887+
"name": "id",
45888+
"in": "body",
45889+
"rawType": "integer",
45890+
"rawDescription": "The id of the user or team who can review the deployment",
45891+
"childParamsGroups": []
45892+
}
45893+
]
45894+
}
45895+
]
4584945896
},
4585045897
{
4585145898
"type": "object or null",
@@ -64929,6 +64976,7 @@
6492964976
"name": "scopes",
6493064977
"in": "body",
6493164978
"rawType": [
64979+
"array",
6493264980
"null"
6493364981
],
6493464982
"rawDescription": "A list of scopes that this authorization is in.",
@@ -65098,6 +65146,7 @@
6509865146
"name": "scopes",
6509965147
"in": "body",
6510065148
"rawType": [
65149+
"array",
6510165150
"null"
6510265151
],
6510365152
"rawDescription": "A list of scopes that this authorization is in.",
@@ -65296,6 +65345,7 @@
6529665345
"name": "scopes",
6529765346
"in": "body",
6529865347
"rawType": [
65348+
"array",
6529965349
"null"
6530065350
],
6530165351
"rawDescription": "A list of scopes that this authorization is in.",
@@ -65530,6 +65580,7 @@
6553065580
"name": "scopes",
6553165581
"in": "body",
6553265582
"rawType": [
65583+
"array",
6553365584
"null"
6553465585
],
6553565586
"rawDescription": "A list of scopes that this authorization is in.",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50041,6 +50041,7 @@
5004150041
"name": "scopes",
5004250042
"in": "body",
5004350043
"rawType": [
50044+
"array",
5004450045
"null"
5004550046
],
5004650047
"rawDescription": "A list of scopes that this authorization is in.",
@@ -50209,6 +50210,7 @@
5020950210
"name": "scopes",
5021050211
"in": "body",
5021150212
"rawType": [
50213+
"array",
5021250214
"null"
5021350215
],
5021450216
"rawDescription": "A list of scopes that this authorization is in.",
@@ -50405,6 +50407,7 @@
5040550407
"name": "scopes",
5040650408
"in": "body",
5040750409
"rawType": [
50410+
"array",
5040850411
"null"
5040950412
],
5041050413
"rawDescription": "A list of scopes that this authorization is in.",
@@ -50636,6 +50639,7 @@
5063650639
"name": "scopes",
5063750640
"in": "body",
5063850641
"rawType": [
50642+
"array",
5063950643
"null"
5064050644
],
5064150645
"rawDescription": "A list of scopes that this authorization is in.",

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

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34195,31 +34195,78 @@
3419534195
"properties": {
3419634196
"type": {
3419734197
"type": "string",
34198-
"description": "The type of reviewer. Must be one of: `User` or `Team`",
34198+
"description": "<p>The type of reviewer. Must be one of: <code>User</code> or <code>Team</code></p>",
3419934199
"enum": [
3420034200
"User",
3420134201
"Team"
3420234202
],
3420334203
"examples": [
3420434204
"User"
34205-
]
34205+
],
34206+
"name": "type",
34207+
"in": "body",
34208+
"rawType": "string",
34209+
"rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
34210+
"childParamsGroups": []
3420634211
},
3420734212
"id": {
3420834213
"type": "integer",
34209-
"description": "The id of the user or team who can review the deployment",
34214+
"description": "<p>The id of the user or team who can review the deployment</p>",
3421034215
"examples": [
3421134216
4532992
34212-
]
34217+
],
34218+
"name": "id",
34219+
"in": "body",
34220+
"rawType": "integer",
34221+
"rawDescription": "The id of the user or team who can review the deployment",
34222+
"childParamsGroups": []
3421334223
}
3421434224
}
3421534225
},
3421634226
"name": "reviewers",
3421734227
"in": "body",
3421834228
"rawType": [
34229+
"array",
3421934230
"null"
3422034231
],
3422134232
"rawDescription": "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.",
34222-
"childParamsGroups": []
34233+
"childParamsGroups": [
34234+
{
34235+
"parentName": "reviewers",
34236+
"parentType": "items",
34237+
"id": "reviewers-items",
34238+
"params": [
34239+
{
34240+
"type": "string",
34241+
"description": "<p>The type of reviewer. Must be one of: <code>User</code> or <code>Team</code></p>",
34242+
"enum": [
34243+
"User",
34244+
"Team"
34245+
],
34246+
"examples": [
34247+
"User"
34248+
],
34249+
"name": "type",
34250+
"in": "body",
34251+
"rawType": "string",
34252+
"rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
34253+
"childParamsGroups": []
34254+
},
34255+
{
34256+
"type": "integer",
34257+
"description": "<p>The id of the user or team who can review the deployment</p>",
34258+
"examples": [
34259+
4532992
34260+
],
34261+
"name": "id",
34262+
"in": "body",
34263+
"rawType": "integer",
34264+
"rawDescription": "The id of the user or team who can review the deployment",
34265+
"childParamsGroups": []
34266+
}
34267+
]
34268+
}
34269+
]
3422334270
},
3422434271
{
3422534272
"type": "object or null",
@@ -51745,6 +51792,7 @@
5174551792
"name": "scopes",
5174651793
"in": "body",
5174751794
"rawType": [
51795+
"array",
5174851796
"null"
5174951797
],
5175051798
"rawDescription": "A list of scopes that this authorization is in.",
@@ -51914,6 +51962,7 @@
5191451962
"name": "scopes",
5191551963
"in": "body",
5191651964
"rawType": [
51965+
"array",
5191751966
"null"
5191851967
],
5191951968
"rawDescription": "A list of scopes that this authorization is in.",
@@ -52112,6 +52161,7 @@
5211252161
"name": "scopes",
5211352162
"in": "body",
5211452163
"rawType": [
52164+
"array",
5211552165
"null"
5211652166
],
5211752167
"rawDescription": "A list of scopes that this authorization is in.",
@@ -52346,6 +52396,7 @@
5234652396
"name": "scopes",
5234752397
"in": "body",
5234852398
"rawType": [
52399+
"array",
5234952400
"null"
5235052401
],
5235152402
"rawDescription": "A list of scopes that this authorization is in.",

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

Lines changed: 56 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34333,31 +34333,78 @@
3433334333
"properties": {
3433434334
"type": {
3433534335
"type": "string",
34336-
"description": "The type of reviewer. Must be one of: `User` or `Team`",
34336+
"description": "<p>The type of reviewer. Must be one of: <code>User</code> or <code>Team</code></p>",
3433734337
"enum": [
3433834338
"User",
3433934339
"Team"
3434034340
],
3434134341
"examples": [
3434234342
"User"
34343-
]
34343+
],
34344+
"name": "type",
34345+
"in": "body",
34346+
"rawType": "string",
34347+
"rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
34348+
"childParamsGroups": []
3434434349
},
3434534350
"id": {
3434634351
"type": "integer",
34347-
"description": "The id of the user or team who can review the deployment",
34352+
"description": "<p>The id of the user or team who can review the deployment</p>",
3434834353
"examples": [
3434934354
4532992
34350-
]
34355+
],
34356+
"name": "id",
34357+
"in": "body",
34358+
"rawType": "integer",
34359+
"rawDescription": "The id of the user or team who can review the deployment",
34360+
"childParamsGroups": []
3435134361
}
3435234362
}
3435334363
},
3435434364
"name": "reviewers",
3435534365
"in": "body",
3435634366
"rawType": [
34367+
"array",
3435734368
"null"
3435834369
],
3435934370
"rawDescription": "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.",
34360-
"childParamsGroups": []
34371+
"childParamsGroups": [
34372+
{
34373+
"parentName": "reviewers",
34374+
"parentType": "items",
34375+
"id": "reviewers-items",
34376+
"params": [
34377+
{
34378+
"type": "string",
34379+
"description": "<p>The type of reviewer. Must be one of: <code>User</code> or <code>Team</code></p>",
34380+
"enum": [
34381+
"User",
34382+
"Team"
34383+
],
34384+
"examples": [
34385+
"User"
34386+
],
34387+
"name": "type",
34388+
"in": "body",
34389+
"rawType": "string",
34390+
"rawDescription": "The type of reviewer. Must be one of: `User` or `Team`",
34391+
"childParamsGroups": []
34392+
},
34393+
{
34394+
"type": "integer",
34395+
"description": "<p>The id of the user or team who can review the deployment</p>",
34396+
"examples": [
34397+
4532992
34398+
],
34399+
"name": "id",
34400+
"in": "body",
34401+
"rawType": "integer",
34402+
"rawDescription": "The id of the user or team who can review the deployment",
34403+
"childParamsGroups": []
34404+
}
34405+
]
34406+
}
34407+
]
3436134408
},
3436234409
{
3436334410
"type": "object or null",
@@ -52000,6 +52047,7 @@
5200052047
"name": "scopes",
5200152048
"in": "body",
5200252049
"rawType": [
52050+
"array",
5200352051
"null"
5200452052
],
5200552053
"rawDescription": "A list of scopes that this authorization is in.",
@@ -52169,6 +52217,7 @@
5216952217
"name": "scopes",
5217052218
"in": "body",
5217152219
"rawType": [
52220+
"array",
5217252221
"null"
5217352222
],
5217452223
"rawDescription": "A list of scopes that this authorization is in.",
@@ -52367,6 +52416,7 @@
5236752416
"name": "scopes",
5236852417
"in": "body",
5236952418
"rawType": [
52419+
"array",
5237052420
"null"
5237152421
],
5237252422
"rawDescription": "A list of scopes that this authorization is in.",
@@ -52601,6 +52651,7 @@
5260152651
"name": "scopes",
5260252652
"in": "body",
5260352653
"rawType": [
52654+
"array",
5260452655
"null"
5260552656
],
5260652657
"rawDescription": "A list of scopes that this authorization is in.",

0 commit comments

Comments
 (0)