Skip to content

Commit 0ae3863

Browse files
jamesottingerGitHub Enterprise
authored andcommitted
Merge pull request #125 from jsager/show-nullable
Add required:true to NodeBalancer and related objects
2 parents 190fd7f + 73e8d09 commit 0ae3863

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

openapi.yaml

Lines changed: 26 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.
@@ -6290,6 +6293,9 @@ paths:
62906293
schema:
62916294
required:
62926295
- label
6296+
- service_type
6297+
- address
6298+
- timeout
62936299
allOf:
62946300
- $ref: '#/components/schemas/ManagedService'
62956301
responses:
@@ -9808,6 +9814,7 @@ components:
98089814
description: A label for Backups that are of type `snapshot`.
98099815
example: Webserver-Backup-2018
98109816
x-linode-cli-display: 5
9817+
nullable: true
98119818
configs:
98129819
type: array
98139820
items:
@@ -10250,11 +10257,13 @@ components:
1025010257
example: 80
1025110258
service:
1025210259
type: string
10260+
nullable: true
1025310261
description: >
1025410262
The service this Record identified. Only valid for SRV records.
1025510263
example: null
1025610264
protocol:
1025710265
type: string
10266+
nullable: true
1025810267
description: >
1025910268
The protocol this Record's service communicates with. Only valid
1026010269
for SRV records.
@@ -10271,6 +10280,7 @@ components:
1027110280
x-linode-cli-display: 5
1027210281
tag:
1027310282
type: string
10283+
nullable: true
1027410284
description: >
1027510285
The tag portion of a CAA record. It is invalid to set this on
1027610286
other record types.
@@ -10480,6 +10490,7 @@ components:
1048010490
example: 123
1048110491
permissions:
1048210492
type: string
10493+
nullable: true
1048310494
enum:
1048410495
- null
1048510496
- read_only
@@ -10522,6 +10533,7 @@ components:
1052210533
example: true
1052310534
account_access:
1052410535
type: string
10536+
nullable: true
1052510537
enum:
1052610538
- null
1052710539
- read_only
@@ -10679,6 +10691,7 @@ components:
1067910691
vendor:
1068010692
x-linode-filterable: true
1068110693
type: string
10694+
nullable: true
1068210695
description: >
1068310696
The upstream distribution vendor. `None` for private Images.
1068410697
example: null
@@ -11552,6 +11565,7 @@ components:
1155211565
x-linode-cli-display: 3
1155311566
comments:
1155411567
type: string
11568+
nullable: true
1155511569
description: Optional field for arbitrary User comments on this Config.
1155611570
example: This is my main Config
1155711571
memory_limit:
@@ -12069,12 +12083,14 @@ components:
1206912083
properties:
1207012084
primary:
1207112085
type: string
12086+
nullable: true
1207212087
format: phone
1207312088
description: >
1207412089
This Contact's primary phone number.
1207512090
example: 123-456-7890
1207612091
secondary:
1207712092
type: string
12093+
nullable: true
1207812094
format: phone
1207912095
description: >
1208012096
This Contact's secondary phone number.
@@ -12314,6 +12330,7 @@ components:
1231412330
example: 30
1231512331
body:
1231612332
type: string
12333+
nullable: true
1231712334
minLength: 0
1231812335
maxLength: 100
1231912336
description: >
@@ -12332,6 +12349,7 @@ components:
1233212349
x-linode-cli-display: 6
1233312350
notes:
1233412351
type: string
12352+
nullable: true
1233512353
description: >
1233612354
Any information relevant to the Service that Linode special forces
1233712355
should know when attempting to resolve Issues.
@@ -12414,6 +12432,7 @@ components:
1241412432
x-linode-cli-display: 5
1241512433
ipv6:
1241612434
type: string
12435+
nullable: true
1241712436
format: ip
1241812437
description: >
1241912438
This NodeBalancer's public IPv6 address.
@@ -12450,19 +12469,22 @@ components:
1245012469
properties:
1245112470
total:
1245212471
type: number
12472+
nullable: true
1245312473
description: >
1245412474
The total transfer, in MB, used by this NodeBalancer this month.
1245512475
example: 32.46078109741211
1245612476
readOnly: true
1245712477
out:
1245812478
type: number
12479+
nullable: true
1245912480
description: >
1246012481
The total inbound transfer, in MB, used for this NodeBalancer
1246112482
this month.
1246212483
example: 3.5487728118896484
1246312484
readOnly: true
1246412485
in:
1246512486
type: number
12487+
nullable: true
1246612488
description: >
1246712489
The total outbound transfer, in MB, used for this NodeBalancer
1246812490
this month.
@@ -12634,6 +12656,7 @@ components:
1263412656
x-linode-cli-display: 9
1263512657
ssl_cert:
1263612658
type: string
12659+
nullable: true
1263712660
description: >
1263812661
The certificate this port is serving. This is not returned. If set,
1263912662
this field will come back as "<REDACTED>".
@@ -12642,6 +12665,7 @@ components:
1264212665
example: null
1264312666
ssl_key:
1264412667
type: string
12668+
nullable: true
1264512669
description: >
1264612670
The private key corresponding to this port's certificate. This is not
1264712671
returned. If set, this field will come back as "<REDACTED>".
@@ -12977,6 +13001,7 @@ components:
1297713001
readOnly: true
1297813002
thumbnail_url:
1297913003
type: string
13004+
nullable: true
1298013005
format: url
1298113006
description: >
1298213007
The URL where this client's thumbnail may be viewed, or `null` if this client

0 commit comments

Comments
 (0)