From f277fbaab4500d6c17be55b6afce9fd990af2929 Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Fri, 12 May 2023 15:26:54 -0700 Subject: [PATCH 1/2] Update for Azure.AI.TextTranslation --- .../translation/Azure.AI.TextTranslation/tspconfig.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml index d203f332194b..d05b3b5c3c0a 100644 --- a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml +++ b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml @@ -13,10 +13,10 @@ emit: - "@azure-tools/typespec-autorest" options: "@azure-tools/typespec-autorest": - azure-resource-provider-folder: "../data-plane/Azure.AI.TextTranslation" + azure-resource-provider-folder: "data-plane" emitter-output-dir: "{project-root}/.." examples-directory: "./examples" - output-file: openapi.json + output-file: "{azure-resource-provider-folder}/Azure.AI.TextTranslation/stable/v3.0/openapi.json" "@azure-tools/typespec-csharp": clear-output-folder: true emitter-output-dir: "{csharp-sdk-folder}/sdk/{service-directory-name}/{namespace}/src" From d0639cce6c0e3ddb928c77debb53cbd06d5353da Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Fri, 12 May 2023 18:12:48 -0700 Subject: [PATCH 2/2] Update tspconfig Co-authored-by: Mike Harder --- .../translation/Azure.AI.TextTranslation/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml index d05b3b5c3c0a..b02fa0e8a44c 100644 --- a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml +++ b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml @@ -13,7 +13,7 @@ emit: - "@azure-tools/typespec-autorest" options: "@azure-tools/typespec-autorest": - azure-resource-provider-folder: "data-plane" + azure-resource-provider-folder: "./data-plane" emitter-output-dir: "{project-root}/.." examples-directory: "./examples" output-file: "{azure-resource-provider-folder}/Azure.AI.TextTranslation/stable/v3.0/openapi.json"