Skip to content

Commit 9dd5191

Browse files
authored
Merge pull request #1589 from github/openapi-update-ad27152d449a4ef8cf9b6ac077a6033047d3126c28c6902633810b882ee724a9
Update OpenAPI 3.0 Descriptions
2 parents 8ef79ec + 8d4d09c commit 9dd5191

32 files changed

+2304
-0
lines changed

descriptions/api.github.com/api.github.com.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36865,6 +36865,12 @@
3686536865
}
3686636866
}
3686736867
},
36868+
"301": {
36869+
"$ref": "#/components/responses/moved_permanently"
36870+
},
36871+
"404": {
36872+
"$ref": "#/components/responses/not_found"
36873+
},
3686836874
"410": {
3686936875
"$ref": "#/components/responses/gone"
3687036876
}
@@ -36996,6 +37002,12 @@
3699637002
}
3699737003
}
3699837004
},
37005+
"301": {
37006+
"$ref": "#/components/responses/moved_permanently"
37007+
},
37008+
"404": {
37009+
"$ref": "#/components/responses/not_found"
37010+
},
3699937011
"410": {
3700037012
"$ref": "#/components/responses/gone"
3700137013
},
@@ -37130,6 +37142,12 @@
3713037142
}
3713137143
}
3713237144
},
37145+
"301": {
37146+
"$ref": "#/components/responses/moved_permanently"
37147+
},
37148+
"404": {
37149+
"$ref": "#/components/responses/not_found"
37150+
},
3713337151
"410": {
3713437152
"$ref": "#/components/responses/gone"
3713537153
},
@@ -37170,6 +37188,12 @@
3717037188
"204": {
3717137189
"description": "Response"
3717237190
},
37191+
"301": {
37192+
"$ref": "#/components/responses/moved_permanently"
37193+
},
37194+
"404": {
37195+
"$ref": "#/components/responses/not_found"
37196+
},
3717337197
"410": {
3717437198
"$ref": "#/components/responses/gone"
3717537199
}
@@ -37232,6 +37256,9 @@
3723237256
}
3723337257
}
3723437258
},
37259+
"301": {
37260+
"$ref": "#/components/responses/moved_permanently"
37261+
},
3723537262
"404": {
3723637263
"$ref": "#/components/responses/not_found"
3723737264
},

descriptions/api.github.com/api.github.com.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26834,6 +26834,10 @@ paths:
2683426834
headers:
2683526835
Link:
2683626836
"$ref": "#/components/headers/link"
26837+
'301':
26838+
"$ref": "#/components/responses/moved_permanently"
26839+
'404':
26840+
"$ref": "#/components/responses/not_found"
2683726841
'410':
2683826842
"$ref": "#/components/responses/gone"
2683926843
x-github:
@@ -26917,6 +26921,10 @@ paths:
2691726921
examples:
2691826922
default:
2691926923
"$ref": "#/components/examples/label-items"
26924+
'301':
26925+
"$ref": "#/components/responses/moved_permanently"
26926+
'404':
26927+
"$ref": "#/components/responses/not_found"
2692026928
'410':
2692126929
"$ref": "#/components/responses/gone"
2692226930
'422':
@@ -27003,6 +27011,10 @@ paths:
2700327011
examples:
2700427012
default:
2700527013
"$ref": "#/components/examples/label-items"
27014+
'301':
27015+
"$ref": "#/components/responses/moved_permanently"
27016+
'404':
27017+
"$ref": "#/components/responses/not_found"
2700627018
'410':
2700727019
"$ref": "#/components/responses/gone"
2700827020
'422':
@@ -27028,6 +27040,10 @@ paths:
2702827040
responses:
2702927041
'204':
2703027042
description: Response
27043+
'301':
27044+
"$ref": "#/components/responses/moved_permanently"
27045+
'404':
27046+
"$ref": "#/components/responses/not_found"
2703127047
'410':
2703227048
"$ref": "#/components/responses/gone"
2703327049
x-github:
@@ -27068,6 +27084,8 @@ paths:
2706827084
examples:
2706927085
default:
2707027086
"$ref": "#/components/examples/label-items-2"
27087+
'301':
27088+
"$ref": "#/components/responses/moved_permanently"
2707127089
'404':
2707227090
"$ref": "#/components/responses/not_found"
2707327091
'410':

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

Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310991,6 +310991,58 @@
310991310991
}
310992310992
}
310993310993
},
310994+
"301": {
310995+
"description": "Moved permanently",
310996+
"content": {
310997+
"application/json": {
310998+
"schema": {
310999+
"title": "Basic Error",
311000+
"description": "Basic Error",
311001+
"type": "object",
311002+
"properties": {
311003+
"message": {
311004+
"type": "string"
311005+
},
311006+
"documentation_url": {
311007+
"type": "string"
311008+
},
311009+
"url": {
311010+
"type": "string"
311011+
},
311012+
"status": {
311013+
"type": "string"
311014+
}
311015+
}
311016+
}
311017+
}
311018+
}
311019+
},
311020+
"404": {
311021+
"description": "Resource not found",
311022+
"content": {
311023+
"application/json": {
311024+
"schema": {
311025+
"title": "Basic Error",
311026+
"description": "Basic Error",
311027+
"type": "object",
311028+
"properties": {
311029+
"message": {
311030+
"type": "string"
311031+
},
311032+
"documentation_url": {
311033+
"type": "string"
311034+
},
311035+
"url": {
311036+
"type": "string"
311037+
},
311038+
"status": {
311039+
"type": "string"
311040+
}
311041+
}
311042+
}
311043+
}
311044+
}
311045+
},
310994311046
"410": {
310995311047
"description": "Gone",
310996311048
"content": {
@@ -311229,6 +311281,58 @@
311229311281
}
311230311282
}
311231311283
},
311284+
"301": {
311285+
"description": "Moved permanently",
311286+
"content": {
311287+
"application/json": {
311288+
"schema": {
311289+
"title": "Basic Error",
311290+
"description": "Basic Error",
311291+
"type": "object",
311292+
"properties": {
311293+
"message": {
311294+
"type": "string"
311295+
},
311296+
"documentation_url": {
311297+
"type": "string"
311298+
},
311299+
"url": {
311300+
"type": "string"
311301+
},
311302+
"status": {
311303+
"type": "string"
311304+
}
311305+
}
311306+
}
311307+
}
311308+
}
311309+
},
311310+
"404": {
311311+
"description": "Resource not found",
311312+
"content": {
311313+
"application/json": {
311314+
"schema": {
311315+
"title": "Basic Error",
311316+
"description": "Basic Error",
311317+
"type": "object",
311318+
"properties": {
311319+
"message": {
311320+
"type": "string"
311321+
},
311322+
"documentation_url": {
311323+
"type": "string"
311324+
},
311325+
"url": {
311326+
"type": "string"
311327+
},
311328+
"status": {
311329+
"type": "string"
311330+
}
311331+
}
311332+
}
311333+
}
311334+
}
311335+
},
311232311336
"410": {
311233311337
"description": "Gone",
311234311338
"content": {
@@ -311536,6 +311640,58 @@
311536311640
}
311537311641
}
311538311642
},
311643+
"301": {
311644+
"description": "Moved permanently",
311645+
"content": {
311646+
"application/json": {
311647+
"schema": {
311648+
"title": "Basic Error",
311649+
"description": "Basic Error",
311650+
"type": "object",
311651+
"properties": {
311652+
"message": {
311653+
"type": "string"
311654+
},
311655+
"documentation_url": {
311656+
"type": "string"
311657+
},
311658+
"url": {
311659+
"type": "string"
311660+
},
311661+
"status": {
311662+
"type": "string"
311663+
}
311664+
}
311665+
}
311666+
}
311667+
}
311668+
},
311669+
"404": {
311670+
"description": "Resource not found",
311671+
"content": {
311672+
"application/json": {
311673+
"schema": {
311674+
"title": "Basic Error",
311675+
"description": "Basic Error",
311676+
"type": "object",
311677+
"properties": {
311678+
"message": {
311679+
"type": "string"
311680+
},
311681+
"documentation_url": {
311682+
"type": "string"
311683+
},
311684+
"url": {
311685+
"type": "string"
311686+
},
311687+
"status": {
311688+
"type": "string"
311689+
}
311690+
}
311691+
}
311692+
}
311693+
}
311694+
},
311539311695
"410": {
311540311696
"description": "Gone",
311541311697
"content": {
@@ -311683,6 +311839,58 @@
311683311839
"204": {
311684311840
"description": "Response"
311685311841
},
311842+
"301": {
311843+
"description": "Moved permanently",
311844+
"content": {
311845+
"application/json": {
311846+
"schema": {
311847+
"title": "Basic Error",
311848+
"description": "Basic Error",
311849+
"type": "object",
311850+
"properties": {
311851+
"message": {
311852+
"type": "string"
311853+
},
311854+
"documentation_url": {
311855+
"type": "string"
311856+
},
311857+
"url": {
311858+
"type": "string"
311859+
},
311860+
"status": {
311861+
"type": "string"
311862+
}
311863+
}
311864+
}
311865+
}
311866+
}
311867+
},
311868+
"404": {
311869+
"description": "Resource not found",
311870+
"content": {
311871+
"application/json": {
311872+
"schema": {
311873+
"title": "Basic Error",
311874+
"description": "Basic Error",
311875+
"type": "object",
311876+
"properties": {
311877+
"message": {
311878+
"type": "string"
311879+
},
311880+
"documentation_url": {
311881+
"type": "string"
311882+
},
311883+
"url": {
311884+
"type": "string"
311885+
},
311886+
"status": {
311887+
"type": "string"
311888+
}
311889+
}
311890+
}
311891+
}
311892+
}
311893+
},
311686311894
"410": {
311687311895
"description": "Gone",
311688311896
"content": {
@@ -311843,6 +312051,32 @@
311843312051
}
311844312052
}
311845312053
},
312054+
"301": {
312055+
"description": "Moved permanently",
312056+
"content": {
312057+
"application/json": {
312058+
"schema": {
312059+
"title": "Basic Error",
312060+
"description": "Basic Error",
312061+
"type": "object",
312062+
"properties": {
312063+
"message": {
312064+
"type": "string"
312065+
},
312066+
"documentation_url": {
312067+
"type": "string"
312068+
},
312069+
"url": {
312070+
"type": "string"
312071+
},
312072+
"status": {
312073+
"type": "string"
312074+
}
312075+
}
312076+
}
312077+
}
312078+
}
312079+
},
311846312080
"404": {
311847312081
"description": "Resource not found",
311848312082
"content": {

0 commit comments

Comments
 (0)