Skip to content

Commit 27449ef

Browse files
OAS Update
1 parent dab9f01 commit 27449ef

File tree

1 file changed

+44
-3
lines changed

1 file changed

+44
-3
lines changed

services/dns/v1/dns.json

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
"properties": {
286286
"rrSets": {
287287
"items": {
288-
"$ref": "#/components/schemas/RecordDataExchange"
288+
"$ref": "#/components/schemas/zone_models.ImportRecordModel"
289289
},
290290
"type": "array"
291291
}
@@ -1083,6 +1083,47 @@
10831083
"zone"
10841084
],
10851085
"type": "object"
1086+
},
1087+
"zone_models.ImportRecordModel": {
1088+
"properties": {
1089+
"comment": {
1090+
"example": "comment",
1091+
"type": "string"
1092+
},
1093+
"content": {
1094+
"example": [
1095+
"1.2.3.4"
1096+
],
1097+
"items": {
1098+
"type": "string"
1099+
},
1100+
"type": "array"
1101+
},
1102+
"name": {
1103+
"example": "example.com",
1104+
"type": "string"
1105+
},
1106+
"ttl": {
1107+
"example": 3600,
1108+
"type": "integer"
1109+
},
1110+
"type": {
1111+
"example": "A",
1112+
"type": "string"
1113+
}
1114+
},
1115+
"type": "object"
1116+
},
1117+
"zone_models.ImportZoneJson": {
1118+
"properties": {
1119+
"rrSets": {
1120+
"items": {
1121+
"$ref": "#/components/schemas/zone_models.ImportRecordModel"
1122+
},
1123+
"type": "array"
1124+
}
1125+
},
1126+
"type": "object"
10861127
}
10871128
}
10881129
},
@@ -2183,12 +2224,12 @@
21832224
},
21842225
"text/csv": {
21852226
"schema": {
2186-
"$ref": "#/components/schemas/ZoneDataExchange"
2227+
"$ref": "#/components/schemas/zone_models.ImportZoneJson"
21872228
}
21882229
},
21892230
"text/plain": {
21902231
"schema": {
2191-
"$ref": "#/components/schemas/ZoneDataExchange"
2232+
"$ref": "#/components/schemas/zone_models.ImportZoneJson"
21922233
}
21932234
}
21942235
},

0 commit comments

Comments
 (0)