From 0236b68002f8c45524663a1e16b842ea0192ccf7 Mon Sep 17 00:00:00 2001 From: v-xuto Date: Tue, 19 Aug 2025 14:05:59 +0800 Subject: [PATCH 1/3] Refactor translation folder structure to comply with Azure Guidelines --- .../DocumentTranslation}/client.tsp | 0 .../2023-11-01-preview/DocumentTranslate_MaximumSet_Gen.json | 0 .../examples/2024-05-01/DocumentTranslate_MaximumSet_Gen.json | 0 .../DocumentTranslation}/examples/2024-05-01/batch.json | 0 .../DocumentTranslation}/examples/2024-05-01/cancel.json | 0 .../DocumentTranslation}/examples/2024-05-01/document.json | 0 .../DocumentTranslation}/examples/2024-05-01/documents.json | 0 .../DocumentTranslation}/examples/2024-05-01/format.json | 0 .../DocumentTranslation}/examples/2024-05-01/operation.json | 0 .../DocumentTranslation}/examples/2024-05-01/operations.json | 0 .../2024-11-01-preview/DocumentTranslate_MaximumSet_Gen.json | 0 .../examples/2024-11-01-preview/batch.json | 0 .../examples/2024-11-01-preview/cancel.json | 0 .../examples/2024-11-01-preview/document.json | 0 .../examples/2024-11-01-preview/documents.json | 0 .../examples/2024-11-01-preview/format.json | 0 .../examples/2024-11-01-preview/operation.json | 0 .../examples/2024-11-01-preview/operations.json | 0 .../DocumentTranslation}/main.tsp | 0 .../DocumentTranslation}/models.tsp | 0 .../examples/DocumentTranslate_MaximumSet_Gen.json | 0 .../preview/2023-11-01-preview/openapi.json | 0 .../examples/DocumentTranslate_MaximumSet_Gen.json | 0 .../preview/2024-11-01-preview/examples/batch.json | 0 .../preview/2024-11-01-preview/examples/cancel.json | 0 .../preview/2024-11-01-preview/examples/document.json | 0 .../preview/2024-11-01-preview/examples/documents.json | 0 .../preview/2024-11-01-preview/examples/format.json | 0 .../preview/2024-11-01-preview/examples/operation.json | 0 .../preview/2024-11-01-preview/examples/operations.json | 0 .../preview/2024-11-01-preview/openapi.json | 0 .../readme.md | 0 .../DocumentTranslation}/routes.tsp | 0 .../2024-05-01/examples/DocumentTranslate_MaximumSet_Gen.json | 0 .../stable/2024-05-01/examples/batch.json | 0 .../stable/2024-05-01/examples/cancel.json | 0 .../stable/2024-05-01/examples/document.json | 0 .../stable/2024-05-01/examples/documents.json | 0 .../stable/2024-05-01/examples/format.json | 0 .../stable/2024-05-01/examples/operation.json | 0 .../stable/2024-05-01/examples/operations.json | 0 .../stable/2024-05-01/openapi.json | 0 .../data-plane/DocumentTranslation/suppressions.yaml | 3 +++ .../DocumentTranslation}/tspconfig.yaml | 4 ++-- .../TextTranslation}/client.tsp | 0 .../examples/3.0/FindSentenceBoundaries_MaximumSet_Gen.json | 0 .../examples/3.0/FindSentenceBoundaries_MinimumSet_Gen.json | 0 .../examples/3.0/GetSupportedLanguages_MaximumSet_Gen.json | 0 .../examples/3.0/GetSupportedLanguages_MinimumSet_Gen.json | 0 .../examples/3.0/LookupDictionaryEntries_MaximumSet_Gen.json | 0 .../examples/3.0/LookupDictionaryEntries_MinimumSet_Gen.json | 0 .../examples/3.0/LookupDictionaryExamples_MaximumSet_Gen.json | 0 .../examples/3.0/LookupDictionaryExamples_MinimumSet_Gen.json | 0 .../examples/3.0/Translate_MaximumSet_Gen.json | 0 .../examples/3.0/Translate_MinimumSet_Gen.json | 0 .../examples/3.0/Transliterate_MaximumSet_Gen.json | 0 .../examples/3.0/Transliterate_MinimumSet_Gen.json | 0 .../TextTranslation}/main.tsp | 0 .../TextTranslation}/models-breaksentence.tsp | 0 .../TextTranslation}/models-dictionary.tsp | 0 .../TextTranslation}/models-languages.tsp | 0 .../TextTranslation}/models-shared.tsp | 0 .../TextTranslation}/models-translate.tsp | 0 .../TextTranslation}/models-transliterate.tsp | 0 .../{Azure.AI.TextTranslation => TextTranslation}/readme.md | 0 .../TextTranslation}/routes.tsp | 0 .../v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json | 0 .../v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json | 0 .../v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json | 0 .../v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json | 0 .../v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json | 0 .../v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json | 0 .../examples/LookupDictionaryExamples_MaximumSet_Gen.json | 0 .../examples/LookupDictionaryExamples_MinimumSet_Gen.json | 0 .../stable/v3.0/examples/Translate_MaximumSet_Gen.json | 0 .../stable/v3.0/examples/Translate_MinimumSet_Gen.json | 0 .../stable/v3.0/examples/Transliterate_MaximumSet_Gen.json | 0 .../stable/v3.0/examples/Transliterate_MinimumSet_Gen.json | 0 .../stable/v3.0/openapi.json | 0 .../TextTranslation}/tspconfig.yaml | 4 ++-- 80 files changed, 7 insertions(+), 4 deletions(-) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/client.tsp (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2023-11-01-preview/DocumentTranslate_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/DocumentTranslate_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/batch.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/cancel.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/document.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/documents.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/format.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/operation.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-05-01/operations.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/DocumentTranslate_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/batch.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/cancel.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/document.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/documents.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/format.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/operation.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/examples/2024-11-01-preview/operations.json (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/main.tsp (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/models.tsp (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2023-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2023-11-01-preview/openapi.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/batch.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/cancel.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/document.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/documents.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/format.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/operation.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/examples/operations.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/preview/2024-11-01-preview/openapi.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/readme.md (100%) rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/routes.tsp (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/DocumentTranslate_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/batch.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/cancel.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/document.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/documents.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/format.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/operation.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/examples/operations.json (100%) rename specification/translation/data-plane/{Azure.AI.DocumentTranslation => DocumentTranslation}/stable/2024-05-01/openapi.json (100%) create mode 100644 specification/translation/data-plane/DocumentTranslation/suppressions.yaml rename specification/translation/{Azure.AI.DocumentTranslation => data-plane/DocumentTranslation}/tspconfig.yaml (90%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/client.tsp (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/FindSentenceBoundaries_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/FindSentenceBoundaries_MinimumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/GetSupportedLanguages_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/GetSupportedLanguages_MinimumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/LookupDictionaryEntries_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/LookupDictionaryEntries_MinimumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/LookupDictionaryExamples_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/LookupDictionaryExamples_MinimumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/Translate_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/Translate_MinimumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/Transliterate_MaximumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/examples/3.0/Transliterate_MinimumSet_Gen.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/main.tsp (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/models-breaksentence.tsp (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/models-dictionary.tsp (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/models-languages.tsp (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/models-shared.tsp (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/models-translate.tsp (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/models-transliterate.tsp (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/readme.md (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/routes.tsp (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/Translate_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/Translate_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/Transliterate_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/examples/Transliterate_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/{Azure.AI.TextTranslation => TextTranslation}/stable/v3.0/openapi.json (100%) rename specification/translation/{Azure.AI.TextTranslation => data-plane/TextTranslation}/tspconfig.yaml (91%) diff --git a/specification/translation/Azure.AI.DocumentTranslation/client.tsp b/specification/translation/data-plane/DocumentTranslation/client.tsp similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/client.tsp rename to specification/translation/data-plane/DocumentTranslation/client.tsp diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2023-11-01-preview/DocumentTranslate_MaximumSet_Gen.json b/specification/translation/data-plane/DocumentTranslation/examples/2023-11-01-preview/DocumentTranslate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2023-11-01-preview/DocumentTranslate_MaximumSet_Gen.json rename to specification/translation/data-plane/DocumentTranslation/examples/2023-11-01-preview/DocumentTranslate_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/DocumentTranslate_MaximumSet_Gen.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/DocumentTranslate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/DocumentTranslate_MaximumSet_Gen.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/DocumentTranslate_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/batch.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/batch.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/batch.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/batch.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/cancel.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/cancel.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/cancel.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/cancel.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/document.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/document.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/document.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/document.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/documents.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/documents.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/documents.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/documents.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/format.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/format.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/format.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/format.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/operation.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/operation.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/operation.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/operation.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/operations.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/operations.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-05-01/operations.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-05-01/operations.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/DocumentTranslate_MaximumSet_Gen.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/DocumentTranslate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/DocumentTranslate_MaximumSet_Gen.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/DocumentTranslate_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/batch.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/batch.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/batch.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/batch.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/cancel.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/cancel.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/cancel.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/cancel.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/document.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/document.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/document.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/document.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/documents.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/documents.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/documents.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/documents.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/format.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/format.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/format.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/format.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/operation.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/operation.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/operation.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/operation.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/operations.json b/specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/operations.json similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/examples/2024-11-01-preview/operations.json rename to specification/translation/data-plane/DocumentTranslation/examples/2024-11-01-preview/operations.json diff --git a/specification/translation/Azure.AI.DocumentTranslation/main.tsp b/specification/translation/data-plane/DocumentTranslation/main.tsp similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/main.tsp rename to specification/translation/data-plane/DocumentTranslation/main.tsp diff --git a/specification/translation/Azure.AI.DocumentTranslation/models.tsp b/specification/translation/data-plane/DocumentTranslation/models.tsp similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/models.tsp rename to specification/translation/data-plane/DocumentTranslation/models.tsp diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2023-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json b/specification/translation/data-plane/DocumentTranslation/preview/2023-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2023-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json rename to specification/translation/data-plane/DocumentTranslation/preview/2023-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2023-11-01-preview/openapi.json b/specification/translation/data-plane/DocumentTranslation/preview/2023-11-01-preview/openapi.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2023-11-01-preview/openapi.json rename to specification/translation/data-plane/DocumentTranslation/preview/2023-11-01-preview/openapi.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/DocumentTranslate_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/batch.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/batch.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/batch.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/batch.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/cancel.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/cancel.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/cancel.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/cancel.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/document.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/document.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/document.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/document.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/documents.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/documents.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/documents.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/documents.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/format.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/format.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/format.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/format.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/operation.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/operation.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/operation.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/operation.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/operations.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/operations.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/examples/operations.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/examples/operations.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/openapi.json b/specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/openapi.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/preview/2024-11-01-preview/openapi.json rename to specification/translation/data-plane/DocumentTranslation/preview/2024-11-01-preview/openapi.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/readme.md b/specification/translation/data-plane/DocumentTranslation/readme.md similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/readme.md rename to specification/translation/data-plane/DocumentTranslation/readme.md diff --git a/specification/translation/Azure.AI.DocumentTranslation/routes.tsp b/specification/translation/data-plane/DocumentTranslation/routes.tsp similarity index 100% rename from specification/translation/Azure.AI.DocumentTranslation/routes.tsp rename to specification/translation/data-plane/DocumentTranslation/routes.tsp diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/DocumentTranslate_MaximumSet_Gen.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/DocumentTranslate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/DocumentTranslate_MaximumSet_Gen.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/DocumentTranslate_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/batch.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/batch.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/batch.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/batch.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/cancel.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/cancel.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/cancel.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/cancel.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/document.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/document.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/document.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/document.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/documents.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/documents.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/documents.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/documents.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/format.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/format.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/format.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/format.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/operation.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/operation.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/operation.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/operation.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/operations.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/operations.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/examples/operations.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/examples/operations.json diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/openapi.json b/specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/openapi.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/openapi.json rename to specification/translation/data-plane/DocumentTranslation/stable/2024-05-01/openapi.json diff --git a/specification/translation/data-plane/DocumentTranslation/suppressions.yaml b/specification/translation/data-plane/DocumentTranslation/suppressions.yaml new file mode 100644 index 000000000000..6e9c84a09258 --- /dev/null +++ b/specification/translation/data-plane/DocumentTranslation/suppressions.yaml @@ -0,0 +1,3 @@ +- tool: TypeSpecRequirement + path: ./preview/2023-11-01-preview/*.json + reason: Brownfield service not ready to migrate diff --git a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml b/specification/translation/data-plane/DocumentTranslation/tspconfig.yaml similarity index 90% rename from specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml rename to specification/translation/data-plane/DocumentTranslation/tspconfig.yaml index 5ae477aa9ec2..477ef632fc93 100644 --- a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml +++ b/specification/translation/data-plane/DocumentTranslation/tspconfig.yaml @@ -12,8 +12,8 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "data-plane" emit-lro-options: "all" - emitter-output-dir: "{project-root}/.." - output-file: "{azure-resource-provider-folder}/Azure.AI.DocumentTranslation/{version-status}/{version}/openapi.json" + emitter-output-dir: "{project-root}" + output-file: "{version-status}/{version}/openapi.json" "@azure-tools/typespec-csharp": flavor: azure package-dir: "Azure.AI.Translation.Document" diff --git a/specification/translation/Azure.AI.TextTranslation/client.tsp b/specification/translation/data-plane/TextTranslation/client.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/client.tsp rename to specification/translation/data-plane/TextTranslation/client.tsp diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/FindSentenceBoundaries_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/FindSentenceBoundaries_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/FindSentenceBoundaries_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/FindSentenceBoundaries_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/FindSentenceBoundaries_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/FindSentenceBoundaries_MinimumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/FindSentenceBoundaries_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/FindSentenceBoundaries_MinimumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/GetSupportedLanguages_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/GetSupportedLanguages_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/GetSupportedLanguages_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/GetSupportedLanguages_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/GetSupportedLanguages_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/GetSupportedLanguages_MinimumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/GetSupportedLanguages_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/GetSupportedLanguages_MinimumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryEntries_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryEntries_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryEntries_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryEntries_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryEntries_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryEntries_MinimumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryEntries_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryEntries_MinimumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryExamples_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryExamples_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryExamples_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryExamples_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryExamples_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryExamples_MinimumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/LookupDictionaryExamples_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/LookupDictionaryExamples_MinimumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/Translate_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/Translate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/Translate_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/Translate_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/Translate_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/Translate_MinimumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/Translate_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/Translate_MinimumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/Transliterate_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/Transliterate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/Transliterate_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/Transliterate_MaximumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/examples/3.0/Transliterate_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/examples/3.0/Transliterate_MinimumSet_Gen.json similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/examples/3.0/Transliterate_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/examples/3.0/Transliterate_MinimumSet_Gen.json diff --git a/specification/translation/Azure.AI.TextTranslation/main.tsp b/specification/translation/data-plane/TextTranslation/main.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/main.tsp rename to specification/translation/data-plane/TextTranslation/main.tsp diff --git a/specification/translation/Azure.AI.TextTranslation/models-breaksentence.tsp b/specification/translation/data-plane/TextTranslation/models-breaksentence.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/models-breaksentence.tsp rename to specification/translation/data-plane/TextTranslation/models-breaksentence.tsp diff --git a/specification/translation/Azure.AI.TextTranslation/models-dictionary.tsp b/specification/translation/data-plane/TextTranslation/models-dictionary.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/models-dictionary.tsp rename to specification/translation/data-plane/TextTranslation/models-dictionary.tsp diff --git a/specification/translation/Azure.AI.TextTranslation/models-languages.tsp b/specification/translation/data-plane/TextTranslation/models-languages.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/models-languages.tsp rename to specification/translation/data-plane/TextTranslation/models-languages.tsp diff --git a/specification/translation/Azure.AI.TextTranslation/models-shared.tsp b/specification/translation/data-plane/TextTranslation/models-shared.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/models-shared.tsp rename to specification/translation/data-plane/TextTranslation/models-shared.tsp diff --git a/specification/translation/Azure.AI.TextTranslation/models-translate.tsp b/specification/translation/data-plane/TextTranslation/models-translate.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/models-translate.tsp rename to specification/translation/data-plane/TextTranslation/models-translate.tsp diff --git a/specification/translation/Azure.AI.TextTranslation/models-transliterate.tsp b/specification/translation/data-plane/TextTranslation/models-transliterate.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/models-transliterate.tsp rename to specification/translation/data-plane/TextTranslation/models-transliterate.tsp diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/readme.md b/specification/translation/data-plane/TextTranslation/readme.md similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/readme.md rename to specification/translation/data-plane/TextTranslation/readme.md diff --git a/specification/translation/Azure.AI.TextTranslation/routes.tsp b/specification/translation/data-plane/TextTranslation/routes.tsp similarity index 100% rename from specification/translation/Azure.AI.TextTranslation/routes.tsp rename to specification/translation/data-plane/TextTranslation/routes.tsp diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Translate_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Translate_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Translate_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Translate_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Transliterate_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Transliterate_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Transliterate_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/examples/Transliterate_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json b/specification/translation/data-plane/TextTranslation/stable/v3.0/openapi.json similarity index 100% rename from specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json rename to specification/translation/data-plane/TextTranslation/stable/v3.0/openapi.json diff --git a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml b/specification/translation/data-plane/TextTranslation/tspconfig.yaml similarity index 91% rename from specification/translation/Azure.AI.TextTranslation/tspconfig.yaml rename to specification/translation/data-plane/TextTranslation/tspconfig.yaml index f7bdad021caa..52d1f53edd4e 100644 --- a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml +++ b/specification/translation/data-plane/TextTranslation/tspconfig.yaml @@ -14,8 +14,8 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - emitter-output-dir: "{project-root}/.." - output-file: "{azure-resource-provider-folder}/Azure.AI.TextTranslation/stable/v3.0/openapi.json" + emitter-output-dir: "{project-root}" + output-file: "{version-status}/{version}/openapi.json" "@azure-tools/typespec-csharp": package-dir: "Azure.AI.Translation.Text" clear-output-folder: true From 91d60c51d741fc4d59e7cc17703df35a8e5f7683 Mon Sep 17 00:00:00 2001 From: v-xuto Date: Tue, 19 Aug 2025 14:49:14 +0800 Subject: [PATCH 2/3] Update specification/suppressions.yaml --- specification/suppressions.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/suppressions.yaml b/specification/suppressions.yaml index 3a13c216eda2..deb35c198aa5 100644 --- a/specification/suppressions.yaml +++ b/specification/suppressions.yaml @@ -53,7 +53,7 @@ - servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json - sphere/resource-manager/Microsoft.AzureSphere/preview/2022-09-01-preview/azuresphere.json - splitio/resource-manager/SplitIO.Experimentation/preview/2024-03-01-preview/splitio.json - - translation/data-plane/Azure.AI.DocumentTranslation/preview/2023-11-01-preview/openapi.json + - translation/data-plane/DocumentTranslation/preview/2023-11-01-preview/openapi.json - tool: TypeSpecValidation reason: Suppress until we know the awsconnector folder uses these settings @@ -1094,7 +1094,7 @@ - options.@azure-tools/typespec-python.generate-sample - options.@azure-tools/typespec-python.generate-test paths: - - translation/Azure.AI.DocumentTranslation/tspconfig.yaml + - translation/data-plane/DocumentTranslation/tspconfig.yaml - tool: TypeSpecValidation reason: Suppress until spec can be updated @@ -1108,7 +1108,7 @@ - options.@azure-tools/typespec-go.service-dir - options.@azure-tools/typespec-java.namespace paths: - - translation/Azure.AI.TextTranslation/tspconfig.yaml + - translation/data-plane/TextTranslation/tspconfig.yaml - tool: TypeSpecValidation reason: Suppress until spec can be updated From 0d2abf03b12d19087f47d33419166f8cb85b4f23 Mon Sep 17 00:00:00 2001 From: v-xuto Date: Thu, 21 Aug 2025 11:16:59 +0800 Subject: [PATCH 3/3] Update stable/v3.0 => stable/3.0 --- .../examples/FindSentenceBoundaries_MaximumSet_Gen.json | 0 .../examples/FindSentenceBoundaries_MinimumSet_Gen.json | 0 .../examples/GetSupportedLanguages_MaximumSet_Gen.json | 0 .../examples/GetSupportedLanguages_MinimumSet_Gen.json | 0 .../examples/LookupDictionaryEntries_MaximumSet_Gen.json | 0 .../examples/LookupDictionaryEntries_MinimumSet_Gen.json | 0 .../examples/LookupDictionaryExamples_MaximumSet_Gen.json | 0 .../examples/LookupDictionaryExamples_MinimumSet_Gen.json | 0 .../stable/{v3.0 => 3.0}/examples/Translate_MaximumSet_Gen.json | 0 .../stable/{v3.0 => 3.0}/examples/Translate_MinimumSet_Gen.json | 0 .../{v3.0 => 3.0}/examples/Transliterate_MaximumSet_Gen.json | 0 .../{v3.0 => 3.0}/examples/Transliterate_MinimumSet_Gen.json | 0 .../data-plane/TextTranslation/stable/{v3.0 => 3.0}/openapi.json | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/FindSentenceBoundaries_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/FindSentenceBoundaries_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/GetSupportedLanguages_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/GetSupportedLanguages_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/LookupDictionaryEntries_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/LookupDictionaryEntries_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/LookupDictionaryExamples_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/LookupDictionaryExamples_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/Translate_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/Translate_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/Transliterate_MaximumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/examples/Transliterate_MinimumSet_Gen.json (100%) rename specification/translation/data-plane/TextTranslation/stable/{v3.0 => 3.0}/openapi.json (100%) diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/FindSentenceBoundaries_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/FindSentenceBoundaries_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/GetSupportedLanguages_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/GetSupportedLanguages_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryEntries_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryEntries_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryExamples_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/LookupDictionaryExamples_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/Translate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/Translate_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/Translate_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Translate_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/Translate_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MaximumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/Transliterate_MaximumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MaximumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/Transliterate_MaximumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MinimumSet_Gen.json b/specification/translation/data-plane/TextTranslation/stable/3.0/examples/Transliterate_MinimumSet_Gen.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/examples/Transliterate_MinimumSet_Gen.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/examples/Transliterate_MinimumSet_Gen.json diff --git a/specification/translation/data-plane/TextTranslation/stable/v3.0/openapi.json b/specification/translation/data-plane/TextTranslation/stable/3.0/openapi.json similarity index 100% rename from specification/translation/data-plane/TextTranslation/stable/v3.0/openapi.json rename to specification/translation/data-plane/TextTranslation/stable/3.0/openapi.json