Skip to content

Commit b7f58c1

Browse files
committed
Remove 'type' from Domain Record Update
1 parent 18a8e97 commit b7f58c1

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

openapi.yaml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6306,7 +6306,27 @@ paths:
63066306
content:
63076307
application/json:
63086308
schema:
6309-
$ref: '#/components/schemas/DomainRecord'
6309+
type: object
6310+
description: A Domain Record Update request object.
6311+
properties:
6312+
name:
6313+
$ref: '#/components/schemas/DomainRecord/properties/name'
6314+
target:
6315+
$ref: '#/components/schemas/DomainRecord/properties/target'
6316+
priority:
6317+
$ref: '#/components/schemas/DomainRecord/properties/priority'
6318+
weight:
6319+
$ref: '#/components/schemas/DomainRecord/properties/weight'
6320+
port:
6321+
$ref: '#/components/schemas/DomainRecord/properties/port'
6322+
service:
6323+
$ref: '#/components/schemas/DomainRecord/properties/service'
6324+
protocol:
6325+
$ref: '#/components/schemas/DomainRecord/properties/protocol'
6326+
ttl_sec:
6327+
$ref: '#/components/schemas/DomainRecord/properties/ttl_sec'
6328+
tag:
6329+
$ref: '#/components/schemas/DomainRecord/properties/tag'
63106330
responses:
63116331
'200':
63126332
description: Domain Record updated.
@@ -6322,7 +6342,6 @@ paths:
63226342
curl -H "Content-Type: application/json" \
63236343
-H "Authorization: Bearer $TOKEN" \
63246344
-X PUT -d '{
6325-
"type": "A",
63266345
"name": "test",
63276346
"target": "203.0.113.1",
63286347
"priority": 50,
@@ -6337,7 +6356,6 @@ paths:
63376356
- lang: CLI
63386357
source: >
63396358
linode-cli domains records-update 123 234 \
6340-
--type A \
63416359
--name test \
63426360
--target 203.0.113.1 \
63436361
--priority 50 \

0 commit comments

Comments
 (0)