Skip to content

Commit

Permalink
fix swagger model validation
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwzho committed Nov 16, 2023
1 parent e94094b commit 4a35b74
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14597,7 +14597,7 @@
"description": "The name of the application accelerator.",
"required": true,
"type": "string",
"pattern": "^[a-z][a-z0-9]*$",
"pattern": "^[a-z][a-z0-9-]*[a-z0-9]$",
"x-ms-parameter-location": "method"
},
"CustomizedAcceleratorNameParameter": {
Expand All @@ -14606,7 +14606,7 @@
"description": "The name of the customized accelerator.",
"required": true,
"type": "string",
"pattern": "^[a-z][a-z0-9]*$",
"pattern": "^[a-z][a-z0-9-]*[a-z0-9]$",
"x-ms-parameter-location": "method"
},
"PredefinedAcceleratorNameParameter": {
Expand All @@ -14615,7 +14615,7 @@
"description": "The name of the predefined accelerator.",
"required": true,
"type": "string",
"pattern": "^[a-z][a-z0-9]*$",
"pattern": "^[a-z][a-z0-9-]*[a-z0-9]$",
"x-ms-parameter-location": "method"
}
},
Expand Down

0 comments on commit 4a35b74

Please sign in to comment.