Skip to content

Commit 34ce793

Browse files
Update OpenAPI Descriptions (#23185)
1 parent b4a1673 commit 34ce793

12 files changed

Lines changed: 327 additions & 1135 deletions

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

Lines changed: 19 additions & 200 deletions
Large diffs are not rendered by default.

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

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

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

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

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

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

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

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

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

Lines changed: 18 additions & 199 deletions
Large diffs are not rendered by default.

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 38 additions & 316 deletions
Large diffs are not rendered by default.

lib/rest/static/dereferenced/ghes-3.0.deref.json

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46921,7 +46921,7 @@
4692146921
"type": "string"
4692246922
},
4692346923
"mode": {
46924-
"description": "The rendering mode.",
46924+
"description": "The rendering mode. Can be either `markdown` or `gfm`.",
4692546925
"enum": [
4692646926
"markdown",
4692746927
"gfm"
@@ -46931,7 +46931,7 @@
4693146931
"type": "string"
4693246932
},
4693346933
"context": {
46934-
"description": "The repository context to use when creating references in `gfm` mode.",
46934+
"description": "The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository.",
4693546935
"type": "string"
4693646936
}
4693746937
},
@@ -94018,9 +94018,11 @@
9401894018
"created_at": "2011-01-26T19:01:12Z",
9401994019
"updated_at": "2011-01-26T19:14:43Z",
9402094020
"permissions": {
94021-
"admin": false,
94021+
"pull": true,
94022+
"triage": false,
9402294023
"push": false,
94023-
"pull": true
94024+
"maintain": false,
94025+
"admin": false
9402494026
},
9402594027
"allow_rebase_merge": true,
9402694028
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
@@ -146349,6 +146351,12 @@
146349146351
},
146350146352
"check_runs_url": {
146351146353
"type": "string"
146354+
},
146355+
"rerequestable": {
146356+
"type": "boolean"
146357+
},
146358+
"runs_rerequestable": {
146359+
"type": "boolean"
146352146360
}
146353146361
},
146354146362
"required": [
@@ -148818,6 +148826,12 @@
148818148826
},
148819148827
"check_runs_url": {
148820148828
"type": "string"
148829+
},
148830+
"rerequestable": {
148831+
"type": "boolean"
148832+
},
148833+
"runs_rerequestable": {
148834+
"type": "boolean"
148821148835
}
148822148836
},
148823148837
"required": [
@@ -153357,6 +153371,12 @@
153357153371
},
153358153372
"check_runs_url": {
153359153373
"type": "string"
153374+
},
153375+
"rerequestable": {
153376+
"type": "boolean"
153377+
},
153378+
"runs_rerequestable": {
153379+
"type": "boolean"
153360153380
}
153361153381
},
153362153382
"required": [
@@ -172444,6 +172464,12 @@
172444172464
},
172445172465
"check_runs_url": {
172446172466
"type": "string"
172467+
},
172468+
"rerequestable": {
172469+
"type": "boolean"
172470+
},
172471+
"runs_rerequestable": {
172472+
"type": "boolean"
172447172473
}
172448172474
},
172449172475
"required": [
@@ -254559,7 +254585,7 @@
254559254585
},
254560254586
"description": {
254561254587
"type": "string",
254562-
"description": "A short description of the label."
254588+
"description": "A short description of the label. Must be 100 characters or fewer."
254563254589
}
254564254590
},
254565254591
"required": [
@@ -254954,7 +254980,7 @@
254954254980
},
254955254981
"description": {
254956254982
"type": "string",
254957-
"description": "A short description of the label."
254983+
"description": "A short description of the label. Must be 100 characters or fewer."
254958254984
}
254959254985
}
254960254986
},
@@ -331102,9 +331128,11 @@
331102331128
"created_at": "2011-01-26T19:01:12Z",
331103331129
"updated_at": "2011-01-26T19:14:43Z",
331104331130
"permissions": {
331105-
"admin": false,
331131+
"pull": true,
331132+
"triage": false,
331106331133
"push": false,
331107-
"pull": true
331134+
"maintain": false,
331135+
"admin": false
331108331136
},
331109331137
"allow_rebase_merge": true,
331110331138
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",

lib/rest/static/dereferenced/ghes-3.1.deref.json

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46946,7 +46946,7 @@
4694646946
"type": "string"
4694746947
},
4694846948
"mode": {
46949-
"description": "The rendering mode.",
46949+
"description": "The rendering mode. Can be either `markdown` or `gfm`.",
4695046950
"enum": [
4695146951
"markdown",
4695246952
"gfm"
@@ -46956,7 +46956,7 @@
4695646956
"type": "string"
4695746957
},
4695846958
"context": {
46959-
"description": "The repository context to use when creating references in `gfm` mode.",
46959+
"description": "The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository.",
4696046960
"type": "string"
4696146961
}
4696246962
},
@@ -94333,9 +94333,11 @@
9433394333
"created_at": "2011-01-26T19:01:12Z",
9433494334
"updated_at": "2011-01-26T19:14:43Z",
9433594335
"permissions": {
94336-
"admin": false,
94336+
"pull": true,
94337+
"triage": false,
9433794338
"push": false,
94338-
"pull": true
94339+
"maintain": false,
94340+
"admin": false
9433994341
},
9434094342
"allow_rebase_merge": true,
9434194343
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
@@ -148282,6 +148284,12 @@
148282148284
},
148283148285
"check_runs_url": {
148284148286
"type": "string"
148287+
},
148288+
"rerequestable": {
148289+
"type": "boolean"
148290+
},
148291+
"runs_rerequestable": {
148292+
"type": "boolean"
148285148293
}
148286148294
},
148287148295
"required": [
@@ -150751,6 +150759,12 @@
150751150759
},
150752150760
"check_runs_url": {
150753150761
"type": "string"
150762+
},
150763+
"rerequestable": {
150764+
"type": "boolean"
150765+
},
150766+
"runs_rerequestable": {
150767+
"type": "boolean"
150754150768
}
150755150769
},
150756150770
"required": [
@@ -155290,6 +155304,12 @@
155290155304
},
155291155305
"check_runs_url": {
155292155306
"type": "string"
155307+
},
155308+
"rerequestable": {
155309+
"type": "boolean"
155310+
},
155311+
"runs_rerequestable": {
155312+
"type": "boolean"
155293155313
}
155294155314
},
155295155315
"required": [
@@ -175450,6 +175470,12 @@
175450175470
},
175451175471
"check_runs_url": {
175452175472
"type": "string"
175473+
},
175474+
"rerequestable": {
175475+
"type": "boolean"
175476+
},
175477+
"runs_rerequestable": {
175478+
"type": "boolean"
175453175479
}
175454175480
},
175455175481
"required": [
@@ -257565,7 +257591,7 @@
257565257591
},
257566257592
"description": {
257567257593
"type": "string",
257568-
"description": "A short description of the label."
257594+
"description": "A short description of the label. Must be 100 characters or fewer."
257569257595
}
257570257596
},
257571257597
"required": [
@@ -257960,7 +257986,7 @@
257960257986
},
257961257987
"description": {
257962257988
"type": "string",
257963-
"description": "A short description of the label."
257989+
"description": "A short description of the label. Must be 100 characters or fewer."
257964257990
}
257965257991
}
257966257992
},
@@ -336009,9 +336035,11 @@
336009336035
"created_at": "2011-01-26T19:01:12Z",
336010336036
"updated_at": "2011-01-26T19:14:43Z",
336011336037
"permissions": {
336012-
"admin": false,
336038+
"pull": true,
336039+
"triage": false,
336013336040
"push": false,
336014-
"pull": true
336041+
"maintain": false,
336042+
"admin": false
336015336043
},
336016336044
"allow_rebase_merge": true,
336017336045
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",

lib/rest/static/dereferenced/ghes-3.2.deref.json

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47902,7 +47902,7 @@
4790247902
"type": "string"
4790347903
},
4790447904
"mode": {
47905-
"description": "The rendering mode.",
47905+
"description": "The rendering mode. Can be either `markdown` or `gfm`.",
4790647906
"enum": [
4790747907
"markdown",
4790847908
"gfm"
@@ -47912,7 +47912,7 @@
4791247912
"type": "string"
4791347913
},
4791447914
"context": {
47915-
"description": "The repository context to use when creating references in `gfm` mode.",
47915+
"description": "The repository context to use when creating references in `gfm` mode. For example, setting `context` to `octo-org/octo-repo` will change the text `#42` into an HTML link to issue 42 in the `octo-org/octo-repo` repository.",
4791647916
"type": "string"
4791747917
}
4791847918
},
@@ -96311,9 +96311,11 @@
9631196311
"created_at": "2011-01-26T19:01:12Z",
9631296312
"updated_at": "2011-01-26T19:14:43Z",
9631396313
"permissions": {
96314-
"admin": false,
96314+
"pull": true,
96315+
"triage": false,
9631596316
"push": false,
96316-
"pull": true
96317+
"maintain": false,
96318+
"admin": false
9631796319
},
9631896320
"allow_rebase_merge": true,
9631996321
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",
@@ -151908,6 +151910,12 @@
151908151910
},
151909151911
"check_runs_url": {
151910151912
"type": "string"
151913+
},
151914+
"rerequestable": {
151915+
"type": "boolean"
151916+
},
151917+
"runs_rerequestable": {
151918+
"type": "boolean"
151911151919
}
151912151920
},
151913151921
"required": [
@@ -154389,6 +154397,12 @@
154389154397
},
154390154398
"check_runs_url": {
154391154399
"type": "string"
154400+
},
154401+
"rerequestable": {
154402+
"type": "boolean"
154403+
},
154404+
"runs_rerequestable": {
154405+
"type": "boolean"
154392154406
}
154393154407
},
154394154408
"required": [
@@ -158952,6 +158966,12 @@
158952158966
},
158953158967
"check_runs_url": {
158954158968
"type": "string"
158969+
},
158970+
"rerequestable": {
158971+
"type": "boolean"
158972+
},
158973+
"runs_rerequestable": {
158974+
"type": "boolean"
158955158975
}
158956158976
},
158957158977
"required": [
@@ -179175,6 +179195,12 @@
179175179195
},
179176179196
"check_runs_url": {
179177179197
"type": "string"
179198+
},
179199+
"rerequestable": {
179200+
"type": "boolean"
179201+
},
179202+
"runs_rerequestable": {
179203+
"type": "boolean"
179178179204
}
179179179205
},
179180179206
"required": [
@@ -264305,7 +264331,7 @@
264305264331
},
264306264332
"description": {
264307264333
"type": "string",
264308-
"description": "A short description of the label."
264334+
"description": "A short description of the label. Must be 100 characters or fewer."
264309264335
}
264310264336
},
264311264337
"required": [
@@ -264700,7 +264726,7 @@
264700264726
},
264701264727
"description": {
264702264728
"type": "string",
264703-
"description": "A short description of the label."
264729+
"description": "A short description of the label. Must be 100 characters or fewer."
264704264730
}
264705264731
}
264706264732
},
@@ -343939,9 +343965,11 @@
343939343965
"created_at": "2011-01-26T19:01:12Z",
343940343966
"updated_at": "2011-01-26T19:14:43Z",
343941343967
"permissions": {
343942-
"admin": false,
343968+
"pull": true,
343969+
"triage": false,
343943343970
"push": false,
343944-
"pull": true
343971+
"maintain": false,
343972+
"admin": false
343945343973
},
343946343974
"allow_rebase_merge": true,
343947343975
"temp_clone_token": "ABTLWHOULUVAXGTRYU7OC2876QJ2O",

0 commit comments

Comments
 (0)