Skip to content

Commit 79561aa

Browse files
authored
Merge pull request #1692 from github/openapi-update-a8988265133495daf5240d55152106a49bdd32774b40d31a10c827968316b272
Update OpenAPI 3.1 Descriptions
2 parents c8db2d2 + c006f0b commit 79561aa

File tree

16 files changed

+2159
-2351
lines changed

16 files changed

+2159
-2351
lines changed

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

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3388,9 +3388,6 @@
33883388
}
33893389
}
33903390
},
3391-
"403": {
3392-
"$ref": "#/components/responses/code_scanning_forbidden_read"
3393-
},
33943391
"404": {
33953392
"$ref": "#/components/responses/not_found"
33963393
},
@@ -9450,9 +9447,6 @@
94509447
}
94519448
}
94529449
},
9453-
"403": {
9454-
"$ref": "#/components/responses/code_scanning_forbidden_read"
9455-
},
94569450
"404": {
94579451
"$ref": "#/components/responses/not_found"
94589452
},
@@ -113030,16 +113024,6 @@
113030113024
}
113031113025
}
113032113026
},
113033-
"code_scanning_forbidden_read": {
113034-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
113035-
"content": {
113036-
"application/json": {
113037-
"schema": {
113038-
"$ref": "#/components/schemas/basic-error"
113039-
}
113040-
}
113041-
}
113042-
},
113043113027
"service_unavailable": {
113044113028
"description": "Service unavailable",
113045113029
"content": {
@@ -113061,6 +113045,16 @@
113061113045
}
113062113046
}
113063113047
},
113048+
"code_scanning_forbidden_read": {
113049+
"description": "Response if GitHub Advanced Security is not enabled for this repository",
113050+
"content": {
113051+
"application/json": {
113052+
"schema": {
113053+
"$ref": "#/components/schemas/basic-error"
113054+
}
113055+
}
113056+
}
113057+
},
113064113058
"forbidden_gist": {
113065113059
"description": "Forbidden Gist",
113066113060
"content": {

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2400,8 +2400,6 @@ paths:
24002400
headers:
24012401
Link:
24022402
"$ref": "#/components/headers/link"
2403-
'403':
2404-
"$ref": "#/components/responses/code_scanning_forbidden_read"
24052403
'404':
24062404
"$ref": "#/components/responses/not_found"
24072405
'503':
@@ -6768,8 +6766,6 @@ paths:
67686766
headers:
67696767
Link:
67706768
"$ref": "#/components/headers/link"
6771-
'403':
6772-
"$ref": "#/components/responses/code_scanning_forbidden_read"
67736769
'404':
67746770
"$ref": "#/components/responses/not_found"
67756771
'503':
@@ -85558,12 +85554,6 @@ components:
8555885554
examples:
8555985555
default:
8556085556
"$ref": "#/components/examples/runner-labels-readonly"
85561-
code_scanning_forbidden_read:
85562-
description: Response if GitHub Advanced Security is not enabled for this repository
85563-
content:
85564-
application/json:
85565-
schema:
85566-
"$ref": "#/components/schemas/basic-error"
8556785557
service_unavailable:
8556885558
description: Service unavailable
8556985559
content:
@@ -85577,6 +85567,12 @@ components:
8557785567
type: string
8557885568
documentation_url:
8557985569
type: string
85570+
code_scanning_forbidden_read:
85571+
description: Response if GitHub Advanced Security is not enabled for this repository
85572+
content:
85573+
application/json:
85574+
schema:
85575+
"$ref": "#/components/schemas/basic-error"
8558085576
forbidden_gist:
8558185577
description: Forbidden Gist
8558285578
content:

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

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -21938,32 +21938,6 @@
2193821938
}
2193921939
}
2194021940
},
21941-
"403": {
21942-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
21943-
"content": {
21944-
"application/json": {
21945-
"schema": {
21946-
"title": "Basic Error",
21947-
"description": "Basic Error",
21948-
"type": "object",
21949-
"properties": {
21950-
"message": {
21951-
"type": "string"
21952-
},
21953-
"documentation_url": {
21954-
"type": "string"
21955-
},
21956-
"url": {
21957-
"type": "string"
21958-
},
21959-
"status": {
21960-
"type": "string"
21961-
}
21962-
}
21963-
}
21964-
}
21965-
}
21966-
},
2196721941
"404": {
2196821942
"description": "Resource not found",
2196921943
"content": {
@@ -70633,32 +70607,6 @@
7063370607
}
7063470608
}
7063570609
},
70636-
"403": {
70637-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
70638-
"content": {
70639-
"application/json": {
70640-
"schema": {
70641-
"title": "Basic Error",
70642-
"description": "Basic Error",
70643-
"type": "object",
70644-
"properties": {
70645-
"message": {
70646-
"type": "string"
70647-
},
70648-
"documentation_url": {
70649-
"type": "string"
70650-
},
70651-
"url": {
70652-
"type": "string"
70653-
},
70654-
"status": {
70655-
"type": "string"
70656-
}
70657-
}
70658-
}
70659-
}
70660-
}
70661-
},
7066270610
"404": {
7066370611
"description": "Resource not found",
7066470612
"content": {

0 commit comments

Comments
 (0)