Skip to content

Commit 27e66a8

Browse files
authored
Merge pull request #1536 from github/openapi-update-21010ab7d5f095a70727eed57e9d743e8c2319373c21b8716a4adbb957da055a
Update OpenAPI 3.0 Descriptions
2 parents 5718b85 + 67e41e0 commit 27e66a8

28 files changed

+4708
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15408,6 +15408,21 @@
1540815408
}
1540915409
},
1541015410
"responses": {
15411+
"200": {
15412+
"description": "Response when the updated information already exists",
15413+
"content": {
15414+
"application/json": {
15415+
"schema": {
15416+
"$ref": "#/components/schemas/team-full"
15417+
},
15418+
"examples": {
15419+
"default": {
15420+
"$ref": "#/components/examples/team-full"
15421+
}
15422+
}
15423+
}
15424+
}
15425+
},
1541115426
"201": {
1541215427
"description": "Response",
1541315428
"content": {
@@ -15422,6 +15437,15 @@
1542215437
}
1542315438
}
1542415439
}
15440+
},
15441+
"404": {
15442+
"$ref": "#/components/responses/not_found"
15443+
},
15444+
"422": {
15445+
"$ref": "#/components/responses/validation_failed"
15446+
},
15447+
"403": {
15448+
"$ref": "#/components/responses/forbidden"
1542515449
}
1542615450
},
1542715451
"x-github": {
@@ -30576,6 +30600,7 @@
3057630600
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
3057730601
"in": "path",
3057830602
"required": true,
30603+
"x-multi-segment": true,
3057930604
"schema": {
3058030605
"type": "string"
3058130606
}

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11143,6 +11143,15 @@ paths:
1114311143
description: new team description
1114411144
privacy: closed
1114511145
responses:
11146+
'200':
11147+
description: Response when the updated information already exists
11148+
content:
11149+
application/json:
11150+
schema:
11151+
"$ref": "#/components/schemas/team-full"
11152+
examples:
11153+
default:
11154+
"$ref": "#/components/examples/team-full"
1114611155
'201':
1114711156
description: Response
1114811157
content:
@@ -11152,6 +11161,12 @@ paths:
1115211161
examples:
1115311162
default:
1115411163
"$ref": "#/components/examples/team-full"
11164+
'404':
11165+
"$ref": "#/components/responses/not_found"
11166+
'422':
11167+
"$ref": "#/components/responses/validation_failed"
11168+
'403':
11169+
"$ref": "#/components/responses/forbidden"
1115511170
x-github:
1115611171
githubCloudOnly: false
1115711172
enabledForGitHubApps: true
@@ -22126,6 +22141,7 @@ paths:
2212622141
the format `{base}...{head}`.
2212722142
in: path
2212822143
required: true
22144+
x-multi-segment: true
2212922145
schema:
2213022146
type: string
2213122147
responses:

0 commit comments

Comments
 (0)