From 19b85be63cd6971755f581b432f4c3d6a5bac84d Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:48:35 -0400 Subject: [PATCH] Update AutoRest C# version to 3.0.0-beta.20240625.3 (#44724) * Update Generator Version 3.0.0-beta.20240625.3 * Update SDK codes co_de_1 --- eng/Packages.Data.props | 2 +- eng/emitter-package-lock.json | 16 ++++---- eng/emitter-package.json | 2 +- .../src/Generated/tspCodeModel.json | 40 ++++++++----------- 4 files changed, 26 insertions(+), 34 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 61aac0234bd3..8663ed1e628e 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -222,7 +222,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 7624dd3f59a1..306f1fa2aa7d 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240625.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240625.3" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.43.0", @@ -21,9 +21,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20240625.2", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240625.2.tgz", - "integrity": "sha512-QdR97YkHE+rC89xqP4OeDCMwzw5naLDlPDS7NiAS5otWiPrLFBA+5JGlaY2s5yRwGCLTq1B6cjGgxYv3/64cwg==" + "version": "3.0.0-beta.20240625.3", + "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240625.3.tgz", + "integrity": "sha512-jbmsuIP0ZJuBB0+lD7uF3x9sKn6Ws8s1PvtUqf1a2bFY0V4neobJK7buyCqUstTMKG8UzMr7993d/fx2P2cheQ==" }, "node_modules/@azure-tools/typespec-autorest": { "version": "0.43.0", @@ -115,11 +115,11 @@ } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20240625.2", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240625.2.tgz", - "integrity": "sha512-nTvcBZc42NThuIckWySuTIDXdBbr2CM5+im5Y0QhrsMWbLAyCGzMa9dpsk2acxwXnXuzS9Emql6PA8QRgrCiGQ==", + "version": "0.2.0-beta.20240625.3", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240625.3.tgz", + "integrity": "sha512-RfPSbUV84sGCbJ9EqHwTiMtVzZFxO0ORGYz+mu/l8aMGPPMqtp/H7U5v6QN3USYC8vXB+XKQ9Nho7B83RcZ/fQ==", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20240625.2", + "@autorest/csharp": "3.0.0-beta.20240625.3", "json-serialize-refs": "0.1.0-0" }, "peerDependencies": { diff --git a/eng/emitter-package.json b/eng/emitter-package.json index 41d747d2eded..8b29834618a8 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,7 +1,7 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240625.2" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240625.3" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.43.0", diff --git a/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json b/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json index 8dcd67e8d322..ea8711f0835c 100644 --- a/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json +++ b/sdk/communication/Azure.Communication.Messages/src/Generated/tspCodeModel.json @@ -276,9 +276,8 @@ "Description": "The native external platform user identifiers of the recipient.", "Type": { "$id": "42", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$id": "43", "Kind": "string" } @@ -315,9 +314,8 @@ "Description": "Receipts of the send message operation.", "Type": { "$id": "47", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$id": "48", "Kind": "Model", "Name": "MessageReceipt", @@ -375,9 +373,8 @@ "Description": "The MessageTemplateItem items on this page", "Type": { "$id": "55", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$id": "56", "Kind": "Model", "Name": "MessageTemplateItem", @@ -576,9 +573,8 @@ "Description": "The template values.", "Type": { "$id": "81", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$id": "82", "Kind": "Model", "Name": "MessageTemplateValue", @@ -959,9 +955,8 @@ "Description": "The header template bindings", "Type": { "$id": "129", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$id": "130", "Kind": "Model", "Name": "WhatsAppMessageTemplateBindingsComponent", @@ -994,9 +989,8 @@ "Description": "The body template bindings", "Type": { "$id": "134", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$ref": "130" } }, @@ -1010,9 +1004,8 @@ "Description": "The footer template bindings", "Type": { "$id": "136", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$ref": "130" } }, @@ -1026,9 +1019,8 @@ "Description": "The button template bindings", "Type": { "$id": "138", - "Kind": "Array", - "Name": "Array", - "ElementType": { + "Kind": "array", + "ValueType": { "$id": "139", "Kind": "Model", "Name": "WhatsAppMessageTemplateBindingsButton",