From a4967ee1399c446ca6fbdc6ece2005f52921874f Mon Sep 17 00:00:00 2001 From: MJ <71822730+mjmadhu@users.noreply.github.com> Date: Thu, 21 Sep 2023 05:35:04 +0530 Subject: [PATCH] Wwendyc playwrighttesting microsoft.azure playwright service 2023 10 01 preview (#25888) * Updated readme.md for openapi subtype * Updated swagger spec to remove required for read-only property * Adding optional to dashboard Uri --- .../examples/Accounts_CreateOrUpdate.json | 3 +-- .../playwrighttesting/PlaywrightTesting.Management/main.tsp | 2 +- .../2023-10-01-preview/examples/Accounts_CreateOrUpdate.json | 3 +-- .../preview/2023-10-01-preview/playwrighttesting.json | 5 +---- 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/examples/Accounts_CreateOrUpdate.json b/specification/playwrighttesting/PlaywrightTesting.Management/examples/Accounts_CreateOrUpdate.json index 09dc9fafe450..d6a0cc6f066f 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/examples/Accounts_CreateOrUpdate.json +++ b/specification/playwrighttesting/PlaywrightTesting.Management/examples/Accounts_CreateOrUpdate.json @@ -12,8 +12,7 @@ "Team": "Dev Exp" }, "properties": { - "regionalAffinity": "Enabled", - "dashboardUri": "https://dashboard.00000000-0000-0000-0000-000000000000.domain.com" + "regionalAffinity": "Enabled" } } }, diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp b/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp index 97a12fc5a393..3eb3ce51e3cb 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp +++ b/specification/playwrighttesting/PlaywrightTesting.Management/main.tsp @@ -38,7 +38,7 @@ model Account is TrackedResource { 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; diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_CreateOrUpdate.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_CreateOrUpdate.json index 09dc9fafe450..d6a0cc6f066f 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_CreateOrUpdate.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/examples/Accounts_CreateOrUpdate.json @@ -12,8 +12,7 @@ "Team": "Dev Exp" }, "properties": { - "regionalAffinity": "Enabled", - "dashboardUri": "https://dashboard.00000000-0000-0000-0000-000000000000.domain.com" + "regionalAffinity": "Enabled" } } }, diff --git a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/playwrighttesting.json b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/playwrighttesting.json index c1636315669f..273331e44acf 100644 --- a/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/playwrighttesting.json +++ b/specification/playwrighttesting/resource-manager/Microsoft.AzurePlaywrightService/preview/2023-10-01-preview/playwrighttesting.json @@ -593,10 +593,7 @@ "description": "The status of the last operation.", "readOnly": true } - }, - "required": [ - "dashboardUri" - ] + } }, "AccountUpdate": { "type": "object",