Skip to content

Commit 4a35b74

Browse files
committed
fix swagger model validation
1 parent e94094b commit 4a35b74

File tree

1 file changed

+3
-3
lines changed
  • specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01

1 file changed

+3
-3
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2023-12-01/appplatform.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14597,7 +14597,7 @@
1459714597
"description": "The name of the application accelerator.",
1459814598
"required": true,
1459914599
"type": "string",
14600-
"pattern": "^[a-z][a-z0-9]*$",
14600+
"pattern": "^[a-z][a-z0-9-]*[a-z0-9]$",
1460114601
"x-ms-parameter-location": "method"
1460214602
},
1460314603
"CustomizedAcceleratorNameParameter": {
@@ -14606,7 +14606,7 @@
1460614606
"description": "The name of the customized accelerator.",
1460714607
"required": true,
1460814608
"type": "string",
14609-
"pattern": "^[a-z][a-z0-9]*$",
14609+
"pattern": "^[a-z][a-z0-9-]*[a-z0-9]$",
1461014610
"x-ms-parameter-location": "method"
1461114611
},
1461214612
"PredefinedAcceleratorNameParameter": {
@@ -14615,7 +14615,7 @@
1461514615
"description": "The name of the predefined accelerator.",
1461614616
"required": true,
1461714617
"type": "string",
14618-
"pattern": "^[a-z][a-z0-9]*$",
14618+
"pattern": "^[a-z][a-z0-9-]*[a-z0-9]$",
1461914619
"x-ms-parameter-location": "method"
1462014620
}
1462114621
},

0 commit comments

Comments
 (0)