Skip to content

Commit a24152b

Browse files
authored
Merge pull request #1497 from github/openapi-update-20a686fc2518a8e69aac1eb833fada2327f1c293a24d279c0e1036c0ae11ed31
Update OpenAPI 3.1 Descriptions
2 parents a4a44ff + 4572dc1 commit a24152b

28 files changed

+882
-126
lines changed

descriptions-next/api.github.com/api.github.com.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29946,6 +29946,9 @@
2994629946
},
2994729947
"500": {
2994829948
"$ref": "#/components/responses/internal_error"
29949+
},
29950+
"503": {
29951+
"$ref": "#/components/responses/service_unavailable"
2994929952
}
2995029953
},
2995129954
"x-github": {
@@ -30390,11 +30393,14 @@
3039030393
}
3039130394
}
3039230395
},
30396+
"404": {
30397+
"$ref": "#/components/responses/not_found"
30398+
},
3039330399
"500": {
3039430400
"$ref": "#/components/responses/internal_error"
3039530401
},
30396-
"404": {
30397-
"$ref": "#/components/responses/not_found"
30402+
"503": {
30403+
"$ref": "#/components/responses/service_unavailable"
3039830404
}
3039930405
},
3040030406
"x-github": {
@@ -41172,11 +41178,14 @@
4117241178
"304": {
4117341179
"$ref": "#/components/responses/not_modified"
4117441180
},
41181+
"404": {
41182+
"$ref": "#/components/responses/not_found"
41183+
},
4117541184
"500": {
4117641185
"$ref": "#/components/responses/internal_error"
4117741186
},
41178-
"404": {
41179-
"$ref": "#/components/responses/not_found"
41187+
"503": {
41188+
"$ref": "#/components/responses/service_unavailable"
4118041189
}
4118141190
},
4118241191
"x-github": {
@@ -41851,6 +41860,9 @@
4185141860
},
4185241861
"500": {
4185341862
"$ref": "#/components/responses/internal_error"
41863+
},
41864+
"503": {
41865+
"$ref": "#/components/responses/service_unavailable"
4185441866
}
4185541867
},
4185641868
"x-github": {

descriptions-next/api.github.com/api.github.com.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21583,6 +21583,8 @@ paths:
2158321583
"$ref": "#/components/responses/not_found"
2158421584
'500':
2158521585
"$ref": "#/components/responses/internal_error"
21586+
'503':
21587+
"$ref": "#/components/responses/service_unavailable"
2158621588
x-github:
2158721589
githubCloudOnly: false
2158821590
enabledForGitHubApps: true
@@ -21925,10 +21927,12 @@ paths:
2192521927
examples:
2192621928
default:
2192721929
"$ref": "#/components/examples/commit-comparison"
21928-
'500':
21929-
"$ref": "#/components/responses/internal_error"
2193021930
'404':
2193121931
"$ref": "#/components/responses/not_found"
21932+
'500':
21933+
"$ref": "#/components/responses/internal_error"
21934+
'503':
21935+
"$ref": "#/components/responses/service_unavailable"
2193221936
x-github:
2193321937
githubCloudOnly: false
2193421938
enabledForGitHubApps: true
@@ -29544,10 +29548,12 @@ paths:
2954429548
"$ref": "#/components/examples/pull-request"
2954529549
'304':
2954629550
"$ref": "#/components/responses/not_modified"
29547-
'500':
29548-
"$ref": "#/components/responses/internal_error"
2954929551
'404':
2955029552
"$ref": "#/components/responses/not_found"
29553+
'500':
29554+
"$ref": "#/components/responses/internal_error"
29555+
'503':
29556+
"$ref": "#/components/responses/service_unavailable"
2955129557
x-github:
2955229558
githubCloudOnly: false
2955329559
enabledForGitHubApps: true
@@ -30033,6 +30039,8 @@ paths:
3003330039
"$ref": "#/components/responses/validation_failed"
3003430040
'500':
3003530041
"$ref": "#/components/responses/internal_error"
30042+
'503':
30043+
"$ref": "#/components/responses/service_unavailable"
3003630044
x-github:
3003730045
githubCloudOnly: false
3003830046
enabledForGitHubApps: true

descriptions-next/api.github.com/dereferenced/api.github.com.deref.json

Lines changed: 92 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -270164,6 +270164,27 @@
270164270164
}
270165270165
}
270166270166
}
270167+
},
270168+
"503": {
270169+
"description": "Service unavailable",
270170+
"content": {
270171+
"application/json": {
270172+
"schema": {
270173+
"type": "object",
270174+
"properties": {
270175+
"code": {
270176+
"type": "string"
270177+
},
270178+
"message": {
270179+
"type": "string"
270180+
},
270181+
"documentation_url": {
270182+
"type": "string"
270183+
}
270184+
}
270185+
}
270186+
}
270187+
}
270167270188
}
270168270189
},
270169270190
"x-github": {
@@ -280484,8 +280505,8 @@
280484280505
}
280485280506
}
280486280507
},
280487-
"500": {
280488-
"description": "Internal Error",
280508+
"404": {
280509+
"description": "Resource not found",
280489280510
"content": {
280490280511
"application/json": {
280491280512
"schema": {
@@ -280510,8 +280531,8 @@
280510280531
}
280511280532
}
280512280533
},
280513-
"404": {
280514-
"description": "Resource not found",
280534+
"500": {
280535+
"description": "Internal Error",
280515280536
"content": {
280516280537
"application/json": {
280517280538
"schema": {
@@ -280535,6 +280556,27 @@
280535280556
}
280536280557
}
280537280558
}
280559+
},
280560+
"503": {
280561+
"description": "Service unavailable",
280562+
"content": {
280563+
"application/json": {
280564+
"schema": {
280565+
"type": "object",
280566+
"properties": {
280567+
"code": {
280568+
"type": "string"
280569+
},
280570+
"message": {
280571+
"type": "string"
280572+
},
280573+
"documentation_url": {
280574+
"type": "string"
280575+
}
280576+
}
280577+
}
280578+
}
280579+
}
280538280580
}
280539280581
},
280540280582
"x-github": {
@@ -413566,8 +413608,8 @@
413566413608
"304": {
413567413609
"description": "Not modified"
413568413610
},
413569-
"500": {
413570-
"description": "Internal Error",
413611+
"404": {
413612+
"description": "Resource not found",
413571413613
"content": {
413572413614
"application/json": {
413573413615
"schema": {
@@ -413592,8 +413634,8 @@
413592413634
}
413593413635
}
413594413636
},
413595-
"404": {
413596-
"description": "Resource not found",
413637+
"500": {
413638+
"description": "Internal Error",
413597413639
"content": {
413598413640
"application/json": {
413599413641
"schema": {
@@ -413617,6 +413659,27 @@
413617413659
}
413618413660
}
413619413661
}
413662+
},
413663+
"503": {
413664+
"description": "Service unavailable",
413665+
"content": {
413666+
"application/json": {
413667+
"schema": {
413668+
"type": "object",
413669+
"properties": {
413670+
"code": {
413671+
"type": "string"
413672+
},
413673+
"message": {
413674+
"type": "string"
413675+
},
413676+
"documentation_url": {
413677+
"type": "string"
413678+
}
413679+
}
413680+
}
413681+
}
413682+
}
413620413683
}
413621413684
},
413622413685
"x-github": {
@@ -427209,6 +427272,27 @@
427209427272
}
427210427273
}
427211427274
}
427275+
},
427276+
"503": {
427277+
"description": "Service unavailable",
427278+
"content": {
427279+
"application/json": {
427280+
"schema": {
427281+
"type": "object",
427282+
"properties": {
427283+
"code": {
427284+
"type": "string"
427285+
},
427286+
"message": {
427287+
"type": "string"
427288+
},
427289+
"documentation_url": {
427290+
"type": "string"
427291+
}
427292+
}
427293+
}
427294+
}
427295+
}
427212427296
}
427213427297
},
427214427298
"x-github": {

descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46579,6 +46579,7 @@ paths:
4657946579
'422': *10
4658046580
'404': *15
4658146581
'500': *152
46582+
'503': *62
4658246583
x-github:
4658346584
githubCloudOnly: false
4658446585
enabledForGitHubApps: true
@@ -47738,8 +47739,9 @@ paths:
4773847739
contents_url: https://api.github.com/repos/octocat/Hello-World/contents/file1.txt?ref=6dcb09b5b57875f334f61aebed695e2e4193db5e
4773947740
patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@
4774047741
module Test"
47741-
'500': *152
4774247742
'404': *15
47743+
'500': *152
47744+
'503': *62
4774347745
x-github:
4774447746
githubCloudOnly: false
4774547747
enabledForGitHubApps: true
@@ -63189,8 +63191,9 @@ paths:
6318963191
examples:
6319063192
default: *390
6319163193
'304': *25
63192-
'500': *152
6319363194
'404': *15
63195+
'500': *152
63196+
'503': *62
6319463197
x-github:
6319563198
githubCloudOnly: false
6319663199
enabledForGitHubApps: true
@@ -63759,6 +63762,7 @@ paths:
6375963762
Link: *26
6376063763
'422': *10
6376163764
'500': *152
63765+
'503': *62
6376263766
x-github:
6376363767
githubCloudOnly: false
6376463768
enabledForGitHubApps: true

0 commit comments

Comments
 (0)