Skip to content

Commit 7bb43ff

Browse files
author
Josh Sager
committed
Added nullable fields for Domains and Images
1 parent a65ffd7 commit 7bb43ff

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

openapi.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,10 @@ paths:
21652165
content:
21662166
application/json:
21672167
schema:
2168-
$ref: '#/components/schemas/DomainRecord'
2168+
required:
2169+
- type
2170+
allOf:
2171+
- $ref: '#/components/schemas/DomainRecord'
21692172
responses:
21702173
'200':
21712174
description: Domain Record created successfully.
@@ -10254,11 +10257,13 @@ components:
1025410257
example: 80
1025510258
service:
1025610259
type: string
10260+
nullable: true
1025710261
description: >
1025810262
The service this Record identified. Only valid for SRV records.
1025910263
example: null
1026010264
protocol:
1026110265
type: string
10266+
nullable: true
1026210267
description: >
1026310268
The protocol this Record's service communicates with. Only valid
1026410269
for SRV records.
@@ -10275,6 +10280,7 @@ components:
1027510280
x-linode-cli-display: 5
1027610281
tag:
1027710282
type: string
10283+
nullable: true
1027810284
description: >
1027910285
The tag portion of a CAA record. It is invalid to set this on
1028010286
other record types.
@@ -10484,6 +10490,7 @@ components:
1048410490
example: 123
1048510491
permissions:
1048610492
type: string
10493+
nullable: true
1048710494
enum:
1048810495
- null
1048910496
- read_only
@@ -10526,6 +10533,7 @@ components:
1052610533
example: true
1052710534
account_access:
1052810535
type: string
10536+
nullable: true
1052910537
enum:
1053010538
- null
1053110539
- read_only
@@ -10683,6 +10691,7 @@ components:
1068310691
vendor:
1068410692
x-linode-filterable: true
1068510693
type: string
10694+
nullable: true
1068610695
description: >
1068710696
The upstream distribution vendor. `None` for private Images.
1068810697
example: null
@@ -12992,6 +13001,7 @@ components:
1299213001
readOnly: true
1299313002
thumbnail_url:
1299413003
type: string
13004+
nullable: true
1299513005
format: url
1299613006
description: >
1299713007
The URL where this client's thumbnail may be viewed, or `null` if this client

0 commit comments

Comments
 (0)