Skip to content

Commit 5718b85

Browse files
authored
Merge pull request #1535 from github/openapi-update-888047707c78a9f1a791d2f6a6b006a5d2c181f26cc1bfb483fcd5c7bf8fcba0
Update OpenAPI 3.1 Descriptions
2 parents 516bd01 + be7ece8 commit 5718b85

28 files changed

+5966
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15480,6 +15480,21 @@
1548015480
}
1548115481
},
1548215482
"responses": {
15483+
"200": {
15484+
"description": "Response when the updated information already exists",
15485+
"content": {
15486+
"application/json": {
15487+
"schema": {
15488+
"$ref": "#/components/schemas/team-full"
15489+
},
15490+
"examples": {
15491+
"default": {
15492+
"$ref": "#/components/examples/team-full"
15493+
}
15494+
}
15495+
}
15496+
}
15497+
},
1548315498
"201": {
1548415499
"description": "Response",
1548515500
"content": {
@@ -15494,6 +15509,15 @@
1549415509
}
1549515510
}
1549615511
}
15512+
},
15513+
"404": {
15514+
"$ref": "#/components/responses/not_found"
15515+
},
15516+
"422": {
15517+
"$ref": "#/components/responses/validation_failed"
15518+
},
15519+
"403": {
15520+
"$ref": "#/components/responses/forbidden"
1549715521
}
1549815522
},
1549915523
"x-github": {
@@ -30726,6 +30750,7 @@
3072630750
"description": "The base branch and head branch to compare. This parameter expects the format `{base}...{head}`.",
3072730751
"in": "path",
3072830752
"required": true,
30753+
"x-multi-segment": true,
3072930754
"schema": {
3073030755
"type": "string"
3073130756
}

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11177,6 +11177,15 @@ paths:
1117711177
description: new team description
1117811178
privacy: closed
1117911179
responses:
11180+
'200':
11181+
description: Response when the updated information already exists
11182+
content:
11183+
application/json:
11184+
schema:
11185+
"$ref": "#/components/schemas/team-full"
11186+
examples:
11187+
default:
11188+
"$ref": "#/components/examples/team-full"
1118011189
'201':
1118111190
description: Response
1118211191
content:
@@ -11186,6 +11195,12 @@ paths:
1118611195
examples:
1118711196
default:
1118811197
"$ref": "#/components/examples/team-full"
11198+
'404':
11199+
"$ref": "#/components/responses/not_found"
11200+
'422':
11201+
"$ref": "#/components/responses/validation_failed"
11202+
'403':
11203+
"$ref": "#/components/responses/forbidden"
1118911204
x-github:
1119011205
githubCloudOnly: false
1119111206
enabledForGitHubApps: true
@@ -22198,6 +22213,7 @@ paths:
2219822213
the format `{base}...{head}`.
2219922214
in: path
2220022215
required: true
22216+
x-multi-segment: true
2220122217
schema:
2220222218
type: string
2220322219
responses:

0 commit comments

Comments
 (0)