Skip to content
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

Update OpenAPI 3.0 Descriptions #4017

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
18 changes: 18 additions & 0 deletions descriptions/api.github.com/api.github.com.2022-11-28.json
Original file line number Diff line number Diff line change
Expand Up @@ -31431,6 +31431,9 @@
{
"$ref": "#/components/parameters/git-ref"
},
{
"$ref": "#/components/parameters/pr-alias"
},
{
"$ref": "#/components/parameters/direction"
},
Expand Down Expand Up @@ -31685,6 +31688,9 @@
},
{
"$ref": "#/components/parameters/git-ref"
},
{
"$ref": "#/components/parameters/pr-alias"
}
],
"responses": {
Expand Down Expand Up @@ -31755,6 +31761,9 @@
{
"$ref": "#/components/parameters/per-page"
},
{
"$ref": "#/components/parameters/pr-alias"
},
{
"name": "ref",
"in": "query",
Expand Down Expand Up @@ -290314,6 +290323,15 @@
"$ref": "#/components/schemas/code-scanning-ref"
}
},
"pr-alias": {
"name": "pr",
"description": "The number of the pull request for the results you want to list.",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
},
"alert-number": {
"name": "alert_number",
"in": "path",
Expand Down
10 changes: 10 additions & 0 deletions descriptions/api.github.com/api.github.com.2022-11-28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22777,6 +22777,7 @@ paths:
- "$ref": "#/components/parameters/page"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/git-ref"
- "$ref": "#/components/parameters/pr-alias"
- "$ref": "#/components/parameters/direction"
- name: sort
description: The property by which to sort the results.
Expand Down Expand Up @@ -22945,6 +22946,7 @@ paths:
- "$ref": "#/components/parameters/page"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/git-ref"
- "$ref": "#/components/parameters/pr-alias"
responses:
'200':
description: Response
Expand Down Expand Up @@ -23000,6 +23002,7 @@ paths:
- "$ref": "#/components/parameters/tool-guid"
- "$ref": "#/components/parameters/page"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/pr-alias"
- name: ref
in: query
description: The Git reference for the analyses you want to list. The `ref`
Expand Down Expand Up @@ -220753,6 +220756,13 @@ components:
required: false
schema:
"$ref": "#/components/schemas/code-scanning-ref"
pr-alias:
name: pr
description: The number of the pull request for the results you want to list.
in: query
required: false
schema:
type: integer
alert-number:
name: alert_number
in: path
Expand Down
18 changes: 18 additions & 0 deletions descriptions/api.github.com/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -31431,6 +31431,9 @@
{
"$ref": "#/components/parameters/git-ref"
},
{
"$ref": "#/components/parameters/pr-alias"
},
{
"$ref": "#/components/parameters/direction"
},
Expand Down Expand Up @@ -31685,6 +31688,9 @@
},
{
"$ref": "#/components/parameters/git-ref"
},
{
"$ref": "#/components/parameters/pr-alias"
}
],
"responses": {
Expand Down Expand Up @@ -31755,6 +31761,9 @@
{
"$ref": "#/components/parameters/per-page"
},
{
"$ref": "#/components/parameters/pr-alias"
},
{
"name": "ref",
"in": "query",
Expand Down Expand Up @@ -290314,6 +290323,15 @@
"$ref": "#/components/schemas/code-scanning-ref"
}
},
"pr-alias": {
"name": "pr",
"description": "The number of the pull request for the results you want to list.",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
},
"alert-number": {
"name": "alert_number",
"in": "path",
Expand Down
10 changes: 10 additions & 0 deletions descriptions/api.github.com/api.github.com.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22777,6 +22777,7 @@ paths:
- "$ref": "#/components/parameters/page"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/git-ref"
- "$ref": "#/components/parameters/pr-alias"
- "$ref": "#/components/parameters/direction"
- name: sort
description: The property by which to sort the results.
Expand Down Expand Up @@ -22945,6 +22946,7 @@ paths:
- "$ref": "#/components/parameters/page"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/git-ref"
- "$ref": "#/components/parameters/pr-alias"
responses:
'200':
description: Response
Expand Down Expand Up @@ -23000,6 +23002,7 @@ paths:
- "$ref": "#/components/parameters/tool-guid"
- "$ref": "#/components/parameters/page"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/pr-alias"
- name: ref
in: query
description: The Git reference for the analyses you want to list. The `ref`
Expand Down Expand Up @@ -220753,6 +220756,13 @@ components:
required: false
schema:
"$ref": "#/components/schemas/code-scanning-ref"
pr-alias:
name: pr
description: The number of the pull request for the results you want to list.
in: query
required: false
schema:
type: integer
alert-number:
name: alert_number
in: path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201020,6 +201020,15 @@
"description": "The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,\n`refs/heads/<branch name>` or simply `<branch name>`."
}
},
{
"name": "pr",
"description": "The number of the pull request for the results you want to list.",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "direction",
"description": "The direction to sort the results by.",
Expand Down Expand Up @@ -202964,6 +202973,15 @@
"type": "string",
"description": "The Git reference, formatted as `refs/pull/<number>/merge`, `refs/pull/<number>/head`,\n`refs/heads/<branch name>` or simply `<branch name>`."
}
},
{
"name": "pr",
"description": "The number of the pull request for the results you want to list.",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
}
],
"responses": {
Expand Down Expand Up @@ -203259,6 +203277,15 @@
"default": 30
}
},
{
"name": "pr",
"description": "The number of the pull request for the results you want to list.",
"in": "query",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "ref",
"in": "query",
Expand Down
Loading
Loading