From 0faccd8d47d847917a0c73257b716b6cc6380d93 Mon Sep 17 00:00:00 2001 From: github-openapi-bot Date: Wed, 14 Oct 2020 17:09:32 -0700 Subject: [PATCH] fix: Update the OpenAPI description to the latest version --- .../api.github.com/api.github.com.json | 48 ++++--- .../api.github.com/api.github.com.yaml | 35 +++--- .../dereferenced/api.github.com.deref.json | 118 +++++++++--------- .../dereferenced/api.github.com.deref.yaml | 116 ++++++++--------- .../dereferenced/ghes-2.18.deref.json | 2 +- .../dereferenced/ghes-2.18.deref.yaml | 2 +- descriptions/ghes-2.18/ghes-2.18.json | 2 +- descriptions/ghes-2.18/ghes-2.18.yaml | 2 +- .../dereferenced/ghes-2.19.deref.json | 2 +- .../dereferenced/ghes-2.19.deref.yaml | 2 +- descriptions/ghes-2.19/ghes-2.19.json | 2 +- descriptions/ghes-2.19/ghes-2.19.yaml | 2 +- .../dereferenced/ghes-2.20.deref.json | 2 +- .../dereferenced/ghes-2.20.deref.yaml | 2 +- descriptions/ghes-2.20/ghes-2.20.json | 2 +- descriptions/ghes-2.20/ghes-2.20.yaml | 2 +- .../dereferenced/ghes-2.21.deref.json | 2 +- .../dereferenced/ghes-2.21.deref.yaml | 2 +- descriptions/ghes-2.21/ghes-2.21.json | 2 +- descriptions/ghes-2.21/ghes-2.21.yaml | 2 +- .../dereferenced/ghes-2.22.deref.json | 118 +++++++++--------- .../dereferenced/ghes-2.22.deref.yaml | 116 ++++++++--------- descriptions/ghes-2.22/ghes-2.22.json | 48 ++++--- descriptions/ghes-2.22/ghes-2.22.yaml | 35 +++--- 24 files changed, 334 insertions(+), 332 deletions(-) diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 8a18279ed9..76f3b97d26 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -57361,22 +57361,24 @@ "code-scanning-alert-instances": { "nullable": true, "type": "array", - "properties": { - "ref": { - "$ref": "#/components/schemas/code-scanning-alert-ref" - }, - "analysis_key": { - "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" - }, - "environment": { - "$ref": "#/components/schemas/code-scanning-alert-environment" - }, - "matrix_vars": { - "nullable": true, - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/code-scanning-alert-state" + "items": { + "properties": { + "ref": { + "$ref": "#/components/schemas/code-scanning-alert-ref" + }, + "analysis_key": { + "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" + }, + "environment": { + "$ref": "#/components/schemas/code-scanning-alert-environment" + }, + "matrix_vars": { + "nullable": true, + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/code-scanning-alert-state" + } } } }, @@ -73708,15 +73710,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" } ], @@ -73764,15 +73764,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" } ], diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 75ea4ae17c..83e3973e72 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -41594,18 +41594,19 @@ components: code-scanning-alert-instances: nullable: true type: array - properties: - ref: - "$ref": "#/components/schemas/code-scanning-alert-ref" - analysis_key: - "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" - environment: - "$ref": "#/components/schemas/code-scanning-alert-environment" - matrix_vars: - nullable: true - type: string - state: - "$ref": "#/components/schemas/code-scanning-alert-state" + items: + properties: + ref: + "$ref": "#/components/schemas/code-scanning-alert-ref" + analysis_key: + "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" + environment: + "$ref": "#/components/schemas/code-scanning-alert-environment" + matrix_vars: + nullable: true + type: string + state: + "$ref": "#/components/schemas/code-scanning-alert-state" code-scanning-alert-code-scanning-alert: type: object properties: @@ -54820,11 +54821,11 @@ components: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed state: fixed dismissed_by: @@ -54864,11 +54865,11 @@ components: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed state: dismissed dismissed_by: 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 f62d447bb4..e079bf92a2 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -123750,31 +123750,33 @@ "instances": { "nullable": true, "type": "array", - "properties": { - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "analysis_key": { - "type": "string", - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." - }, - "environment": { - "type": "string", - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." - }, - "matrix_vars": { - "nullable": true, - "type": "string" - }, - "state": { - "type": "string", - "description": "State of a code scanning alert.", - "enum": [ - "open", - "dismissed", - "fixed" - ] + "items": { + "properties": { + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "analysis_key": { + "type": "string", + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." + }, + "environment": { + "type": "string", + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." + }, + "matrix_vars": { + "nullable": true, + "type": "string" + }, + "state": { + "type": "string", + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ] + } } } }, @@ -123987,15 +123989,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" } ], @@ -124213,31 +124213,33 @@ "instances": { "nullable": true, "type": "array", - "properties": { - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "analysis_key": { - "type": "string", - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." - }, - "environment": { - "type": "string", - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." - }, - "matrix_vars": { - "nullable": true, - "type": "string" - }, - "state": { - "type": "string", - "description": "State of a code scanning alert.", - "enum": [ - "open", - "dismissed", - "fixed" - ] + "items": { + "properties": { + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "analysis_key": { + "type": "string", + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." + }, + "environment": { + "type": "string", + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." + }, + "matrix_vars": { + "nullable": true, + "type": "string" + }, + "state": { + "type": "string", + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ] + } } } }, @@ -124450,15 +124452,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" } ], 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 865cb715ce..46f9f8266a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -94866,32 +94866,33 @@ paths: instances: nullable: true type: array - properties: - ref: - type: string - description: The full Git reference, formatted as `refs/heads/`. - analysis_key: - type: string - description: Identifies the configuration under which the - analysis was executed. For example, in GitHub Actions this - includes the workflow filename and job name. - environment: - type: string - description: Identifies the variable values associated with - the environment in which the analysis that generated this - alert instance was performed, such as the language that - was analyzed. - matrix_vars: - nullable: true - type: string - state: - type: string - description: State of a code scanning alert. - enum: - - open - - dismissed - - fixed + items: + properties: + ref: + type: string + description: The full Git reference, formatted as `refs/heads/`. + analysis_key: + type: string + description: Identifies the configuration under which the + analysis was executed. For example, in GitHub Actions + this includes the workflow filename and job name. + environment: + type: string + description: Identifies the variable values associated with + the environment in which the analysis that generated this + alert instance was performed, such as the language that + was analyzed. + matrix_vars: + nullable: true + type: string + state: + type: string + description: State of a code scanning alert. + enum: + - open + - dismissed + - fixed state: type: string description: State of a code scanning alert. @@ -95055,11 +95056,11 @@ paths: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed state: fixed dismissed_by: @@ -95221,32 +95222,33 @@ paths: instances: nullable: true type: array - properties: - ref: - type: string - description: The full Git reference, formatted as `refs/heads/`. - analysis_key: - type: string - description: Identifies the configuration under which the - analysis was executed. For example, in GitHub Actions this - includes the workflow filename and job name. - environment: - type: string - description: Identifies the variable values associated with - the environment in which the analysis that generated this - alert instance was performed, such as the language that - was analyzed. - matrix_vars: - nullable: true - type: string - state: - type: string - description: State of a code scanning alert. - enum: - - open - - dismissed - - fixed + items: + properties: + ref: + type: string + description: The full Git reference, formatted as `refs/heads/`. + analysis_key: + type: string + description: Identifies the configuration under which the + analysis was executed. For example, in GitHub Actions + this includes the workflow filename and job name. + environment: + type: string + description: Identifies the variable values associated with + the environment in which the analysis that generated this + alert instance was performed, such as the language that + was analyzed. + matrix_vars: + nullable: true + type: string + state: + type: string + description: State of a code scanning alert. + enum: + - open + - dismissed + - fixed state: type: string description: State of a code scanning alert. @@ -95410,11 +95412,11 @@ paths: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed state: dismissed dismissed_by: diff --git a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json index d316566f9e..f7d038607e 100644 --- a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json +++ b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml index 1c93f9b482..602335b643 100644 --- a/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml +++ b/descriptions/ghes-2.18/dereferenced/ghes-2.18.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.18/ghes-2.18.json b/descriptions/ghes-2.18/ghes-2.18.json index 12e1b76de6..07be991da8 100644 --- a/descriptions/ghes-2.18/ghes-2.18.json +++ b/descriptions/ghes-2.18/ghes-2.18.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.18/ghes-2.18.yaml b/descriptions/ghes-2.18/ghes-2.18.yaml index 00d015b082..495b97a7eb 100644 --- a/descriptions/ghes-2.18/ghes-2.18.yaml +++ b/descriptions/ghes-2.18/ghes-2.18.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json index 4eee982fb7..b2b692e6d4 100644 --- a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json +++ b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml index bd48108e0d..b5bc75c8c9 100644 --- a/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml +++ b/descriptions/ghes-2.19/dereferenced/ghes-2.19.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.19/ghes-2.19.json b/descriptions/ghes-2.19/ghes-2.19.json index b5d98669d2..5959e299b1 100644 --- a/descriptions/ghes-2.19/ghes-2.19.json +++ b/descriptions/ghes-2.19/ghes-2.19.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.19/ghes-2.19.yaml b/descriptions/ghes-2.19/ghes-2.19.yaml index 9d2681ec60..35319ed410 100644 --- a/descriptions/ghes-2.19/ghes-2.19.yaml +++ b/descriptions/ghes-2.19/ghes-2.19.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json index 7b99dcdb14..b77f0d7950 100644 --- a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json +++ b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml index acae89b908..306eeeda4c 100644 --- a/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml +++ b/descriptions/ghes-2.20/dereferenced/ghes-2.20.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.20/ghes-2.20.json b/descriptions/ghes-2.20/ghes-2.20.json index 18111e1170..d483ecee75 100644 --- a/descriptions/ghes-2.20/ghes-2.20.json +++ b/descriptions/ghes-2.20/ghes-2.20.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.20/ghes-2.20.yaml b/descriptions/ghes-2.20/ghes-2.20.yaml index a054eaad11..18075fa505 100644 --- a/descriptions/ghes-2.20/ghes-2.20.yaml +++ b/descriptions/ghes-2.20/ghes-2.20.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json index cf8e74d622..d6aac2b75b 100644 --- a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json +++ b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml index 66be3efa2f..e3412d0425 100644 --- a/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml +++ b/descriptions/ghes-2.21/dereferenced/ghes-2.21.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.21/ghes-2.21.json b/descriptions/ghes-2.21/ghes-2.21.json index aada6b4abc..f94545510b 100644 --- a/descriptions/ghes-2.21/ghes-2.21.json +++ b/descriptions/ghes-2.21/ghes-2.21.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { diff --git a/descriptions/ghes-2.21/ghes-2.21.yaml b/descriptions/ghes-2.21/ghes-2.21.yaml index 041801f9d9..833f693baa 100644 --- a/descriptions/ghes-2.21/ghes-2.21.yaml +++ b/descriptions/ghes-2.21/ghes-2.21.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: diff --git a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json index 6f0fba6429..352eb3fe4e 100644 --- a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json +++ b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -114831,31 +114831,33 @@ "instances": { "nullable": true, "type": "array", - "properties": { - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "analysis_key": { - "type": "string", - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." - }, - "environment": { - "type": "string", - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." - }, - "matrix_vars": { - "nullable": true, - "type": "string" - }, - "state": { - "type": "string", - "description": "State of a code scanning alert.", - "enum": [ - "open", - "dismissed", - "fixed" - ] + "items": { + "properties": { + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "analysis_key": { + "type": "string", + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." + }, + "environment": { + "type": "string", + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." + }, + "matrix_vars": { + "nullable": true, + "type": "string" + }, + "state": { + "type": "string", + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ] + } } } }, @@ -115068,15 +115070,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" } ], @@ -115294,31 +115294,33 @@ "instances": { "nullable": true, "type": "array", - "properties": { - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`." - }, - "analysis_key": { - "type": "string", - "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." - }, - "environment": { - "type": "string", - "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." - }, - "matrix_vars": { - "nullable": true, - "type": "string" - }, - "state": { - "type": "string", - "description": "State of a code scanning alert.", - "enum": [ - "open", - "dismissed", - "fixed" - ] + "items": { + "properties": { + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`." + }, + "analysis_key": { + "type": "string", + "description": "Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name." + }, + "environment": { + "type": "string", + "description": "Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed." + }, + "matrix_vars": { + "nullable": true, + "type": "string" + }, + "state": { + "type": "string", + "description": "State of a code scanning alert.", + "enum": [ + "open", + "dismissed", + "fixed" + ] + } } } }, @@ -115531,15 +115533,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" } ], diff --git a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml index 8ff4f8e893..8ab2c4fef3 100644 --- a/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml +++ b/descriptions/ghes-2.22/dereferenced/ghes-2.22.deref.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -88013,32 +88013,33 @@ paths: instances: nullable: true type: array - properties: - ref: - type: string - description: The full Git reference, formatted as `refs/heads/`. - analysis_key: - type: string - description: Identifies the configuration under which the - analysis was executed. For example, in GitHub Actions this - includes the workflow filename and job name. - environment: - type: string - description: Identifies the variable values associated with - the environment in which the analysis that generated this - alert instance was performed, such as the language that - was analyzed. - matrix_vars: - nullable: true - type: string - state: - type: string - description: State of a code scanning alert. - enum: - - open - - dismissed - - fixed + items: + properties: + ref: + type: string + description: The full Git reference, formatted as `refs/heads/`. + analysis_key: + type: string + description: Identifies the configuration under which the + analysis was executed. For example, in GitHub Actions + this includes the workflow filename and job name. + environment: + type: string + description: Identifies the variable values associated with + the environment in which the analysis that generated this + alert instance was performed, such as the language that + was analyzed. + matrix_vars: + nullable: true + type: string + state: + type: string + description: State of a code scanning alert. + enum: + - open + - dismissed + - fixed state: type: string description: State of a code scanning alert. @@ -88202,11 +88203,11 @@ paths: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed state: fixed dismissed_by: @@ -88368,32 +88369,33 @@ paths: instances: nullable: true type: array - properties: - ref: - type: string - description: The full Git reference, formatted as `refs/heads/`. - analysis_key: - type: string - description: Identifies the configuration under which the - analysis was executed. For example, in GitHub Actions this - includes the workflow filename and job name. - environment: - type: string - description: Identifies the variable values associated with - the environment in which the analysis that generated this - alert instance was performed, such as the language that - was analyzed. - matrix_vars: - nullable: true - type: string - state: - type: string - description: State of a code scanning alert. - enum: - - open - - dismissed - - fixed + items: + properties: + ref: + type: string + description: The full Git reference, formatted as `refs/heads/`. + analysis_key: + type: string + description: Identifies the configuration under which the + analysis was executed. For example, in GitHub Actions + this includes the workflow filename and job name. + environment: + type: string + description: Identifies the variable values associated with + the environment in which the analysis that generated this + alert instance was performed, such as the language that + was analyzed. + matrix_vars: + nullable: true + type: string + state: + type: string + description: State of a code scanning alert. + enum: + - open + - dismissed + - fixed state: type: string description: State of a code scanning alert. @@ -88557,11 +88559,11 @@ paths: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed state: dismissed dismissed_by: diff --git a/descriptions/ghes-2.22/ghes-2.22.json b/descriptions/ghes-2.22/ghes-2.22.json index 53775249ce..329f9bd5f7 100644 --- a/descriptions/ghes-2.22/ghes-2.22.json +++ b/descriptions/ghes-2.22/ghes-2.22.json @@ -1,7 +1,7 @@ { "openapi": "3.0.3", "info": { - "version": "1.1.1", + "version": "1.1.2", "title": "GitHub v3 REST API", "description": "GitHub's v3 REST API.", "license": { @@ -54108,22 +54108,24 @@ "code-scanning-alert-instances": { "nullable": true, "type": "array", - "properties": { - "ref": { - "$ref": "#/components/schemas/code-scanning-alert-ref" - }, - "analysis_key": { - "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" - }, - "environment": { - "$ref": "#/components/schemas/code-scanning-alert-environment" - }, - "matrix_vars": { - "nullable": true, - "type": "string" - }, - "state": { - "$ref": "#/components/schemas/code-scanning-alert-state" + "items": { + "properties": { + "ref": { + "$ref": "#/components/schemas/code-scanning-alert-ref" + }, + "analysis_key": { + "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" + }, + "environment": { + "$ref": "#/components/schemas/code-scanning-alert-environment" + }, + "matrix_vars": { + "nullable": true, + "type": "string" + }, + "state": { + "$ref": "#/components/schemas/code-scanning-alert-state" + } } } }, @@ -69419,15 +69421,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "fixed" } ], @@ -69475,15 +69475,13 @@ { "ref": "refs/heads/codeql-analysis-yml", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" }, { "ref": "refs/pull/3740/head", "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build", - "environment": { - }, + "environment": "", "state": "dismissed" } ], diff --git a/descriptions/ghes-2.22/ghes-2.22.yaml b/descriptions/ghes-2.22/ghes-2.22.yaml index 61ee4fcab7..689de83a9e 100644 --- a/descriptions/ghes-2.22/ghes-2.22.yaml +++ b/descriptions/ghes-2.22/ghes-2.22.yaml @@ -1,7 +1,7 @@ --- openapi: 3.0.3 info: - version: 1.1.1 + version: 1.1.2 title: GitHub v3 REST API description: GitHub's v3 REST API. license: @@ -39383,18 +39383,19 @@ components: code-scanning-alert-instances: nullable: true type: array - properties: - ref: - "$ref": "#/components/schemas/code-scanning-alert-ref" - analysis_key: - "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" - environment: - "$ref": "#/components/schemas/code-scanning-alert-environment" - matrix_vars: - nullable: true - type: string - state: - "$ref": "#/components/schemas/code-scanning-alert-state" + items: + properties: + ref: + "$ref": "#/components/schemas/code-scanning-alert-ref" + analysis_key: + "$ref": "#/components/schemas/code-scanning-analysis-analysis-key" + environment: + "$ref": "#/components/schemas/code-scanning-alert-environment" + matrix_vars: + nullable: true + type: string + state: + "$ref": "#/components/schemas/code-scanning-alert-state" code-scanning-alert-code-scanning-alert: type: object properties: @@ -51783,11 +51784,11 @@ components: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: fixed state: fixed dismissed_by: @@ -51827,11 +51828,11 @@ components: instances: - ref: refs/heads/codeql-analysis-yml analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed - ref: refs/pull/3740/head analysis_key: ".github/workflows/codeql-analysis.yml:CodeQL-Build" - environment: {} + environment: '' state: dismissed state: dismissed dismissed_by: