Skip to content

Commit de42048

Browse files
authored
Merge pull request #1590 from github/openapi-update-61cd28097ce7acd477571dc51a500e545e32b45c6579e9e135983e766809c2f3
Update OpenAPI 3.1 Descriptions
2 parents 9dd5191 + 17b8276 commit de42048

32 files changed

+2304
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37084,6 +37084,12 @@
3708437084
}
3708537085
}
3708637086
},
37087+
"301": {
37088+
"$ref": "#/components/responses/moved_permanently"
37089+
},
37090+
"404": {
37091+
"$ref": "#/components/responses/not_found"
37092+
},
3708737093
"410": {
3708837094
"$ref": "#/components/responses/gone"
3708937095
}
@@ -37215,6 +37221,12 @@
3721537221
}
3721637222
}
3721737223
},
37224+
"301": {
37225+
"$ref": "#/components/responses/moved_permanently"
37226+
},
37227+
"404": {
37228+
"$ref": "#/components/responses/not_found"
37229+
},
3721837230
"410": {
3721937231
"$ref": "#/components/responses/gone"
3722037232
},
@@ -37349,6 +37361,12 @@
3734937361
}
3735037362
}
3735137363
},
37364+
"301": {
37365+
"$ref": "#/components/responses/moved_permanently"
37366+
},
37367+
"404": {
37368+
"$ref": "#/components/responses/not_found"
37369+
},
3735237370
"410": {
3735337371
"$ref": "#/components/responses/gone"
3735437372
},
@@ -37389,6 +37407,12 @@
3738937407
"204": {
3739037408
"description": "Response"
3739137409
},
37410+
"301": {
37411+
"$ref": "#/components/responses/moved_permanently"
37412+
},
37413+
"404": {
37414+
"$ref": "#/components/responses/not_found"
37415+
},
3739237416
"410": {
3739337417
"$ref": "#/components/responses/gone"
3739437418
}
@@ -37451,6 +37475,9 @@
3745137475
}
3745237476
}
3745337477
},
37478+
"301": {
37479+
"$ref": "#/components/responses/moved_permanently"
37480+
},
3745437481
"404": {
3745537482
"$ref": "#/components/responses/not_found"
3745637483
},

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26944,6 +26944,10 @@ paths:
2694426944
headers:
2694526945
Link:
2694626946
"$ref": "#/components/headers/link"
26947+
'301':
26948+
"$ref": "#/components/responses/moved_permanently"
26949+
'404':
26950+
"$ref": "#/components/responses/not_found"
2694726951
'410':
2694826952
"$ref": "#/components/responses/gone"
2694926953
x-github:
@@ -27027,6 +27031,10 @@ paths:
2702727031
examples:
2702827032
default:
2702927033
"$ref": "#/components/examples/label-items"
27034+
'301':
27035+
"$ref": "#/components/responses/moved_permanently"
27036+
'404':
27037+
"$ref": "#/components/responses/not_found"
2703027038
'410':
2703127039
"$ref": "#/components/responses/gone"
2703227040
'422':
@@ -27113,6 +27121,10 @@ paths:
2711327121
examples:
2711427122
default:
2711527123
"$ref": "#/components/examples/label-items"
27124+
'301':
27125+
"$ref": "#/components/responses/moved_permanently"
27126+
'404':
27127+
"$ref": "#/components/responses/not_found"
2711627128
'410':
2711727129
"$ref": "#/components/responses/gone"
2711827130
'422':
@@ -27138,6 +27150,10 @@ paths:
2713827150
responses:
2713927151
'204':
2714027152
description: Response
27153+
'301':
27154+
"$ref": "#/components/responses/moved_permanently"
27155+
'404':
27156+
"$ref": "#/components/responses/not_found"
2714127157
'410':
2714227158
"$ref": "#/components/responses/gone"
2714327159
x-github:
@@ -27178,6 +27194,8 @@ paths:
2717827194
examples:
2717927195
default:
2718027196
"$ref": "#/components/examples/label-items-2"
27197+
'301':
27198+
"$ref": "#/components/responses/moved_permanently"
2718127199
'404':
2718227200
"$ref": "#/components/responses/not_found"
2718327201
'410':

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

Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370153,6 +370153,58 @@
370153370153
}
370154370154
}
370155370155
},
370156+
"301": {
370157+
"description": "Moved permanently",
370158+
"content": {
370159+
"application/json": {
370160+
"schema": {
370161+
"title": "Basic Error",
370162+
"description": "Basic Error",
370163+
"type": "object",
370164+
"properties": {
370165+
"message": {
370166+
"type": "string"
370167+
},
370168+
"documentation_url": {
370169+
"type": "string"
370170+
},
370171+
"url": {
370172+
"type": "string"
370173+
},
370174+
"status": {
370175+
"type": "string"
370176+
}
370177+
}
370178+
}
370179+
}
370180+
}
370181+
},
370182+
"404": {
370183+
"description": "Resource not found",
370184+
"content": {
370185+
"application/json": {
370186+
"schema": {
370187+
"title": "Basic Error",
370188+
"description": "Basic Error",
370189+
"type": "object",
370190+
"properties": {
370191+
"message": {
370192+
"type": "string"
370193+
},
370194+
"documentation_url": {
370195+
"type": "string"
370196+
},
370197+
"url": {
370198+
"type": "string"
370199+
},
370200+
"status": {
370201+
"type": "string"
370202+
}
370203+
}
370204+
}
370205+
}
370206+
}
370207+
},
370156370208
"410": {
370157370209
"description": "Gone",
370158370210
"content": {
@@ -370407,6 +370459,58 @@
370407370459
}
370408370460
}
370409370461
},
370462+
"301": {
370463+
"description": "Moved permanently",
370464+
"content": {
370465+
"application/json": {
370466+
"schema": {
370467+
"title": "Basic Error",
370468+
"description": "Basic Error",
370469+
"type": "object",
370470+
"properties": {
370471+
"message": {
370472+
"type": "string"
370473+
},
370474+
"documentation_url": {
370475+
"type": "string"
370476+
},
370477+
"url": {
370478+
"type": "string"
370479+
},
370480+
"status": {
370481+
"type": "string"
370482+
}
370483+
}
370484+
}
370485+
}
370486+
}
370487+
},
370488+
"404": {
370489+
"description": "Resource not found",
370490+
"content": {
370491+
"application/json": {
370492+
"schema": {
370493+
"title": "Basic Error",
370494+
"description": "Basic Error",
370495+
"type": "object",
370496+
"properties": {
370497+
"message": {
370498+
"type": "string"
370499+
},
370500+
"documentation_url": {
370501+
"type": "string"
370502+
},
370503+
"url": {
370504+
"type": "string"
370505+
},
370506+
"status": {
370507+
"type": "string"
370508+
}
370509+
}
370510+
}
370511+
}
370512+
}
370513+
},
370410370514
"410": {
370411370515
"description": "Gone",
370412370516
"content": {
@@ -370736,6 +370840,58 @@
370736370840
}
370737370841
}
370738370842
},
370843+
"301": {
370844+
"description": "Moved permanently",
370845+
"content": {
370846+
"application/json": {
370847+
"schema": {
370848+
"title": "Basic Error",
370849+
"description": "Basic Error",
370850+
"type": "object",
370851+
"properties": {
370852+
"message": {
370853+
"type": "string"
370854+
},
370855+
"documentation_url": {
370856+
"type": "string"
370857+
},
370858+
"url": {
370859+
"type": "string"
370860+
},
370861+
"status": {
370862+
"type": "string"
370863+
}
370864+
}
370865+
}
370866+
}
370867+
}
370868+
},
370869+
"404": {
370870+
"description": "Resource not found",
370871+
"content": {
370872+
"application/json": {
370873+
"schema": {
370874+
"title": "Basic Error",
370875+
"description": "Basic Error",
370876+
"type": "object",
370877+
"properties": {
370878+
"message": {
370879+
"type": "string"
370880+
},
370881+
"documentation_url": {
370882+
"type": "string"
370883+
},
370884+
"url": {
370885+
"type": "string"
370886+
},
370887+
"status": {
370888+
"type": "string"
370889+
}
370890+
}
370891+
}
370892+
}
370893+
}
370894+
},
370739370895
"410": {
370740370896
"description": "Gone",
370741370897
"content": {
@@ -370889,6 +371045,58 @@
370889371045
"204": {
370890371046
"description": "Response"
370891371047
},
371048+
"301": {
371049+
"description": "Moved permanently",
371050+
"content": {
371051+
"application/json": {
371052+
"schema": {
371053+
"title": "Basic Error",
371054+
"description": "Basic Error",
371055+
"type": "object",
371056+
"properties": {
371057+
"message": {
371058+
"type": "string"
371059+
},
371060+
"documentation_url": {
371061+
"type": "string"
371062+
},
371063+
"url": {
371064+
"type": "string"
371065+
},
371066+
"status": {
371067+
"type": "string"
371068+
}
371069+
}
371070+
}
371071+
}
371072+
}
371073+
},
371074+
"404": {
371075+
"description": "Resource not found",
371076+
"content": {
371077+
"application/json": {
371078+
"schema": {
371079+
"title": "Basic Error",
371080+
"description": "Basic Error",
371081+
"type": "object",
371082+
"properties": {
371083+
"message": {
371084+
"type": "string"
371085+
},
371086+
"documentation_url": {
371087+
"type": "string"
371088+
},
371089+
"url": {
371090+
"type": "string"
371091+
},
371092+
"status": {
371093+
"type": "string"
371094+
}
371095+
}
371096+
}
371097+
}
371098+
}
371099+
},
370892371100
"410": {
370893371101
"description": "Gone",
370894371102
"content": {
@@ -371065,6 +371273,32 @@
371065371273
}
371066371274
}
371067371275
},
371276+
"301": {
371277+
"description": "Moved permanently",
371278+
"content": {
371279+
"application/json": {
371280+
"schema": {
371281+
"title": "Basic Error",
371282+
"description": "Basic Error",
371283+
"type": "object",
371284+
"properties": {
371285+
"message": {
371286+
"type": "string"
371287+
},
371288+
"documentation_url": {
371289+
"type": "string"
371290+
},
371291+
"url": {
371292+
"type": "string"
371293+
},
371294+
"status": {
371295+
"type": "string"
371296+
}
371297+
}
371298+
}
371299+
}
371300+
}
371301+
},
371068371302
"404": {
371069371303
"description": "Resource not found",
371070371304
"content": {

0 commit comments

Comments
 (0)