Skip to content

Commit df1ec28

Browse files
authored
fix AVS 2020-03-20 correctness errors for empty body and internet default (#11486)
* backport empty body and internet default fixes * leave flatten on
1 parent bff6f9c commit df1ec28

File tree

1 file changed

+7
-4
lines changed
  • specification/vmware/resource-manager/Microsoft.AVS/stable/2020-03-20

1 file changed

+7
-4
lines changed

specification/vmware/resource-manager/Microsoft.AVS/stable/2020-03-20/vmware.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@
914914
"in": "body",
915915
"required": true,
916916
"schema": {
917-
"type": "object"
917+
"$ref": "#/definitions/HcxEnterpriseSite"
918918
}
919919
},
920920
{
@@ -1110,7 +1110,7 @@
11101110
"in": "body",
11111111
"required": true,
11121112
"schema": {
1113-
"type": "object"
1113+
"$ref": "#/definitions/ExpressRouteAuthorization"
11141114
}
11151115
},
11161116
{
@@ -1515,7 +1515,8 @@
15151515
"properties": {
15161516
"description": "The properties of an ExpressRoute Circuit Authorization resource",
15171517
"$ref": "#/definitions/ExpressRouteAuthorizationProperties",
1518-
"x-ms-client-flatten": true
1518+
"x-ms-client-flatten": true,
1519+
"readOnly": true
15191520
}
15201521
}
15211522
},
@@ -1720,6 +1721,7 @@
17201721
"Enabled",
17211722
"Disabled"
17221723
],
1724+
"default": "Disabled",
17231725
"x-ms-enum": {
17241726
"name": "InternetEnum",
17251727
"modelAsString": true
@@ -2022,7 +2024,8 @@
20222024
"properties": {
20232025
"description": "The properties of an HCX Enterprise Site resource",
20242026
"$ref": "#/definitions/HcxEnterpriseSiteProperties",
2025-
"x-ms-client-flatten": true
2027+
"x-ms-client-flatten": true,
2028+
"readOnly": true
20262029
}
20272030
}
20282031
},

0 commit comments

Comments
 (0)