From 6f2a5bcf45ade107566e94dd95c19e25b26cefb3 Mon Sep 17 00:00:00 2001 From: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com> Date: Tue, 23 Mar 2021 18:45:01 -0400 Subject: [PATCH] Update OpenAPI Descriptions (#18379) --- lib/rest/static/decorated/api.github.com.json | 13 +++++++++---- lib/rest/static/decorated/github.ae.json | 4 ++-- .../static/dereferenced/api.github.com.deref.json | 11 +++++++---- lib/rest/static/dereferenced/github.ae.deref.json | 4 ++-- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index 8b99762855..181e452b4e 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -53044,7 +53044,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], @@ -75840,7 +75840,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], @@ -87232,7 +87232,7 @@ } ], "summary": "Get interaction restrictions for your public repositories", - "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.", + "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.", "tags": [ "interactions" ], @@ -87255,13 +87255,18 @@ "subcategoryLabel": "User", "notes": [], "bodyParameters": [], - "descriptionHTML": "

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.

", + "descriptionHTML": "

Shows which type of GitHub user can interact with your public repositories and when the restriction expires.

", "responses": [ { "httpStatusCode": "200", "httpStatusMessage": "OK", "description": "Default response", "payload": "
{\n  \"limit\": \"collaborators_only\",\n  \"origin\": \"user\",\n  \"expires_at\": \"2018-08-17T04:18:39Z\"\n}\n
" + }, + { + "httpStatusCode": "204", + "httpStatusMessage": "No Content", + "description": "Response when there are no restrictions" } ] }, diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index 3bf221e565..8099a7b098 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -45692,7 +45692,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], @@ -66429,7 +66429,7 @@ { "httpStatusCode": "204", "httpStatusMessage": "No Content", - "description": "Default Response" + "description": "Default response" } ], "bodyParameters": [], diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index bc77c10145..dc7623c18b 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -180399,7 +180399,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": { @@ -277081,7 +277081,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": { @@ -310050,7 +310050,7 @@ "/user/interaction-limits": { "get": { "summary": "Get interaction restrictions for your public repositories", - "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.", + "description": "Shows which type of GitHub user can interact with your public repositories and when the restriction expires.", "tags": [ "interactions" ], @@ -310061,7 +310061,7 @@ }, "responses": { "200": { - "description": "Response", + "description": "Default response", "content": { "application/json": { "schema": { @@ -310106,6 +310106,9 @@ } } } + }, + "204": { + "description": "Response when there are no restrictions" } }, "x-github": { diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index 0a87a254c6..fc0fd201f2 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -149403,7 +149403,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": { @@ -242418,7 +242418,7 @@ ], "responses": { "204": { - "description": "Empty response" + "description": "Default response" } }, "x-github": {