From cd5b4dd39be744ba02161bc34655ebdbb5217ff3 Mon Sep 17 00:00:00 2001 From: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com> Date: Mon, 21 Jun 2021 16:11:59 -0400 Subject: [PATCH] Update OpenAPI Descriptions (#20037) --- lib/rest/static/decorated/api.github.com.json | 10 ++++++++++ lib/rest/static/decorated/ghes-3.1.json | 10 ++++++++++ lib/rest/static/dereferenced/api.github.com.deref.json | 9 +++++++++ lib/rest/static/dereferenced/ghes-3.1.deref.json | 9 +++++++++ 4 files changed, 38 insertions(+) diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index e84fa7e1d6..978ce27b4f 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -73494,6 +73494,16 @@ }, "descriptionHTML": "

Set to open or resolved to only list secret scanning alerts in a specific state.

" }, + { + "name": "secret_types", + "in": "query", + "description": "Set to a comma seperate list of secret_types to only list secret scanning alerts in for those types. Set to `all` to list all the secret scanning alerts. Default is `all`", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

Set to a comma seperate list of secret_types to only list secret scanning alerts in for those types. Set to all to list all the secret scanning alerts. Default is all

" + }, { "name": "page", "description": "Page number of the results to fetch.", diff --git a/lib/rest/static/decorated/ghes-3.1.json b/lib/rest/static/decorated/ghes-3.1.json index 4f345beb9e..ec9ea5b76a 100644 --- a/lib/rest/static/decorated/ghes-3.1.json +++ b/lib/rest/static/decorated/ghes-3.1.json @@ -71285,6 +71285,16 @@ }, "descriptionHTML": "

Set to open or resolved to only list secret scanning alerts in a specific state.

" }, + { + "name": "secret_types", + "in": "query", + "description": "Set to a comma seperate list of secret_types to only list secret scanning alerts in for those types. Set to `all` to list all the secret scanning alerts. Default is `all`", + "required": false, + "schema": { + "type": "string" + }, + "descriptionHTML": "

Set to a comma seperate list of secret_types to only list secret scanning alerts in for those types. Set to all to list all the secret scanning alerts. Default is all

" + }, { "name": "page", "description": "Page number of the results to fetch.", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index d3acd48f4a..2d02990a8d 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -323443,6 +323443,15 @@ ] } }, + { + "name": "secret_types", + "in": "query", + "description": "Set to a comma seperate list of secret_types to only list secret scanning alerts in for those types. Set to `all` to list all the secret scanning alerts. Default is `all`", + "required": false, + "schema": { + "type": "string" + } + }, { "name": "page", "description": "Page number of the results to fetch.", diff --git a/lib/rest/static/dereferenced/ghes-3.1.deref.json b/lib/rest/static/dereferenced/ghes-3.1.deref.json index d5076a6118..735f3f270f 100644 --- a/lib/rest/static/dereferenced/ghes-3.1.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.1.deref.json @@ -307187,6 +307187,15 @@ ] } }, + { + "name": "secret_types", + "in": "query", + "description": "Set to a comma seperate list of secret_types to only list secret scanning alerts in for those types. Set to `all` to list all the secret scanning alerts. Default is `all`", + "required": false, + "schema": { + "type": "string" + } + }, { "name": "page", "description": "Page number of the results to fetch.",