Skip to content

Commit

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

0 comments on commit f3e4338

Please sign in to comment.