From 554203d59a87ec289dd1cd0ba093d492251fe482 Mon Sep 17 00:00:00 2001 From: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com> Date: Tue, 22 Nov 2022 04:09:29 -0800 Subject: [PATCH] Update OpenAPI Descriptions (#32856) Co-authored-by: github-openapi-bot --- lib/rest/static/decorated/api.github.com.json | 19 +++++++++++++++++++ lib/rest/static/decorated/ghec.json | 19 +++++++++++++++++++ .../dereferenced/api.github.com.deref.json | 19 +++++++++++++++++++ lib/rest/static/dereferenced/ghec.deref.json | 19 +++++++++++++++++++ 4 files changed, 76 insertions(+) diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index e60744a97dd8..d67685cd422f 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -153313,6 +153313,25 @@ "fixed" ] } + }, + { + "name": "severity", + "description": "

If specified, only code scanning alerts with this severity will be returned.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Severity of a code scanning alert.", + "enum": [ + "critical", + "high", + "medium", + "low", + "warning", + "note", + "error" + ] + } } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghec.json b/lib/rest/static/decorated/ghec.json index 26ef10d7ceb5..31ed11bf9cdb 100644 --- a/lib/rest/static/decorated/ghec.json +++ b/lib/rest/static/decorated/ghec.json @@ -153763,6 +153763,25 @@ "fixed" ] } + }, + { + "name": "severity", + "description": "

If specified, only code scanning alerts with this severity will be returned.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Severity of a code scanning alert.", + "enum": [ + "critical", + "high", + "medium", + "low", + "warning", + "note", + "error" + ] + } } ], "bodyParameters": [], diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index b29d3b208c2d..d4f34cb8b49a 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -213414,6 +213414,25 @@ "fixed" ] } + }, + { + "name": "severity", + "description": "If specified, only code scanning alerts with this severity will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Severity of a code scanning alert.", + "enum": [ + "critical", + "high", + "medium", + "low", + "warning", + "note", + "error" + ] + } } ], "responses": { diff --git a/lib/rest/static/dereferenced/ghec.deref.json b/lib/rest/static/dereferenced/ghec.deref.json index b94d403600ce..70f8f5332862 100644 --- a/lib/rest/static/dereferenced/ghec.deref.json +++ b/lib/rest/static/dereferenced/ghec.deref.json @@ -216927,6 +216927,25 @@ "fixed" ] } + }, + { + "name": "severity", + "description": "If specified, only code scanning alerts with this severity will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "description": "Severity of a code scanning alert.", + "enum": [ + "critical", + "high", + "medium", + "low", + "warning", + "note", + "error" + ] + } } ], "responses": {