Skip to content

Commit 1a8975d

Browse files
authored
Merge pull request #1503 from github/openapi-update-6742efa1b0d928bf9f2501e263e859c43627516c030245e20f83e099a26daa72
Update OpenAPI 3.0 Descriptions
2 parents b099e78 + 19e01c4 commit 1a8975d

28 files changed

+2027
-990
lines changed

descriptions/api.github.com/api.github.com.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20934,6 +20934,9 @@
2093420934
},
2093520935
{
2093620936
"$ref": "#/components/parameters/workflow-run-check-suite-id"
20937+
},
20938+
{
20939+
"$ref": "#/components/parameters/workflow-run-head-sha"
2093720940
}
2093820941
],
2093920942
"responses": {
@@ -22582,6 +22585,9 @@
2258222585
},
2258322586
{
2258422587
"$ref": "#/components/parameters/workflow-run-check-suite-id"
22588+
},
22589+
{
22590+
"$ref": "#/components/parameters/workflow-run-head-sha"
2258522591
}
2258622592
],
2258722593
"responses": {
@@ -36486,6 +36492,11 @@
3648636492
},
3648736493
"state_reason": {
3648836494
"type": "string",
36495+
"enum": [
36496+
"completed",
36497+
"not_planned",
36498+
"reopened"
36499+
],
3648936500
"nullable": true,
3649036501
"description": "The reason for the current state",
3649136502
"example": "not_planned"
@@ -63156,7 +63167,12 @@
6315663167
"description": "The reason for the current state",
6315763168
"example": "not_planned",
6315863169
"type": "string",
63159-
"nullable": true
63170+
"nullable": true,
63171+
"enum": [
63172+
"completed",
63173+
"reopened",
63174+
"not_planned"
63175+
]
6316063176
},
6316163177
"title": {
6316263178
"description": "Title of the issue",
@@ -77791,7 +77807,12 @@
7779177807
"description": "The reason for the current state",
7779277808
"example": "not_planned",
7779377809
"type": "string",
77794-
"nullable": true
77810+
"nullable": true,
77811+
"enum": [
77812+
"completed",
77813+
"reopened",
77814+
"not_planned"
77815+
]
7779577816
},
7779677817
"title": {
7779777818
"description": "Title of the issue",
@@ -112309,6 +112330,15 @@
112309112330
"type": "integer"
112310112331
}
112311112332
},
112333+
"workflow-run-head-sha": {
112334+
"name": "head_sha",
112335+
"description": "Only returns workflow runs that are associated with the specified `head_sha`.",
112336+
"in": "query",
112337+
"required": false,
112338+
"schema": {
112339+
"type": "string"
112340+
}
112341+
},
112312112342
"run-id": {
112313112343
"name": "run_id",
112314112344
"description": "The unique identifier of the workflow run.",

descriptions/api.github.com/api.github.com.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14965,6 +14965,7 @@ paths:
1496514965
- "$ref": "#/components/parameters/created"
1496614966
- "$ref": "#/components/parameters/exclude-pull-requests"
1496714967
- "$ref": "#/components/parameters/workflow-run-check-suite-id"
14968+
- "$ref": "#/components/parameters/workflow-run-head-sha"
1496814969
responses:
1496914970
'200':
1497014971
description: Response
@@ -16137,6 +16138,7 @@ paths:
1613716138
- "$ref": "#/components/parameters/created"
1613816139
- "$ref": "#/components/parameters/exclude-pull-requests"
1613916140
- "$ref": "#/components/parameters/workflow-run-check-suite-id"
16141+
- "$ref": "#/components/parameters/workflow-run-head-sha"
1614016142
responses:
1614116143
'200':
1614216144
description: Response
@@ -26466,6 +26468,10 @@ paths:
2646626468
- closed
2646726469
state_reason:
2646826470
type: string
26471+
enum:
26472+
- completed
26473+
- not_planned
26474+
- reopened
2646926475
nullable: true
2647026476
description: The reason for the current state
2647126477
example: not_planned
@@ -45744,6 +45750,10 @@ components:
4574445750
example: not_planned
4574545751
type: string
4574645752
nullable: true
45753+
enum:
45754+
- completed
45755+
- reopened
45756+
- not_planned
4574745757
title:
4574845758
description: Title of the issue
4574945759
example: Widget creation fails in Safari on OS X 10.8
@@ -57073,6 +57083,10 @@ components:
5707357083
example: not_planned
5707457084
type: string
5707557085
nullable: true
57086+
enum:
57087+
- completed
57088+
- reopened
57089+
- not_planned
5707657090
title:
5707757091
description: Title of the issue
5707857092
example: Widget creation fails in Safari on OS X 10.8
@@ -86248,6 +86262,14 @@ components:
8624886262
in: query
8624986263
schema:
8625086264
type: integer
86265+
workflow-run-head-sha:
86266+
name: head_sha
86267+
description: Only returns workflow runs that are associated with the specified
86268+
`head_sha`.
86269+
in: query
86270+
required: false
86271+
schema:
86272+
type: string
8625186273
run-id:
8625286274
name: run_id
8625386275
description: The unique identifier of the workflow run.

0 commit comments

Comments
 (0)