From 91fad07b9d7480cf1f49e387bd6be627c1aec0b5 Mon Sep 17 00:00:00 2001 From: parthmiglani-microsoft Date: Fri, 24 Jan 2025 00:29:19 +0530 Subject: [PATCH] Changed datamap endpoint from string to url (#32276) * changed datamap edndpoint * regenerated file --------- Co-authored-by: Krista Pratico --- .../purview/Azure.Analytics.Purview.DataMap/main.tsp | 2 +- .../stable/2023-09-01/purviewdatamap.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/purview/Azure.Analytics.Purview.DataMap/main.tsp b/specification/purview/Azure.Analytics.Purview.DataMap/main.tsp index bec1c82a4957..bb3c4c1f430f 100644 --- a/specification/purview/Azure.Analytics.Purview.DataMap/main.tsp +++ b/specification/purview/Azure.Analytics.Purview.DataMap/main.tsp @@ -13,7 +13,7 @@ using TypeSpec.Versioning; "{endpoint}/datamap/api", "Purview Data Map Service is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Map helps organizations get more value from their existing investments.", { - endpoint: string, + endpoint: url, } ) @doc(""" diff --git a/specification/purview/data-plane/Azure.Analytics.Purview.DataMap/stable/2023-09-01/purviewdatamap.json b/specification/purview/data-plane/Azure.Analytics.Purview.DataMap/stable/2023-09-01/purviewdatamap.json index 4acce1bf0f2f..bdfe79cbe686 100644 --- a/specification/purview/data-plane/Azure.Analytics.Purview.DataMap/stable/2023-09-01/purviewdatamap.json +++ b/specification/purview/data-plane/Azure.Analytics.Purview.DataMap/stable/2023-09-01/purviewdatamap.json @@ -21,7 +21,9 @@ "name": "endpoint", "in": "path", "required": true, - "type": "string" + "type": "string", + "format": "uri", + "x-ms-skip-url-encoding": true } ] },