Skip to content

Commit

Permalink
resolve flatten issue (#24797)
Browse files Browse the repository at this point in the history
* resolve flatten issue

* fix swagger regex
  • Loading branch information
yaotongms authored and jnlycklama committed Nov 8, 2023
1 parent 52f5259 commit 9e1e179
Showing 1 changed file with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the hybrid machine."
Expand Down Expand Up @@ -112,7 +112,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the hybrid machine."
Expand Down Expand Up @@ -168,7 +168,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the hybrid machine."
Expand Down Expand Up @@ -215,7 +215,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the hybrid machine."
Expand Down Expand Up @@ -488,7 +488,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the machine where the extension should be created or updated."
Expand Down Expand Up @@ -555,7 +555,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the machine where the extension should be created or updated."
Expand Down Expand Up @@ -637,7 +637,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the machine where the extension should be deleted."
Expand Down Expand Up @@ -710,7 +710,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the machine containing the extension."
Expand Down Expand Up @@ -766,7 +766,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the machine containing the extension."
Expand Down Expand Up @@ -831,7 +831,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the hybrid machine."
Expand Down Expand Up @@ -1065,7 +1065,7 @@
"in": "path",
"required": true,
"type": "string",
"pattern": "[a-zA-Z0-9-_\\.]",
"pattern": "^[a-zA-Z0-9-_\\.]{1,54}$",
"minLength": 1,
"maxLength": 54,
"description": "The name of the hybrid machine."
Expand Down Expand Up @@ -1712,7 +1712,6 @@
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/MachineExtensionProperties",
"description": "Describes Machine Extension Properties."
}
Expand Down

0 comments on commit 9e1e179

Please sign in to comment.