summaryrefslogtreecommitdiffstats
path: root/descriptions/api.github.com
diff options
context:
space:
mode:
authorMarc-Andre Giroux <xuorig@github.com>2020-10-14 20:11:16 -0400
committerGitHub <noreply@github.com>2020-10-14 20:11:16 -0400
commitc5f9f2ed3e938a8e4f43df654806fd49629bc0ee (patch)
tree9207f91b6d43bd6d240afc41fdb374b4dbbc283b /descriptions/api.github.com
parent3ab774f8c608fe238b70d1ebc0d3124786e269e1 (diff)
parent0faccd8d47d847917a0c73257b716b6cc6380d93 (diff)
downloadrest-api-description-c5f9f2ed3e938a8e4f43df654806fd49629bc0ee.tar.gz
rest-api-description-c5f9f2ed3e938a8e4f43df654806fd49629bc0ee.zip
Merge pull request #63 from github/openapi-update-1.1.2v1.1.2
fix: Update the OpenAPI description to the latest version
Diffstat (limited to 'descriptions/api.github.com')
-rw-r--r--descriptions/api.github.com/api.github.com.json48
-rw-r--r--descriptions/api.github.com/api.github.com.yaml35
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.json118
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.yaml116
4 files changed, 159 insertions, 158 deletions
diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json
index 8a18279ed..76f3b97d2 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 75ea4ae17..83e3973e7 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 f62d447bb..e079bf92a 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/<branch name>`."
- },
- "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/<branch name>`."
+ },
+ "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/<branch name>`."
- },
- "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/<branch name>`."
+ },
+ "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 865cb715c..46f9f8266 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/<branch
- name>`.
- 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/<branch
+ name>`.
+ 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/<branch
- name>`.
- 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/<branch
+ name>`.
+ 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: