Skip to content

Commit 8b4f18b

Browse files
jamesottingerGitHub Enterprise
authored andcommitted
Merge pull request #127 from jsager/nullable-linodes
Nullable attrs to linode/instances
2 parents 54719d3 + abbd580 commit 8b4f18b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

openapi.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2685,14 +2685,11 @@ paths:
26852685
content:
26862686
application/json:
26872687
schema:
2688-
type: object
26892688
required:
26902689
- type
26912690
- region
2692-
allOf:
2693-
- $ref: '#/components/schemas/LinodeRequest'
2694-
- $ref: '#/components/schemas/LinodeBase'
2695-
- properties:
2691+
type: object
2692+
properties:
26962693
backup_id:
26972694
type: integer
26982695
example: 1234
@@ -2722,13 +2719,13 @@ paths:
27222719
type:
27232720
type: string
27242721
description: >
2725-
The type of Linode to deploy.
2726-
readOnly: false
2722+
The [Linode Type](#operation/getLinodeTypes) of the Linode
2723+
you are creating.
27272724
region:
27282725
type: string
27292726
description: >
2730-
The Region to deploy this Linode in.
2731-
readOnly: false
2727+
The [Region](#operation/getRegions) where the Linode
2728+
will be located.
27322729
responses:
27332730
'200':
27342731
description: >
@@ -10884,6 +10881,7 @@ components:
1088410881
x-linode-cli-display: 1
1088510882
gateway:
1088610883
type: string
10884+
nullable: true
1088710885
format: ip
1088810886
description: >
1088910887
The default gateway for this address.
@@ -11274,6 +11272,7 @@ components:
1127411272
image:
1127511273
x-linode-filterable: true
1127611274
readOnly: true
11275+
nullable: true
1127711276
allOf:
1127811277
- $ref: '#/components/schemas/DiskRequest/properties/image'
1127911278
x-linode-cli-display: 6
@@ -11468,6 +11467,7 @@ components:
1146811467
properties:
1146911468
day:
1147011469
type: string
11470+
nullable: true
1147111471
description: |
1147211472
The day of the week that your Linode's weekly Backup is taken.
1147311473
If not set manually, a day will be chosen for you. Backups
@@ -11489,6 +11489,7 @@ components:
1148911489
- Saturday
1149011490
window:
1149111491
type: string
11492+
nullable: true
1149211493
description: |
1149311494
The window in which your backups will be taken, in UTC. A
1149411495
backups window is a two-hour span of time in which the backup

0 commit comments

Comments
 (0)