Skip to content

Commit

Permalink
Merge pull request #63 from github/openapi-update-1.1.2
Browse files Browse the repository at this point in the history
fix: Update the OpenAPI description to the latest version
  • Loading branch information
Marc-Andre Giroux authored Oct 15, 2020
2 parents 3ab774f + 0faccd8 commit c5f9f2e
Show file tree
Hide file tree
Showing 24 changed files with 334 additions and 332 deletions.
48 changes: 23 additions & 25 deletions descriptions/api.github.com/api.github.com.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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"
}
}
}
},
Expand Down Expand Up @@ -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"
}
],
Expand Down Expand Up @@ -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"
}
],
Expand Down
35 changes: 18 additions & 17 deletions descriptions/api.github.com/api.github.com.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
118 changes: 59 additions & 59 deletions descriptions/api.github.com/dereferenced/api.github.com.deref.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -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"
]
}
}
}
},
Expand Down Expand Up @@ -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"
}
],
Expand Down Expand Up @@ -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"
]
}
}
}
},
Expand Down Expand Up @@ -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"
}
],
Expand Down
Loading

0 comments on commit c5f9f2e

Please sign in to comment.