|
177 | 177 | "minimum": 60, |
178 | 178 | "type": "integer" |
179 | 179 | }, |
| 180 | + "extensions": { |
| 181 | + "allOf": [ |
| 182 | + { |
| 183 | + "$ref": "#/components/schemas/zone.Extensions" |
| 184 | + } |
| 185 | + ], |
| 186 | + "description": "optional extensions", |
| 187 | + "type": "object" |
| 188 | + }, |
180 | 189 | "isReverseZone": { |
181 | 190 | "default": false, |
182 | 191 | "description": "if the zone is a reverse zone or not", |
|
199 | 208 | "primaries": { |
200 | 209 | "description": "primary name server for secondary zone", |
201 | 210 | "example": [ |
202 | | - "1.2.3.4" |
| 211 | + "192.0.2.1" |
203 | 212 | ], |
204 | 213 | "items": { |
205 | 214 | "type": "string" |
|
603 | 612 | "minimum": 60, |
604 | 613 | "type": "integer" |
605 | 614 | }, |
| 615 | + "extensions": { |
| 616 | + "allOf": [ |
| 617 | + { |
| 618 | + "$ref": "#/components/schemas/zone.Extensions" |
| 619 | + } |
| 620 | + ], |
| 621 | + "description": "optional extensions", |
| 622 | + "type": "object" |
| 623 | + }, |
606 | 624 | "name": { |
607 | 625 | "description": "user given name", |
608 | 626 | "example": "test", |
|
646 | 664 | "properties": { |
647 | 665 | "content": { |
648 | 666 | "description": "content of the record", |
649 | | - "example": "1.2.3.4", |
| 667 | + "example": "192.0.2.1", |
650 | 668 | "maxLength": 64000, |
651 | 669 | "minLength": 1, |
652 | 670 | "type": "string" |
|
672 | 690 | }, |
673 | 691 | "content": { |
674 | 692 | "example": [ |
675 | | - "1.2.3.4" |
| 693 | + "192.0.2.1" |
676 | 694 | ], |
677 | 695 | "items": { |
678 | 696 | "type": "string" |
|
699 | 717 | "properties": { |
700 | 718 | "content": { |
701 | 719 | "description": "content of the record", |
702 | | - "example": "1.2.3.4", |
| 720 | + "example": "192.0.2.1", |
703 | 721 | "maxLength": 64000, |
704 | 722 | "minLength": 1, |
705 | 723 | "type": "string" |
|
920 | 938 | "minimum": 60, |
921 | 939 | "type": "integer" |
922 | 940 | }, |
| 941 | + "extensions": { |
| 942 | + "$ref": "#/components/schemas/domain.Extensions" |
| 943 | + }, |
923 | 944 | "id": { |
924 | 945 | "description": "zone id", |
925 | 946 | "example": "37403b63-86ce-41e9-9b0b-1d8c5b3b2b96", |
|
953 | 974 | "primaries": { |
954 | 975 | "description": "primary name server for secondary zone", |
955 | 976 | "example": [ |
956 | | - "1.2.3.4" |
| 977 | + "192.0.2.1" |
957 | 978 | ], |
958 | 979 | "items": { |
959 | 980 | "type": "string" |
|
1084 | 1105 | ], |
1085 | 1106 | "type": "object" |
1086 | 1107 | }, |
| 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 | + }, |
1087 | 1152 | "zone_models.ImportRecordModel": { |
1088 | 1153 | "properties": { |
1089 | 1154 | "comment": { |
|
1092 | 1157 | }, |
1093 | 1158 | "content": { |
1094 | 1159 | "example": [ |
1095 | | - "1.2.3.4" |
| 1160 | + "192.0.2.1" |
1096 | 1161 | ], |
1097 | 1162 | "items": { |
1098 | 1163 | "type": "string" |
|
2777 | 2842 | }, |
2778 | 2843 | "description": "Bad Request" |
2779 | 2844 | }, |
| 2845 | + "409": { |
| 2846 | + "content": { |
| 2847 | + "application/json": { |
| 2848 | + "schema": { |
| 2849 | + "$ref": "#/components/schemas/Message" |
| 2850 | + } |
| 2851 | + } |
| 2852 | + }, |
| 2853 | + "description": "Conflict" |
| 2854 | + }, |
2780 | 2855 | "502": { |
2781 | 2856 | "content": { |
2782 | 2857 | "application/json": { |
|
0 commit comments