Skip to content

Commit ecea1f9

Browse files
OAS Update
1 parent 7c9b66d commit ecea1f9

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

services/sqlserverflex/v3alpha1/sqlserverflex.json

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@
280280
"type": {
281281
"description": "Describes in which state the api was when the error happened.",
282282
"example": "INTERNAL_ERROR",
283-
"type": "string",
284-
"x-go-custom-tag": "validate:\"required,errorType\""
283+
"type": "string"
285284
}
286285
},
287286
"required": [
@@ -428,9 +427,6 @@
428427
},
429428
"GetInstanceResponse": {
430429
"properties": {
431-
"acl": {
432-
"$ref": "#/components/schemas/acl"
433-
},
434430
"backupSchedule": {
435431
"$ref": "#/components/schemas/backup.schedule"
436432
},
@@ -472,7 +468,6 @@
472468
}
473469
},
474470
"required": [
475-
"acl",
476471
"backupSchedule",
477472
"flavorId",
478473
"id",
@@ -1001,31 +996,6 @@
1001996
},
1002997
"type": "array"
1003998
},
1004-
"acl.deprecated": {
1005-
"deprecated": true,
1006-
"description": "List of IPV4 cidr.",
1007-
"example": [
1008-
"198.51.100.0/24"
1009-
],
1010-
"items": {
1011-
"description": "A IPV4 cidr.",
1012-
"example": "198.51.100.0/24",
1013-
"type": "string"
1014-
},
1015-
"type": "array"
1016-
},
1017-
"acl.opt": {
1018-
"description": "List of IPV4 cidr.",
1019-
"example": [
1020-
"198.51.100.0/24"
1021-
],
1022-
"items": {
1023-
"description": "A IPV4 cidr.",
1024-
"example": "198.51.100.0/24",
1025-
"type": "string"
1026-
},
1027-
"type": "array"
1028-
},
1029999
"backup.completionTime": {
10301000
"description": "The time when the backup was completed in RFC3339 format.",
10311001
"example": "2023-12-14T23:25:03Z",
@@ -1156,9 +1126,6 @@
11561126
},
11571127
"createInstanceRequestPayload": {
11581128
"properties": {
1159-
"acl": {
1160-
"$ref": "#/components/schemas/acl.deprecated"
1161-
},
11621129
"backupSchedule": {
11631130
"$ref": "#/components/schemas/backup.schedule"
11641131
},
@@ -1176,11 +1143,17 @@
11761143
"properties": {
11771144
"accessScope": {
11781145
"$ref": "#/components/schemas/instance.network.accessScope"
1146+
},
1147+
"acl": {
1148+
"$ref": "#/components/schemas/acl"
11791149
}
11801150
},
1151+
"required": [
1152+
"acl"
1153+
],
11811154
"type": "object",
11821155
"x-oapi-codegen-extra-tags": {
1183-
"validate": "omitempty"
1156+
"validate": "required"
11841157
}
11851158
},
11861159
"retentionDays": {
@@ -1194,13 +1167,13 @@
11941167
}
11951168
},
11961169
"required": [
1197-
"acl",
11981170
"backupSchedule",
11991171
"flavorId",
12001172
"name",
12011173
"storage",
12021174
"version",
1203-
"retentionDays"
1175+
"retentionDays",
1176+
"network"
12041177
],
12051178
"type": "object"
12061179
},
@@ -1721,9 +1694,6 @@
17211694
},
17221695
"updateInstancePartiallyRequestPayload": {
17231696
"properties": {
1724-
"acl": {
1725-
"$ref": "#/components/schemas/acl.opt"
1726-
},
17271697
"backupSchedule": {
17281698
"$ref": "#/components/schemas/backup.schedule.opt"
17291699
},
@@ -1733,6 +1703,21 @@
17331703
"name": {
17341704
"$ref": "#/components/schemas/instance.name.opt"
17351705
},
1706+
"network": {
1707+
"description": "the network configuration of the instance.",
1708+
"properties": {
1709+
"accessScope": {
1710+
"$ref": "#/components/schemas/instance.network.accessScope"
1711+
},
1712+
"acl": {
1713+
"$ref": "#/components/schemas/acl"
1714+
}
1715+
},
1716+
"type": "object",
1717+
"x-oapi-codegen-extra-tags": {
1718+
"validate": "omitempty"
1719+
}
1720+
},
17361721
"replicas": {
17371722
"$ref": "#/components/schemas/replicas.opt"
17381723
},
@@ -1750,9 +1735,6 @@
17501735
},
17511736
"updateInstanceRequestPayload": {
17521737
"properties": {
1753-
"acl": {
1754-
"$ref": "#/components/schemas/acl"
1755-
},
17561738
"backupSchedule": {
17571739
"$ref": "#/components/schemas/backup.schedule"
17581740
},
@@ -1762,6 +1744,24 @@
17621744
"name": {
17631745
"$ref": "#/components/schemas/instance.name"
17641746
},
1747+
"network": {
1748+
"description": "the network configuration of the instance.",
1749+
"properties": {
1750+
"accessScope": {
1751+
"$ref": "#/components/schemas/instance.network.accessScope"
1752+
},
1753+
"acl": {
1754+
"$ref": "#/components/schemas/acl"
1755+
}
1756+
},
1757+
"required": [
1758+
"acl"
1759+
],
1760+
"type": "object",
1761+
"x-oapi-codegen-extra-tags": {
1762+
"validate": "required"
1763+
}
1764+
},
17651765
"replicas": {
17661766
"$ref": "#/components/schemas/replicas"
17671767
},
@@ -1776,14 +1776,14 @@
17761776
}
17771777
},
17781778
"required": [
1779-
"acl",
17801779
"backupSchedule",
17811780
"flavorId",
17821781
"name",
17831782
"replicas",
17841783
"storage",
17851784
"version",
1786-
"retentionDays"
1785+
"retentionDays",
1786+
"network"
17871787
],
17881788
"type": "object"
17891789
},

0 commit comments

Comments
 (0)