Skip to content

Commit afa8a98

Browse files
authored
Merge pull request #4605 from github/openapi-update-358efb4cbe41bf10569d8a9062f5692ced6e79bb89b394f2fa7ebf7919d8ce3d
Update OpenAPI 3.1 Descriptions
2 parents 3262d68 + f2c6677 commit afa8a98

16 files changed

+24
-694
lines changed

descriptions-next/api.github.com/api.github.com.2022-11-28.json

+2-25
Original file line numberDiff line numberDiff line change
@@ -6842,13 +6842,6 @@
68426842
"partner",
68436843
"custom"
68446844
]
6845-
},
6846-
"version": {
6847-
"description": "The version of the runner image to deploy. This is relevant only for runners using custom images.",
6848-
"type": [
6849-
"string",
6850-
"null"
6851-
]
68526845
}
68536846
}
68546847
},
@@ -6882,8 +6875,7 @@
68826875
"name": "My Hosted runner",
68836876
"image": {
68846877
"id": "ubuntu-latest",
6885-
"source": "github",
6886-
"version": "latest"
6878+
"source": "github"
68876879
},
68886880
"runner_group_id": 1,
68896881
"size": "4-core",
@@ -7286,13 +7278,6 @@
72867278
"enable_static_ip": {
72877279
"description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`",
72887280
"type": "boolean"
7289-
},
7290-
"image_version": {
7291-
"description": "The version of the runner image to deploy. This is relevant only for runners using custom images.",
7292-
"type": [
7293-
"string",
7294-
"null"
7295-
]
72967281
}
72977282
}
72987283
},
@@ -7302,8 +7287,7 @@
73027287
"name": "My larger runner",
73037288
"runner_group_id": 1,
73047289
"maximum_runners": 50,
7305-
"enable_static_ip": false,
7306-
"image_version": "1.0.0"
7290+
"enable_static_ip": false
73077291
}
73087292
}
73097293
}
@@ -103268,13 +103252,6 @@
103268103252
"partner",
103269103253
"custom"
103270103254
]
103271-
},
103272-
"version": {
103273-
"description": "The image version of the hosted runner pool.",
103274-
"type": "string",
103275-
"examples": [
103276-
"latest"
103277-
]
103278103255
}
103279103256
},
103280103257
"required": [

descriptions-next/api.github.com/api.github.com.2022-11-28.yaml

-19
Original file line numberDiff line numberDiff line change
@@ -4921,12 +4921,6 @@ paths:
49214921
- github
49224922
- partner
49234923
- custom
4924-
version:
4925-
description: The version of the runner image to deploy. This
4926-
is relevant only for runners using custom images.
4927-
type:
4928-
- string
4929-
- 'null'
49304924
size:
49314925
description: The machine size of the runner. To list available sizes,
49324926
use `GET actions/hosted-runners/machine-sizes`
@@ -4956,7 +4950,6 @@ paths:
49564950
image:
49574951
id: ubuntu-latest
49584952
source: github
4959-
version: latest
49604953
runner_group_id: 1
49614954
size: 4-core
49624955
maximum_runners: 50
@@ -5232,20 +5225,13 @@ paths:
52325225
public IP. Note limit on account. To list limits on account, use
52335226
`GET actions/hosted-runners/limits`
52345227
type: boolean
5235-
image_version:
5236-
description: The version of the runner image to deploy. This is
5237-
relevant only for runners using custom images.
5238-
type:
5239-
- string
5240-
- 'null'
52415228
examples:
52425229
default:
52435230
value:
52445231
name: My larger runner
52455232
runner_group_id: 1
52465233
maximum_runners: 50
52475234
enable_static_ip: false
5248-
image_version: 1.0.0
52495235
responses:
52505236
'200':
52515237
description: Response
@@ -74866,11 +74852,6 @@ components:
7486674852
- github
7486774853
- partner
7486874854
- custom
74869-
version:
74870-
description: The image version of the hosted runner pool.
74871-
type: string
74872-
examples:
74873-
- latest
7487474855
required:
7487574856
- id
7487674857
- size_gb

descriptions-next/api.github.com/api.github.com.json

+2-25
Original file line numberDiff line numberDiff line change
@@ -6842,13 +6842,6 @@
68426842
"partner",
68436843
"custom"
68446844
]
6845-
},
6846-
"version": {
6847-
"description": "The version of the runner image to deploy. This is relevant only for runners using custom images.",
6848-
"type": [
6849-
"string",
6850-
"null"
6851-
]
68526845
}
68536846
}
68546847
},
@@ -6882,8 +6875,7 @@
68826875
"name": "My Hosted runner",
68836876
"image": {
68846877
"id": "ubuntu-latest",
6885-
"source": "github",
6886-
"version": "latest"
6878+
"source": "github"
68876879
},
68886880
"runner_group_id": 1,
68896881
"size": "4-core",
@@ -7286,13 +7278,6 @@
72867278
"enable_static_ip": {
72877279
"description": "Whether this runner should be updated with a static public IP. Note limit on account. To list limits on account, use `GET actions/hosted-runners/limits`",
72887280
"type": "boolean"
7289-
},
7290-
"image_version": {
7291-
"description": "The version of the runner image to deploy. This is relevant only for runners using custom images.",
7292-
"type": [
7293-
"string",
7294-
"null"
7295-
]
72967281
}
72977282
}
72987283
},
@@ -7302,8 +7287,7 @@
73027287
"name": "My larger runner",
73037288
"runner_group_id": 1,
73047289
"maximum_runners": 50,
7305-
"enable_static_ip": false,
7306-
"image_version": "1.0.0"
7290+
"enable_static_ip": false
73077291
}
73087292
}
73097293
}
@@ -103268,13 +103252,6 @@
103268103252
"partner",
103269103253
"custom"
103270103254
]
103271-
},
103272-
"version": {
103273-
"description": "The image version of the hosted runner pool.",
103274-
"type": "string",
103275-
"examples": [
103276-
"latest"
103277-
]
103278103255
}
103279103256
},
103280103257
"required": [

descriptions-next/api.github.com/api.github.com.yaml

-19
Original file line numberDiff line numberDiff line change
@@ -4921,12 +4921,6 @@ paths:
49214921
- github
49224922
- partner
49234923
- custom
4924-
version:
4925-
description: The version of the runner image to deploy. This
4926-
is relevant only for runners using custom images.
4927-
type:
4928-
- string
4929-
- 'null'
49304924
size:
49314925
description: The machine size of the runner. To list available sizes,
49324926
use `GET actions/hosted-runners/machine-sizes`
@@ -4956,7 +4950,6 @@ paths:
49564950
image:
49574951
id: ubuntu-latest
49584952
source: github
4959-
version: latest
49604953
runner_group_id: 1
49614954
size: 4-core
49624955
maximum_runners: 50
@@ -5232,20 +5225,13 @@ paths:
52325225
public IP. Note limit on account. To list limits on account, use
52335226
`GET actions/hosted-runners/limits`
52345227
type: boolean
5235-
image_version:
5236-
description: The version of the runner image to deploy. This is
5237-
relevant only for runners using custom images.
5238-
type:
5239-
- string
5240-
- 'null'
52415228
examples:
52425229
default:
52435230
value:
52445231
name: My larger runner
52455232
runner_group_id: 1
52465233
maximum_runners: 50
52475234
enable_static_ip: false
5248-
image_version: 1.0.0
52495235
responses:
52505236
'200':
52515237
description: Response
@@ -74866,11 +74852,6 @@ components:
7486674852
- github
7486774853
- partner
7486874854
- custom
74869-
version:
74870-
description: The image version of the hosted runner pool.
74871-
type: string
74872-
examples:
74873-
- latest
7487474855
required:
7487574856
- id
7487674857
- size_gb

0 commit comments

Comments
 (0)