Skip to content

Release 4.10.0 #167

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 13 commits into from
Dec 4, 2019
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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ Attribute | Location | Type | Supported By | Explanation
`x-linode-cli-skip` | method | boolean | linode-cli | If true, the CLI will not expose this action.
`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.
`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.
`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.
`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`.
`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.
39 changes: 33 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.1
info:
version: 4.9.0
version: 4.10.0
title: Linode API
description: |
# Introduction
Expand Down Expand Up @@ -3326,6 +3326,12 @@ paths:
description: A collection of the specified Linode's available backups.
content:
application/json:
x-linode-cli-rows:
- automatic
- snapshot.current
- snapshot.in_progress
x-linode-cli-use-schema:
$ref: '#/components/schemas/Backup'
schema:
type: object
properties:
Expand Down Expand Up @@ -6050,10 +6056,11 @@ paths:
- node_pools
allOf:
- $ref: '#/components/schemas/LKEClusterRequestBody'
properties:
node_pools:
allOf:
- $ref: '#/components/schemas/LKENodePoolRequestBody'
- properties:
node_pools:
type: array
items:
$ref: '#/components/schemas/LKENodePoolRequestBody'
responses:
'200':
description: Kubernetes cluster creation has started.
Expand Down Expand Up @@ -6262,6 +6269,18 @@ paths:
description: Returns an array of all Pools in this Kubernetes cluster.
content:
application/json:
x-linode-cli-nested-list: linodes
x-linode-cli-use-schema:
type: object
properties:
id:
x-linode-cli-display: 1
type:
x-linode-cli-display: 2
linodes.id:
x-linode-cli-display: 3
linodes.status:
x-linode-cli-display: 4
schema:
type: object
properties:
Expand Down Expand Up @@ -13451,7 +13470,7 @@ components:
x-linode-cli-display: 3
domain:
type: string
pattern: ([a-zA-Z0-9-_]{1,63}\.)+([a-zA-Z]{2,3}\.)?([a-zA-Z]{2,16}|xn--[a-zA-Z0-9]+)
pattern: ([a-zA-Z0-9-_]{1,63}\.)+([a-zA-Z]{2,3}\.)?([a-zA-Z]{2,16}|xn--[a-zA-Z0-9]+\.?)
description: >
The domain this Domain represents. Domain labels cannot be longer than
63 characters and must conform to [RFC1035](https://tools.ietf.org/html/rfc1035).
Expand Down Expand Up @@ -15628,6 +15647,7 @@ components:
cluster.
properties:
type:
type: string
description: A Linode Type for all of the nodes in the Node Pool.
example: "g6-standard-4"
count:
Expand Down Expand Up @@ -17317,6 +17337,13 @@ components:
- Object Storage
readOnly: true
x-linode-cli-display: 3
status:
type: string
description: >
This region's current operational status.
example: ok
readOnly: true
x-linode-cli-display: 4
RescueDevices:
type: object
properties:
Expand Down