diff --git a/.js/branch.txt b/.js/branch.txt new file mode 100644 index 000000000000..fefd10714d72 --- /dev/null +++ b/.js/branch.txt @@ -0,0 +1 @@ +origin/wanl/generate-mlc-in-pipeline diff --git a/specification/translation/Azure.AI.DocumentTranslation/main.tsp b/specification/translation/Azure.AI.DocumentTranslation/main.tsp index 69f26a7df913..84d72d4fa9ea 100644 --- a/specification/translation/Azure.AI.DocumentTranslation/main.tsp +++ b/specification/translation/Azure.AI.DocumentTranslation/main.tsp @@ -10,7 +10,7 @@ using TypeSpec.Versioning; using Azure.Core; @service({ - title: "Azure.AI.DocumentTranslation", + title: "Azure.AI.DocumentTranslation for testing", }) @versioned(DocumentTranslation.Versions) @useAuth( diff --git a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml b/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml index f673994872f2..3c0e0abb185b 100644 --- a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml +++ b/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml @@ -40,8 +40,10 @@ options: generate-sample-project: false "@azure-tools/typespec-ts": package-dir: "ai-translation-document-rest" - generateMetadata: false - generateTest: false + generateMetadata: true + generateSample: true + generateTest: true + azureSdkForJs: true packageDetails: name: "@azure-rest/ai-translation-document" description: "Microsoft Translation Document" diff --git a/specification/translation/Azure.AI.TextTranslation/main.tsp b/specification/translation/Azure.AI.TextTranslation/main.tsp index 80a0f963b586..56006fc8a306 100644 --- a/specification/translation/Azure.AI.TextTranslation/main.tsp +++ b/specification/translation/Azure.AI.TextTranslation/main.tsp @@ -9,7 +9,7 @@ using Azure.Core; using TypeSpec.Versioning; @service({ - title: "Text Translation", + title: "Text Translation for testing", }) @server( "{Endpoint}", diff --git a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml index 0b3630b065d7..ec67b0958e0d 100644 --- a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml +++ b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml @@ -37,8 +37,10 @@ options: flavor: azure "@azure-tools/typespec-ts": package-dir: "ai-translation-text-rest" - generateMetadata: false - generateTest: false + generateMetadata: true + generateSample: true + generateTest: true + azureSdkForJs: true packageDetails: name: "@azure-rest/ai-translation-text" description: "Microsoft Translation Text" diff --git a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/openapi.json b/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/openapi.json index a24e8fa059f0..657d33a1eb90 100644 --- a/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/openapi.json +++ b/specification/translation/data-plane/Azure.AI.DocumentTranslation/stable/2024-05-01/openapi.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Azure.AI.DocumentTranslation", + "title": "Azure.AI.DocumentTranslation for testing", "version": "2024-05-01", "description": "Document translation service", "x-typespec-generated": [ diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json b/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json index d2b9652b31e6..7fac834e67d0 100644 --- a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json +++ b/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Text Translation", + "title": "Text Translation for testing", "version": "3.0", "description": "Text translation is a cloud-based REST API feature of the Translator service that uses neural\nmachine translation technology to enable quick and accurate source-to-target text translation\nin real time across all supported languages.\n\nThe following methods are supported by the Text Translation feature:\n\nLanguages. Returns a list of languages supported by Translate, Transliterate, and Dictionary Lookup operations.\n\nTranslate. Renders single source-language text to multiple target-language texts with a single request.\n\nTransliterate. Converts characters or letters of a source language to the corresponding characters or letters of a target language.\n\nDetect. Returns the source code language code and a boolean variable denoting whether the detected language is supported for text translation and transliteration.\n\nDictionary lookup. Returns equivalent words for the source term in the target language.\n\nDictionary example Returns grammatical structure and context examples for the source term and target term pair.", "x-typespec-generated": [ diff --git a/specification/verifiedid/Microsoft.VerifiedId.Management/main.tsp b/specification/verifiedid/Microsoft.VerifiedId.Management/main.tsp index 95d515689465..ba3eb3f17786 100644 --- a/specification/verifiedid/Microsoft.VerifiedId.Management/main.tsp +++ b/specification/verifiedid/Microsoft.VerifiedId.Management/main.tsp @@ -12,7 +12,7 @@ using Azure.ResourceManager; @armProviderNamespace("Microsoft.VerifiedId") @service({ - title: "VerifiedIdMgmtClient", + title: "VerifiedIdMgmtClient for testing", }) @versioned(Microsoft.VerifiedId.Versions) @doc("VerifiedId Resource Provider management API.") diff --git a/specification/verifiedid/resource-manager/Microsoft.VerifiedId/preview/2024-01-26-preview/verifiedid.json b/specification/verifiedid/resource-manager/Microsoft.VerifiedId/preview/2024-01-26-preview/verifiedid.json index b87b4bc7ecab..edd8356e6ae6 100644 --- a/specification/verifiedid/resource-manager/Microsoft.VerifiedId/preview/2024-01-26-preview/verifiedid.json +++ b/specification/verifiedid/resource-manager/Microsoft.VerifiedId/preview/2024-01-26-preview/verifiedid.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "VerifiedIdMgmtClient", + "title": "VerifiedIdMgmtClient for testing", "version": "2024-01-26-preview", "description": "VerifiedId Resource Provider management API.", "x-typespec-generated": [ diff --git a/specification/vmware/Microsoft.AVS.Management/main.tsp b/specification/vmware/Microsoft.AVS.Management/main.tsp index ef633b4e88ed..d5648fb20387 100644 --- a/specification/vmware/Microsoft.AVS.Management/main.tsp +++ b/specification/vmware/Microsoft.AVS.Management/main.tsp @@ -9,7 +9,7 @@ using TypeSpec.Versioning; #suppress "@azure-tools/typespec-azure-core/casing-style" "Can not change existing name." @armProviderNamespace("Microsoft.AVS") @service({ - title: "Azure VMware Solution API", + title: "Azure VMware Solution API for testing", }) @doc("Azure VMware Solution API") @versioned(Versions) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 4ff2783afb3d..0eca568b6c55 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Azure VMware Solution API", + "title": "Azure VMware Solution API for testing", "version": "2023-09-01", "description": "Azure VMware Solution API", "x-typespec-generated": [ diff --git a/specification/voiceservices/VoiceServices.Provisioning/main.tsp b/specification/voiceservices/VoiceServices.Provisioning/main.tsp index efc60718c9a6..683d9590b2d7 100644 --- a/specification/voiceservices/VoiceServices.Provisioning/main.tsp +++ b/specification/voiceservices/VoiceServices.Provisioning/main.tsp @@ -12,7 +12,7 @@ using Azure.Core; using Azure.Core.Traits; @service({ - title: "Microsoft.VoiceServices.Provisioning", + title: "Microsoft.VoiceServices.Provisioning for testing", }) @useAuth( [ diff --git a/specification/voiceservices/data-plane/Microsoft.VoiceServices/preview/2024-02-29-preview/swagger.json b/specification/voiceservices/data-plane/Microsoft.VoiceServices/preview/2024-02-29-preview/swagger.json index 25cd2ef5dae0..b788f29aea72 100644 --- a/specification/voiceservices/data-plane/Microsoft.VoiceServices/preview/2024-02-29-preview/swagger.json +++ b/specification/voiceservices/data-plane/Microsoft.VoiceServices/preview/2024-02-29-preview/swagger.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.VoiceServices.Provisioning", + "title": "Microsoft.VoiceServices.Provisioning for testing", "version": "2024-02-29-preview", "x-typespec-generated": [ { diff --git a/specification/workloads/Workloads.Operations.Management/main.tsp b/specification/workloads/Workloads.Operations.Management/main.tsp index 65861de28054..8c9dd826c321 100644 --- a/specification/workloads/Workloads.Operations.Management/main.tsp +++ b/specification/workloads/Workloads.Operations.Management/main.tsp @@ -12,7 +12,7 @@ using TypeSpec.Versioning; */ @armProviderNamespace @service({ - title: "Workloads Client", + title: "Workloads Client for testing", }) @versioned(Versions) namespace Microsoft.Workloads; diff --git a/specification/workloads/Workloads.SAPDiscoverySite.Management/main.tsp b/specification/workloads/Workloads.SAPDiscoverySite.Management/main.tsp index 16cb9f0468b4..26e847a5ab07 100644 --- a/specification/workloads/Workloads.SAPDiscoverySite.Management/main.tsp +++ b/specification/workloads/Workloads.SAPDiscoverySite.Management/main.tsp @@ -19,7 +19,7 @@ using TypeSpec.Versioning; #suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "Operations Swagger is common for all RTs and is created as a separate file having it's own folder." @armProviderNamespace @service({ - title: "Workloads Client", + title: "Workloads Client for testing", }) @versioned(Versions) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) diff --git a/specification/workloads/Workloads.SAPMonitor.Management/main.tsp b/specification/workloads/Workloads.SAPMonitor.Management/main.tsp index 90a06e505cc2..15a4810b8f52 100644 --- a/specification/workloads/Workloads.SAPMonitor.Management/main.tsp +++ b/specification/workloads/Workloads.SAPMonitor.Management/main.tsp @@ -16,7 +16,7 @@ using TypeSpec.Versioning; #suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "Operations Swagger is common for all RTs and is created as a separate file having it's own folder." @armProviderNamespace @service({ - title: "Workloads Client", + title: "Workloads Client for testing", }) @versioned(Versions) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/SAPDiscoverySites.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/SAPDiscoverySites.json index 1774bbafa200..a03921369c5d 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/SAPDiscoverySites.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPDiscoverySites/preview/2023-10-01-preview/SAPDiscoverySites.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Workloads Client", + "title": "Workloads Client for testing", "version": "2023-10-01-preview", "description": "SAP Migration client provides access to various operations for SAP Migration.", "x-typespec-generated": [ diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/monitors/preview/2023-12-01-preview/monitors.json b/specification/workloads/resource-manager/Microsoft.Workloads/monitors/preview/2023-12-01-preview/monitors.json index 927ac4174174..b42e523779c8 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/monitors/preview/2023-12-01-preview/monitors.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/monitors/preview/2023-12-01-preview/monitors.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Workloads Client", + "title": "Workloads Client for testing", "version": "2023-12-01-preview", "description": "The workload SAP monitor Client.", "x-typespec-generated": [ diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-10-01-preview/operations.json b/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-10-01-preview/operations.json index e23694864aa0..41f485544d2a 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-10-01-preview/operations.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-10-01-preview/operations.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Workloads Client", + "title": "Workloads Client for testing", "version": "2023-10-01-preview", "description": "Workloads client provides access to various workload operations.", "x-typespec-generated": [ diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-12-01-preview/operations.json b/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-12-01-preview/operations.json index 1942de6d4ad4..1fc4629d8846 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-12-01-preview/operations.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/operations/preview/2023-12-01-preview/operations.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Workloads Client", + "title": "Workloads Client for testing", "version": "2023-12-01-preview", "description": "Workloads client provides access to various workload operations.", "x-typespec-generated": [ diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index b623d3513ea6..6fe32e4ff81c 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -4,7 +4,8 @@ "sdkRepositoryMappings": { "azure-sdk-for-go": { "integrationRepository": "azure-sdk/azure-sdk-for-go", - "mainRepository": "Azure/azure-sdk-for-go", + "mainRepository": "Alancere/azure-sdk-for-go", + "mainBranch": "fix_generator_tool_0807", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-java": { @@ -14,7 +15,8 @@ }, "azure-sdk-for-js": { "integrationRepository": "azure-sdk/azure-sdk-for-js", - "mainRepository": "Azure/azure-sdk-for-js" + "mainRepository": "test-repo-billy/azure-sdk-for-js", + "mainBranch": "test_repo_breaking_change_mlc" }, "azure-sdk-for-net": { "integrationRepository": "azure-sdk/azure-sdk-for-net", @@ -27,7 +29,8 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "Azure/azure-sdk-for-python", + "mainBranch": "pipeline-optimize-for-multi-input" }, "azure-resource-manager-schemas": { "integrationRepository": "azure-sdk/azure-resource-manager-schemas",