From 46ca83821edd120552403d4d11cf1dd22360c0b5 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Thu, 5 Oct 2023 16:41:00 -0700 Subject: [PATCH] remove package-mode as flag from specs (#26102) --- specification/codesigning/CodeSigning/tspconfig.yaml | 1 - specification/cognitiveservices/ContentSafety/tspconfig.yaml | 1 - .../HealthInsights.OncoPhenotype/tspconfig.yaml | 5 +---- .../HealthInsights.TrialMatcher/tspconfig.yaml | 5 +---- .../Contoso.WidgetManager/tspconfig.yaml | 3 +-- .../eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml | 1 - 6 files changed, 3 insertions(+), 13 deletions(-) diff --git a/specification/codesigning/CodeSigning/tspconfig.yaml b/specification/codesigning/CodeSigning/tspconfig.yaml index f945e56e7d86..9c9521757e51 100644 --- a/specification/codesigning/CodeSigning/tspconfig.yaml +++ b/specification/codesigning/CodeSigning/tspconfig.yaml @@ -14,7 +14,6 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/azure.codesigning.json" "@azure-tools/typespec-python": package-dir: "azure-codesigning" - package-mode: "dataplane" package-name: "{package-dir}" "@azure-tools/typespec-csharp": clear-output-folder: true diff --git a/specification/cognitiveservices/ContentSafety/tspconfig.yaml b/specification/cognitiveservices/ContentSafety/tspconfig.yaml index fa542d7b36c9..a4f6eecd3d69 100644 --- a/specification/cognitiveservices/ContentSafety/tspconfig.yaml +++ b/specification/cognitiveservices/ContentSafety/tspconfig.yaml @@ -15,7 +15,6 @@ options: "@azure-tools/typespec-python": package-dir: "azure-ai-contentsafety" package-name: "{package-dir}" - package-mode: dataplane "@azure-tools/typespec-csharp": package-dir: "Azure.AI.ContentSafety" namespace: "{package-dir}" diff --git a/specification/cognitiveservices/HealthInsights/HealthInsights.OncoPhenotype/tspconfig.yaml b/specification/cognitiveservices/HealthInsights/HealthInsights.OncoPhenotype/tspconfig.yaml index 19b66dc629d3..e1df4402a136 100644 --- a/specification/cognitiveservices/HealthInsights/HealthInsights.OncoPhenotype/tspconfig.yaml +++ b/specification/cognitiveservices/HealthInsights/HealthInsights.OncoPhenotype/tspconfig.yaml @@ -13,10 +13,7 @@ options: clear-output-folder: true new-project: false model-namespace: false - "@azure-tools/cadl-python": - package-mode: "dataplane" - package-name: "azure-healthinsights-cancerprofiling" - "@azure-tools/cadl-typescript": + "@azure-tools/cadl-typescript": packageDetails: name: "@azure-rest/health-insights-cancerprofiling" description: "Azure Health Insights CancerProfiling" diff --git a/specification/cognitiveservices/HealthInsights/HealthInsights.TrialMatcher/tspconfig.yaml b/specification/cognitiveservices/HealthInsights/HealthInsights.TrialMatcher/tspconfig.yaml index 8a65d4ddb150..b75525ca55f2 100644 --- a/specification/cognitiveservices/HealthInsights/HealthInsights.TrialMatcher/tspconfig.yaml +++ b/specification/cognitiveservices/HealthInsights/HealthInsights.TrialMatcher/tspconfig.yaml @@ -13,10 +13,7 @@ options: clear-output-folder: true new-project: false model-namespace: false - "@azure-tools/cadl-python": - package-mode: "dataplane" - package-name: "azure-healthinsights-clinicalmatching" - "@azure-tools/cadl-typescript": + "@azure-tools/cadl-typescript": packageDetails: name: "@azure-rest/health-insights-clinicalmatching" description: "Azure Health Insights ClinicalMatching" diff --git a/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml b/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml index 65c35522ba61..1bebabfe006b 100644 --- a/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml +++ b/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml @@ -1,4 +1,4 @@ -parameters: +parameters: "service-dir": default: "sdk/contosowidgetmanager" "dependencies": @@ -18,7 +18,6 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/widgets.json" "@azure-tools/typespec-python": package-dir: "azure-contoso-widgetmanager" - package-mode: "dataplane" package-name: "{package-dir}" "@azure-tools/typespec-csharp": package-dir: "Azure.Template.Contoso" diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml index 36744acb77b9..bab006bf60cd 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml @@ -18,7 +18,6 @@ options: omit-unreachable-types: true "@azure-tools/typespec-python": package-pprint-name: "\"Azure Event Grid\"" - package-mode: "dataplane" package-version: 4.12.0b1 package-dir: "azure-eventgrid" package-name: "{package-dir}"