Skip to content

Commit 3fc1363

Browse files
OAS Update
1 parent f385f3b commit 3fc1363

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

services/vpn/v1/vpn.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -973,11 +973,13 @@
973973
"NetworkConfig": {
974974
"properties": {
975975
"predefinedNetworkPrefix": {
976+
"allOf": [
977+
{
978+
"$ref": "#/components/schemas/IPv4CIDR"
979+
}
980+
],
976981
"description": "The IPv4 network prefix (CIDR notation) allocated for the VPN gateway. Must have a prefix length of /28 or larger.\nOnce the gateway is created, is not possible to change this attribute.\n",
977-
"example": "10.0.0.0/28",
978-
"items": {
979-
"$ref": "#/components/schemas/IPv4CIDR"
980-
}
982+
"example": "10.0.0.0/28"
981983
},
982984
"routingTableId": {
983985
"description": "Custom routing table ID for the VPN gateway",

services/vpn/v1alpha1/vpn.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,11 +663,13 @@
663663
"NetworkConfig": {
664664
"properties": {
665665
"predefinedNetworkPrefix": {
666+
"allOf": [
667+
{
668+
"$ref": "#/components/schemas/IPv4CIDR"
669+
}
670+
],
666671
"description": "The IPv4 network prefix (CIDR notation) allocated for the VPN gateway. Must have a prefix length of /28 or larger.\nOnce the gateway is created, is not possible to change this attribute.\n",
667-
"example": "10.0.0.0/28",
668-
"items": {
669-
"$ref": "#/components/schemas/IPv4CIDR"
670-
}
672+
"example": "10.0.0.0/28"
671673
},
672674
"routingTableId": {
673675
"description": "Custom routing table ID for the VPN gateway",

services/vpn/v1beta1/vpn.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,11 +663,13 @@
663663
"NetworkConfig": {
664664
"properties": {
665665
"predefinedNetworkPrefix": {
666+
"allOf": [
667+
{
668+
"$ref": "#/components/schemas/IPv4CIDR"
669+
}
670+
],
666671
"description": "The IPv4 network prefix (CIDR notation) allocated for the VPN gateway. Must have a prefix length of /28 or larger.\nOnce the gateway is created, is not possible to change this attribute.\n",
667-
"example": "10.0.0.0/28",
668-
"items": {
669-
"$ref": "#/components/schemas/IPv4CIDR"
670-
}
672+
"example": "10.0.0.0/28"
671673
},
672674
"routingTableId": {
673675
"description": "Custom routing table ID for the VPN gateway",

0 commit comments

Comments
 (0)