Skip to content

Commit 942e305

Browse files
OAS Update
1 parent 31b8992 commit 942e305

File tree

1 file changed

+19
-38
lines changed

1 file changed

+19
-38
lines changed

services/vpn/v1alpha1/vpn.json

Lines changed: 19 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -298,18 +298,10 @@
298298
"type": "array"
299299
},
300300
"tunnel1": {
301-
"allOf": [
302-
{
303-
"$ref": "#/components/schemas/TunnelConfiguration"
304-
}
305-
]
301+
"$ref": "#/components/schemas/TunnelConfiguration"
306302
},
307303
"tunnel2": {
308-
"allOf": [
309-
{
310-
"$ref": "#/components/schemas/TunnelConfiguration"
311-
}
312-
]
304+
"$ref": "#/components/schemas/TunnelConfiguration"
313305
}
314306
},
315307
"required": [
@@ -392,18 +384,10 @@
392384
"type": "array"
393385
},
394386
"tunnel1": {
395-
"allOf": [
396-
{
397-
"$ref": "#/components/schemas/TunnelConfiguration"
398-
}
399-
]
387+
"$ref": "#/components/schemas/TunnelConfiguration"
400388
},
401389
"tunnel2": {
402-
"allOf": [
403-
{
404-
"$ref": "#/components/schemas/TunnelConfiguration"
405-
}
406-
]
390+
"$ref": "#/components/schemas/TunnelConfiguration"
407391
}
408392
},
409393
"required": [
@@ -527,17 +511,22 @@
527511
"type": "object"
528512
},
529513
"GatewayResponse": {
530-
"properties": {
531-
"allOf": {
514+
"allOf": [
515+
{
532516
"$ref": "#/components/schemas/Gateway"
533517
},
534-
"region": {
535-
"$ref": "#/components/schemas/Region"
536-
},
537-
"state": {
538-
"$ref": "#/components/schemas/GatewayStatus"
518+
{
519+
"properties": {
520+
"region": {
521+
"$ref": "#/components/schemas/Region"
522+
},
523+
"state": {
524+
"$ref": "#/components/schemas/GatewayStatus"
525+
}
526+
},
527+
"type": "object"
539528
}
540-
}
529+
]
541530
},
542531
"GatewayStatus": {
543532
"description": "Describes the status of the surrounding infrastructure.",
@@ -1033,18 +1022,10 @@
10331022
"type": "array"
10341023
},
10351024
"tunnel1": {
1036-
"allOf": [
1037-
{
1038-
"$ref": "#/components/schemas/TunnelConfiguration"
1039-
}
1040-
]
1025+
"$ref": "#/components/schemas/TunnelConfiguration"
10411026
},
10421027
"tunnel2": {
1043-
"allOf": [
1044-
{
1045-
"$ref": "#/components/schemas/TunnelConfiguration"
1046-
}
1047-
]
1028+
"$ref": "#/components/schemas/TunnelConfiguration"
10481029
}
10491030
},
10501031
"required": [

0 commit comments

Comments
 (0)