Skip to content

Commit 080badd

Browse files
committed
Add support for IPv6 in server detail info
Signed-off-by: Richard Kosegi <[email protected]>
1 parent 0281571 commit 080badd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

src/main/resources/api.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ components:
383383
properties:
384384
ipv4:
385385
$ref: '#/components/schemas/Ipv4Detail'
386+
ipv6:
387+
$ref: '#/components/schemas/Ipv6Detail'
386388
type: object
387389

388390
PublicNetRequest:
@@ -456,6 +458,30 @@ components:
456458
type: string
457459
type: object
458460

461+
Ipv6DnsPtr:
462+
properties:
463+
dns_ptr:
464+
description: DNS pointer for the specific IP address
465+
example: server.example.com
466+
type: string
467+
ip:
468+
description: Single IPv6 address
469+
example: 2001:db8::1
470+
type: string
471+
472+
Ipv6Detail:
473+
properties:
474+
dns_ptr:
475+
description: Reverse DNS PTR entries for the IPv6 addresses
476+
items:
477+
$ref: '#/components/schemas/Ipv6DnsPtr'
478+
type: array
479+
ip:
480+
description: Single IPv6 address
481+
example: 2001:db8::1
482+
type: string
483+
type: object
484+
459485
DatacenterDetail:
460486
allOf:
461487
- $ref: "#/components/schemas/IdentifiableResource"

0 commit comments

Comments
 (0)