Skip to content

Commit c0ecab4

Browse files
committed
Add missing SRV dnsRecord properties
SRV records contain a `weight` property and a `port` property. These properties are present in the `dnsRecordCreate` definition but not in the `dnsRecord` definition even though they are returned by the API.
1 parent c17c06a commit c0ecab4

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

go/models/dns_record.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swagger.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2642,6 +2642,12 @@ definitions:
26422642
priority:
26432643
type: integer
26442644
format: int64
2645+
weight:
2646+
type: integer
2647+
format: int64
2648+
port:
2649+
type: integer
2650+
format: int64
26452651
dns_zone_id:
26462652
type: string
26472653
site_id:
@@ -3031,7 +3037,7 @@ definitions:
30313037
name:
30323038
type: string
30333039
cron:
3034-
type: string
3040+
type: string
30353041
parameters:
30363042
page:
30373043
type: integer

0 commit comments

Comments
 (0)