Skip to content

Commit

Permalink
Add missing SRV dnsRecord properties
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
robotblake committed Jan 31, 2022
1 parent c17c06a commit c0ecab4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions go/models/dns_record.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2642,6 +2642,12 @@ definitions:
priority:
type: integer
format: int64
weight:
type: integer
format: int64
port:
type: integer
format: int64
dns_zone_id:
type: string
site_id:
Expand Down Expand Up @@ -3031,7 +3037,7 @@ definitions:
name:
type: string
cron:
type: string
type: string
parameters:
page:
type: integer
Expand Down

0 comments on commit c0ecab4

Please sign in to comment.