diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index d6a25f2a2a..1bff9ed8d6 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -36795,6 +36795,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/unprocessable_analysis" + }, "503": { "$ref": "#/components/responses/service_unavailable" } @@ -301273,6 +301276,16 @@ } } }, + "unprocessable_analysis": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "found": { "description": "Found" }, diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 49068fe128..bed6e2c51b 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -26711,6 +26711,8 @@ paths: "$ref": "#/components/responses/code_scanning_forbidden_read" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/unprocessable_analysis" '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -228986,6 +228988,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + unprocessable_analysis: + description: Response if analysis could not be processed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" found: description: Found code_scanning_conflict: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index d6a25f2a2a..1bff9ed8d6 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -36795,6 +36795,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/unprocessable_analysis" + }, "503": { "$ref": "#/components/responses/service_unavailable" } @@ -301273,6 +301276,16 @@ } } }, + "unprocessable_analysis": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "found": { "description": "Found" }, diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 49068fe128..bed6e2c51b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -26711,6 +26711,8 @@ paths: "$ref": "#/components/responses/code_scanning_forbidden_read" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/unprocessable_analysis" '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -228986,6 +228988,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + unprocessable_analysis: + description: Response if analysis could not be processed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" found: description: Found code_scanning_conflict: diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index cc0a33915d..d9365b9119 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -227167,6 +227167,32 @@ } } }, + "422": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "503": { "description": "Service unavailable", "content": { diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 8b78aeff15..d9ad0e0f0d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -55510,6 +55510,11 @@ paths: - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 '403': *379 '404': *6 + '422': + description: Response if analysis could not be processed + content: + application/json: + schema: *3 '503': *65 x-github: enabledForGitHubApps: true diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index cc0a33915d..d9365b9119 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -227167,6 +227167,32 @@ } } }, + "422": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "503": { "description": "Service unavailable", "content": { diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 8b78aeff15..d9ad0e0f0d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -55510,6 +55510,11 @@ paths: - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 '403': *379 '404': *6 + '422': + description: Response if analysis could not be processed + content: + application/json: + schema: *3 '503': *65 x-github: enabledForGitHubApps: true diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 112730a90e..c08cd993b1 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -262647,6 +262647,32 @@ } } }, + "422": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "503": { "description": "Service unavailable", "content": { diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 34a535284a..6ed15e2107 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -63795,6 +63795,11 @@ paths: - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 '403': *467 '404': *6 + '422': + description: Response if analysis could not be processed + content: + application/json: + schema: *3 '503': *132 x-github: enabledForGitHubApps: true diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 112730a90e..c08cd993b1 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -262647,6 +262647,32 @@ } } }, + "422": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, "503": { "description": "Service unavailable", "content": { diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 34a535284a..6ed15e2107 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -63795,6 +63795,11 @@ paths: - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 '403': *467 '404': *6 + '422': + description: Response if analysis could not be processed + content: + application/json: + schema: *3 '503': *132 x-github: enabledForGitHubApps: true diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index fc28fff1e4..889d76e3c3 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -44856,6 +44856,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/unprocessable_analysis" + }, "503": { "$ref": "#/components/responses/service_unavailable" } @@ -318890,6 +318893,16 @@ } } }, + "unprocessable_analysis": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "found": { "description": "Found" }, diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index fbbd2d1f8f..6ccbfdb0e6 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -32476,6 +32476,8 @@ paths: "$ref": "#/components/responses/code_scanning_forbidden_read" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/unprocessable_analysis" '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -241775,6 +241777,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + unprocessable_analysis: + description: Response if analysis could not be processed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" found: description: Found code_scanning_conflict: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index fc28fff1e4..889d76e3c3 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -44856,6 +44856,9 @@ "404": { "$ref": "#/components/responses/not_found" }, + "422": { + "$ref": "#/components/responses/unprocessable_analysis" + }, "503": { "$ref": "#/components/responses/service_unavailable" } @@ -318890,6 +318893,16 @@ } } }, + "unprocessable_analysis": { + "description": "Response if analysis could not be processed", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, "found": { "description": "Found" }, diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index fbbd2d1f8f..6ccbfdb0e6 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -32476,6 +32476,8 @@ paths: "$ref": "#/components/responses/code_scanning_forbidden_read" '404': "$ref": "#/components/responses/not_found" + '422': + "$ref": "#/components/responses/unprocessable_analysis" '503': "$ref": "#/components/responses/service_unavailable" x-github: @@ -241775,6 +241777,12 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + unprocessable_analysis: + description: Response if analysis could not be processed + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" found: description: Found code_scanning_conflict: