Skip to content

Commit e0bf807

Browse files
OAS Update
1 parent 3d8ec3d commit e0bf807

File tree

1 file changed

+81
-6
lines changed

1 file changed

+81
-6
lines changed

services/dns/v1/dns.json

Lines changed: 81 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,15 @@
177177
"minimum": 60,
178178
"type": "integer"
179179
},
180+
"extensions": {
181+
"allOf": [
182+
{
183+
"$ref": "#/components/schemas/zone.Extensions"
184+
}
185+
],
186+
"description": "optional extensions",
187+
"type": "object"
188+
},
180189
"isReverseZone": {
181190
"default": false,
182191
"description": "if the zone is a reverse zone or not",
@@ -199,7 +208,7 @@
199208
"primaries": {
200209
"description": "primary name server for secondary zone",
201210
"example": [
202-
"1.2.3.4"
211+
"192.0.2.1"
203212
],
204213
"items": {
205214
"type": "string"
@@ -603,6 +612,15 @@
603612
"minimum": 60,
604613
"type": "integer"
605614
},
615+
"extensions": {
616+
"allOf": [
617+
{
618+
"$ref": "#/components/schemas/zone.Extensions"
619+
}
620+
],
621+
"description": "optional extensions",
622+
"type": "object"
623+
},
606624
"name": {
607625
"description": "user given name",
608626
"example": "test",
@@ -646,7 +664,7 @@
646664
"properties": {
647665
"content": {
648666
"description": "content of the record",
649-
"example": "1.2.3.4",
667+
"example": "192.0.2.1",
650668
"maxLength": 64000,
651669
"minLength": 1,
652670
"type": "string"
@@ -672,7 +690,7 @@
672690
},
673691
"content": {
674692
"example": [
675-
"1.2.3.4"
693+
"192.0.2.1"
676694
],
677695
"items": {
678696
"type": "string"
@@ -699,7 +717,7 @@
699717
"properties": {
700718
"content": {
701719
"description": "content of the record",
702-
"example": "1.2.3.4",
720+
"example": "192.0.2.1",
703721
"maxLength": 64000,
704722
"minLength": 1,
705723
"type": "string"
@@ -920,6 +938,9 @@
920938
"minimum": 60,
921939
"type": "integer"
922940
},
941+
"extensions": {
942+
"$ref": "#/components/schemas/domain.Extensions"
943+
},
923944
"id": {
924945
"description": "zone id",
925946
"example": "37403b63-86ce-41e9-9b0b-1d8c5b3b2b96",
@@ -953,7 +974,7 @@
953974
"primaries": {
954975
"description": "primary name server for secondary zone",
955976
"example": [
956-
"1.2.3.4"
977+
"192.0.2.1"
957978
],
958979
"items": {
959980
"type": "string"
@@ -1084,6 +1105,50 @@
10841105
],
10851106
"type": "object"
10861107
},
1108+
"domain.Extensions": {
1109+
"properties": {
1110+
"observabilityExtension": {
1111+
"$ref": "#/components/schemas/domain.ObservabilityExtension"
1112+
}
1113+
},
1114+
"type": "object"
1115+
},
1116+
"domain.ObservabilityExtension": {
1117+
"properties": {
1118+
"observabilityInstanceId": {
1119+
"type": "string"
1120+
},
1121+
"state": {
1122+
"type": "string"
1123+
}
1124+
},
1125+
"required": [
1126+
"observabilityInstanceId"
1127+
],
1128+
"type": "object"
1129+
},
1130+
"zone.Extensions": {
1131+
"properties": {
1132+
"observabilityExtension": {
1133+
"$ref": "#/components/schemas/zone.ObservabilityExtension"
1134+
}
1135+
},
1136+
"type": "object"
1137+
},
1138+
"zone.ObservabilityExtension": {
1139+
"properties": {
1140+
"observabilityInstanceId": {
1141+
"type": "string"
1142+
},
1143+
"state": {
1144+
"type": "string"
1145+
}
1146+
},
1147+
"required": [
1148+
"observabilityInstanceId"
1149+
],
1150+
"type": "object"
1151+
},
10871152
"zone_models.ImportRecordModel": {
10881153
"properties": {
10891154
"comment": {
@@ -1092,7 +1157,7 @@
10921157
},
10931158
"content": {
10941159
"example": [
1095-
"1.2.3.4"
1160+
"192.0.2.1"
10961161
],
10971162
"items": {
10981163
"type": "string"
@@ -2777,6 +2842,16 @@
27772842
},
27782843
"description": "Bad Request"
27792844
},
2845+
"409": {
2846+
"content": {
2847+
"application/json": {
2848+
"schema": {
2849+
"$ref": "#/components/schemas/Message"
2850+
}
2851+
}
2852+
},
2853+
"description": "Conflict"
2854+
},
27802855
"502": {
27812856
"content": {
27822857
"application/json": {

0 commit comments

Comments
 (0)