Skip to content

Commit 52788d3

Browse files
Merge pull request #167 from linode/release-4.10.0
Release 4.10.0
2 parents dcc40a8 + 8cd6842 commit 52788d3

File tree

2 files changed

+36
-6
lines changed

2 files changed

+36
-6
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ Attribute | Location | Type | Supported By | Explanation
4747
`x-linode-cli-skip` | method | boolean | linode-cli | If true, the CLI will not expose this action.
4848
`x-linode-redoc-load-ids`| operation | boolean | If true, ReDoc will load this path and print a bulleted list of IDs. This only works on public collections.
4949
`x-linode-ref-name`| keyword | string | [Linode Developer's Site](https://github.com/linode/developers) | Provides a mechanism by which the Developer's site can generate a dropdown menu with an Object's name when using the `oneOf` keyword with a `discriminator`. **Note**: This front end functionality is currently being developed.
50+
`x-linode-cli-rows`| media type | array | A list of JSON paths where the CLI can find the value it should treat as table rows. Only needed for irregular endpoints.
51+
`x-linode-cli-use-schema` | media type | schema or $ref | The schema the CLI should use when showing a row for this response. Use with `x-linode-cli-rows`.
52+
`x-linode-cli-nested-list` | media type | string | The name of the property defined by this response body's schema that is a nested list. Items in the list will be broken out into rows in the CLI's output.

openapi.yaml

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.9.0
3+
version: 4.10.0
44
title: Linode API
55
description: |
66
# Introduction
@@ -3326,6 +3326,12 @@ paths:
33263326
description: A collection of the specified Linode's available backups.
33273327
content:
33283328
application/json:
3329+
x-linode-cli-rows:
3330+
- automatic
3331+
- snapshot.current
3332+
- snapshot.in_progress
3333+
x-linode-cli-use-schema:
3334+
$ref: '#/components/schemas/Backup'
33293335
schema:
33303336
type: object
33313337
properties:
@@ -6050,10 +6056,11 @@ paths:
60506056
- node_pools
60516057
allOf:
60526058
- $ref: '#/components/schemas/LKEClusterRequestBody'
6053-
properties:
6054-
node_pools:
6055-
allOf:
6056-
- $ref: '#/components/schemas/LKENodePoolRequestBody'
6059+
- properties:
6060+
node_pools:
6061+
type: array
6062+
items:
6063+
$ref: '#/components/schemas/LKENodePoolRequestBody'
60576064
responses:
60586065
'200':
60596066
description: Kubernetes cluster creation has started.
@@ -6262,6 +6269,18 @@ paths:
62626269
description: Returns an array of all Pools in this Kubernetes cluster.
62636270
content:
62646271
application/json:
6272+
x-linode-cli-nested-list: linodes
6273+
x-linode-cli-use-schema:
6274+
type: object
6275+
properties:
6276+
id:
6277+
x-linode-cli-display: 1
6278+
type:
6279+
x-linode-cli-display: 2
6280+
linodes.id:
6281+
x-linode-cli-display: 3
6282+
linodes.status:
6283+
x-linode-cli-display: 4
62656284
schema:
62666285
type: object
62676286
properties:
@@ -13451,7 +13470,7 @@ components:
1345113470
x-linode-cli-display: 3
1345213471
domain:
1345313472
type: string
13454-
pattern: ([a-zA-Z0-9-_]{1,63}\.)+([a-zA-Z]{2,3}\.)?([a-zA-Z]{2,16}|xn--[a-zA-Z0-9]+)
13473+
pattern: ([a-zA-Z0-9-_]{1,63}\.)+([a-zA-Z]{2,3}\.)?([a-zA-Z]{2,16}|xn--[a-zA-Z0-9]+\.?)
1345513474
description: >
1345613475
The domain this Domain represents. Domain labels cannot be longer than
1345713476
63 characters and must conform to [RFC1035](https://tools.ietf.org/html/rfc1035).
@@ -15628,6 +15647,7 @@ components:
1562815647
cluster.
1562915648
properties:
1563015649
type:
15650+
type: string
1563115651
description: A Linode Type for all of the nodes in the Node Pool.
1563215652
example: "g6-standard-4"
1563315653
count:
@@ -17317,6 +17337,13 @@ components:
1731717337
- Object Storage
1731817338
readOnly: true
1731917339
x-linode-cli-display: 3
17340+
status:
17341+
type: string
17342+
description: >
17343+
This region's current operational status.
17344+
example: ok
17345+
readOnly: true
17346+
x-linode-cli-display: 4
1732017347
RescueDevices:
1732117348
type: object
1732217349
properties:

0 commit comments

Comments
 (0)