Skip to content

Commit 6f2a5bc

Browse files
Update OpenAPI Descriptions (#18379)
1 parent edc36fa commit 6f2a5bc

4 files changed

Lines changed: 20 additions & 12 deletions

File tree

lib/rest/static/decorated/api.github.com.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53044,7 +53044,7 @@
5304453044
{
5304553045
"httpStatusCode": "204",
5304653046
"httpStatusMessage": "No Content",
53047-
"description": "Default Response"
53047+
"description": "Default response"
5304853048
}
5304953049
],
5305053050
"bodyParameters": [],
@@ -75840,7 +75840,7 @@
7584075840
{
7584175841
"httpStatusCode": "204",
7584275842
"httpStatusMessage": "No Content",
75843-
"description": "Default Response"
75843+
"description": "Default response"
7584475844
}
7584575845
],
7584675846
"bodyParameters": [],
@@ -87232,7 +87232,7 @@
8723287232
}
8723387233
],
8723487234
"summary": "Get interaction restrictions for your public repositories",
87235-
"description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires. If there are no restrictions, you will see an empty response.",
87235+
"description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.",
8723687236
"tags": [
8723787237
"interactions"
8723887238
],
@@ -87255,13 +87255,18 @@
8725587255
"subcategoryLabel": "User",
8725687256
"notes": [],
8725787257
"bodyParameters": [],
87258-
"descriptionHTML": "<p>Shows which type of GitHub user can interact with your public repositories and when the restriction expires. If there are no restrictions, you will see an empty response.</p>",
87258+
"descriptionHTML": "<p>Shows which type of GitHub user can interact with your public repositories and when the restriction expires.</p>",
8725987259
"responses": [
8726087260
{
8726187261
"httpStatusCode": "200",
8726287262
"httpStatusMessage": "OK",
8726387263
"description": "Default response",
8726487264
"payload": "<pre><code class=\"hljs language-json\">{\n <span class=\"hljs-attr\">\"limit\"</span>: <span class=\"hljs-string\">\"collaborators_only\"</span>,\n <span class=\"hljs-attr\">\"origin\"</span>: <span class=\"hljs-string\">\"user\"</span>,\n <span class=\"hljs-attr\">\"expires_at\"</span>: <span class=\"hljs-string\">\"2018-08-17T04:18:39Z\"</span>\n}\n</code></pre>"
87265+
},
87266+
{
87267+
"httpStatusCode": "204",
87268+
"httpStatusMessage": "No Content",
87269+
"description": "Response when there are no restrictions"
8726587270
}
8726687271
]
8726787272
},

lib/rest/static/decorated/github.ae.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45692,7 +45692,7 @@
4569245692
{
4569345693
"httpStatusCode": "204",
4569445694
"httpStatusMessage": "No Content",
45695-
"description": "Default Response"
45695+
"description": "Default response"
4569645696
}
4569745697
],
4569845698
"bodyParameters": [],
@@ -66429,7 +66429,7 @@
6642966429
{
6643066430
"httpStatusCode": "204",
6643166431
"httpStatusMessage": "No Content",
66432-
"description": "Default Response"
66432+
"description": "Default response"
6643366433
}
6643466434
],
6643566435
"bodyParameters": [],

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180399,7 +180399,7 @@
180399180399
],
180400180400
"responses": {
180401180401
"204": {
180402-
"description": "Empty response"
180402+
"description": "Default response"
180403180403
}
180404180404
},
180405180405
"x-github": {
@@ -277081,7 +277081,7 @@
277081277081
],
277082277082
"responses": {
277083277083
"204": {
277084-
"description": "Empty response"
277084+
"description": "Default response"
277085277085
}
277086277086
},
277087277087
"x-github": {
@@ -310050,7 +310050,7 @@
310050310050
"/user/interaction-limits": {
310051310051
"get": {
310052310052
"summary": "Get interaction restrictions for your public repositories",
310053-
"description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires. If there are no restrictions, you will see an empty response.",
310053+
"description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.",
310054310054
"tags": [
310055310055
"interactions"
310056310056
],
@@ -310061,7 +310061,7 @@
310061310061
},
310062310062
"responses": {
310063310063
"200": {
310064-
"description": "Response",
310064+
"description": "Default response",
310065310065
"content": {
310066310066
"application/json": {
310067310067
"schema": {
@@ -310106,6 +310106,9 @@
310106310106
}
310107310107
}
310108310108
}
310109+
},
310110+
"204": {
310111+
"description": "Response when there are no restrictions"
310109310112
}
310110310113
},
310111310114
"x-github": {

lib/rest/static/dereferenced/github.ae.deref.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149403,7 +149403,7 @@
149403149403
],
149404149404
"responses": {
149405149405
"204": {
149406-
"description": "Empty response"
149406+
"description": "Default response"
149407149407
}
149408149408
},
149409149409
"x-github": {
@@ -242418,7 +242418,7 @@
242418242418
],
242419242419
"responses": {
242420242420
"204": {
242421-
"description": "Empty response"
242421+
"description": "Default response"
242422242422
}
242423242423
},
242424242424
"x-github": {

0 commit comments

Comments
 (0)