Skip to content

Commit

Permalink
Wwendyc playwrighttesting microsoft.azure playwright service 2023 10 …
Browse files Browse the repository at this point in the history
…01 preview (#25888)

* Updated readme.md for openapi subtype

* Updated swagger spec to remove required for read-only property

* Adding optional to dashboard Uri
  • Loading branch information
mjmadhu authored Sep 21, 2023
1 parent b66b574 commit 2107412
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"Team": "Dev Exp"
},
"properties": {
"regionalAffinity": "Enabled",
"dashboardUri": "https://dashboard.00000000-0000-0000-0000-000000000000.domain.com"
"regionalAffinity": "Enabled"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ model Account is TrackedResource<AccountProperties> {
model AccountProperties {
@visibility("read")
@doc("The Playwright testing dashboard URI for the account resource.")
dashboardUri: url;
dashboardUri?: url;

@doc("This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created.")
regionalAffinity?: EnablementStatus = EnablementStatus.Enabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"Team": "Dev Exp"
},
"properties": {
"regionalAffinity": "Enabled",
"dashboardUri": "https://dashboard.00000000-0000-0000-0000-000000000000.domain.com"
"regionalAffinity": "Enabled"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -593,10 +593,7 @@
"description": "The status of the last operation.",
"readOnly": true
}
},
"required": [
"dashboardUri"
]
}
},
"AccountUpdate": {
"type": "object",
Expand Down

0 comments on commit 2107412

Please sign in to comment.