From e539337aabbb9db5743a533bcf3a6fdb1738427d Mon Sep 17 00:00:00 2001 From: github-openapi-bot Date: Wed, 8 Jun 2022 00:18:00 -0700 Subject: [PATCH 1/2] Update OpenAPI Descriptions --- .../dereferenced/api.github.com.deref.json | 86 ++++++++++++++++++- 1 file changed, 85 insertions(+), 1 deletion(-) diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index bdf4cba0192c..2030e969174f 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -28699,6 +28699,34 @@ "type": "string" } }, + { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -124661,6 +124689,34 @@ "type": "string" } }, + { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, { "name": "page", "description": "Page number of the results to fetch.", @@ -279805,7 +279861,7 @@ } }, "x-github": { - "githubCloudOnly": true, + "githubCloudOnly": false, "category": "dependency-graph", "subcategory": "dependency-review" } @@ -443648,6 +443704,34 @@ "type": "string" } }, + { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, { "name": "page", "description": "Page number of the results to fetch.", From e4f192f3796aa21b1c6d3e166ebabb7d051202fa Mon Sep 17 00:00:00 2001 From: github-openapi-bot Date: Wed, 8 Jun 2022 07:24:48 +0000 Subject: [PATCH 2/2] Add decorated OpenAPI schema files --- lib/rest/static/decorated/api.github.com.json | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index b47f62361cdf..01fcf0bb085c 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -489108,6 +489108,34 @@ "type": "string" } }, + { + "name": "sort", + "description": "

The property to sort the results by. created means when the alert was created. updated means when the alert was updated or resolved.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, + { + "name": "direction", + "description": "

The direction to sort the results by.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, { "name": "per_page", "description": "

The number of results per page (max 100).

", @@ -492087,6 +492115,34 @@ "type": "string" } }, + { + "name": "sort", + "description": "

The property to sort the results by. created means when the alert was created. updated means when the alert was updated or resolved.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, + { + "name": "direction", + "description": "

The direction to sort the results by.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, { "name": "page", "description": "

Page number of the results to fetch.

", @@ -495066,6 +495122,34 @@ "type": "string" } }, + { + "name": "sort", + "description": "

The property to sort the results by. created means when the alert was created. updated means when the alert was updated or resolved.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, + { + "name": "direction", + "description": "

The direction to sort the results by.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, { "name": "page", "description": "

Page number of the results to fetch.

",