Skip to content

fix: Update the OpenAPI description to the latest version #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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