Skip to content

Commit

Permalink
added null value for droplet
Browse files Browse the repository at this point in the history
  • Loading branch information
imaskm committed Feb 17, 2025
1 parent 53f9fbc commit 02493ab
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ properties:
example: nyc3

droplet:
$ref: '../../droplets/models/droplet.yml'
anyOf:
- title: 'null'
type: object
nullable: true
description: If the reserved IP is not assigned to a Droplet, the
value will be null.
- $ref: '../../droplets/models/droplet.yml'
example: null


Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ properties:
format: date-time
example: '2020-01-01T00:00:00Z'
droplet:
$ref: '../../droplets/models/droplet.yml'
anyOf:
- title: 'null'
type: object
nullable: true
description: If the reserved IP is not assigned to a Droplet, the
value will be null.
- $ref: '../../droplets/models/droplet.yml'
example: null
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ reserved_ipv6_reserved:
ip: 2409:40d0:f7:1017:74b4:3a96:105e:4c6e
region_slug: nyc3
reserved_at: 2024-11-20T11:08:30Z
droplet: null

reserved_ipv6_assigned:
summary: Assigned to Droplet
Expand Down

0 comments on commit 02493ab

Please sign in to comment.