Skip to content

Commit c8db2d2

Browse files
authored
Merge pull request #1691 from github/openapi-update-b74400e3bc2ffbf2e52225432f1b3d426062d265c8ac462eea34a38178ce4dcd
Update OpenAPI 3.0 Descriptions
2 parents 81d46fe + b3cf250 commit c8db2d2

File tree

16 files changed

+2291
-2483
lines changed

16 files changed

+2291
-2483
lines changed

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

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3372,9 +3372,6 @@
33723372
}
33733373
}
33743374
},
3375-
"403": {
3376-
"$ref": "#/components/responses/code_scanning_forbidden_read"
3377-
},
33783375
"404": {
33793376
"$ref": "#/components/responses/not_found"
33803377
},
@@ -9400,9 +9397,6 @@
94009397
}
94019398
}
94029399
},
9403-
"403": {
9404-
"$ref": "#/components/responses/code_scanning_forbidden_read"
9405-
},
94069400
"404": {
94079401
"$ref": "#/components/responses/not_found"
94089402
},
@@ -110240,16 +110234,6 @@
110240110234
}
110241110235
}
110242110236
},
110243-
"code_scanning_forbidden_read": {
110244-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
110245-
"content": {
110246-
"application/json": {
110247-
"schema": {
110248-
"$ref": "#/components/schemas/basic-error"
110249-
}
110250-
}
110251-
}
110252-
},
110253110237
"service_unavailable": {
110254110238
"description": "Service unavailable",
110255110239
"content": {
@@ -110271,6 +110255,16 @@
110271110255
}
110272110256
}
110273110257
},
110258+
"code_scanning_forbidden_read": {
110259+
"description": "Response if GitHub Advanced Security is not enabled for this repository",
110260+
"content": {
110261+
"application/json": {
110262+
"schema": {
110263+
"$ref": "#/components/schemas/basic-error"
110264+
}
110265+
}
110266+
}
110267+
},
110274110268
"forbidden_gist": {
110275110269
"description": "Forbidden Gist",
110276110270
"content": {

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2392,8 +2392,6 @@ paths:
23922392
headers:
23932393
Link:
23942394
"$ref": "#/components/headers/link"
2395-
'403':
2396-
"$ref": "#/components/responses/code_scanning_forbidden_read"
23972395
'404':
23982396
"$ref": "#/components/responses/not_found"
23992397
'503':
@@ -6745,8 +6743,6 @@ paths:
67456743
headers:
67466744
Link:
67476745
"$ref": "#/components/headers/link"
6748-
'403':
6749-
"$ref": "#/components/responses/code_scanning_forbidden_read"
67506746
'404':
67516747
"$ref": "#/components/responses/not_found"
67526748
'503':
@@ -85029,12 +85025,6 @@ components:
8502985025
examples:
8503085026
default:
8503185027
"$ref": "#/components/examples/runner-labels-readonly"
85032-
code_scanning_forbidden_read:
85033-
description: Response if GitHub Advanced Security is not enabled for this repository
85034-
content:
85035-
application/json:
85036-
schema:
85037-
"$ref": "#/components/schemas/basic-error"
8503885028
service_unavailable:
8503985029
description: Service unavailable
8504085030
content:
@@ -85048,6 +85038,12 @@ components:
8504885038
type: string
8504985039
documentation_url:
8505085040
type: string
85041+
code_scanning_forbidden_read:
85042+
description: Response if GitHub Advanced Security is not enabled for this repository
85043+
content:
85044+
application/json:
85045+
schema:
85046+
"$ref": "#/components/schemas/basic-error"
8505185047
forbidden_gist:
8505285048
description: Forbidden Gist
8505385049
content:

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

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -19743,32 +19743,6 @@
1974319743
}
1974419744
}
1974519745
},
19746-
"403": {
19747-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
19748-
"content": {
19749-
"application/json": {
19750-
"schema": {
19751-
"title": "Basic Error",
19752-
"description": "Basic Error",
19753-
"type": "object",
19754-
"properties": {
19755-
"message": {
19756-
"type": "string"
19757-
},
19758-
"documentation_url": {
19759-
"type": "string"
19760-
},
19761-
"url": {
19762-
"type": "string"
19763-
},
19764-
"status": {
19765-
"type": "string"
19766-
}
19767-
}
19768-
}
19769-
}
19770-
}
19771-
},
1977219746
"404": {
1977319747
"description": "Resource not found",
1977419748
"content": {
@@ -61186,32 +61160,6 @@
6118661160
}
6118761161
}
6118861162
},
61189-
"403": {
61190-
"description": "Response if GitHub Advanced Security is not enabled for this repository",
61191-
"content": {
61192-
"application/json": {
61193-
"schema": {
61194-
"title": "Basic Error",
61195-
"description": "Basic Error",
61196-
"type": "object",
61197-
"properties": {
61198-
"message": {
61199-
"type": "string"
61200-
},
61201-
"documentation_url": {
61202-
"type": "string"
61203-
},
61204-
"url": {
61205-
"type": "string"
61206-
},
61207-
"status": {
61208-
"type": "string"
61209-
}
61210-
}
61211-
}
61212-
}
61213-
}
61214-
},
6121561163
"404": {
6121661164
"description": "Resource not found",
6121761165
"content": {

0 commit comments

Comments
 (0)