From a09821b39e2a55a8a64019f5c5d6cb52c0b2bc04 Mon Sep 17 00:00:00 2001 From: Wei Hu Date: Fri, 11 Oct 2024 16:29:32 +0800 Subject: [PATCH 1/7] Bump version of MGC --- eng/Packages.Data.props | 2 +- .../test/Common/InputFactory.cs | 3 +- .../BasicTypeSpecClient.RestClient.cs | 122 +- .../src/Generated/BasicTypeSpecClient.cs | 588 +++--- .../Generated/BasicTypeSpecClientOptions.cs | 2 +- .../Generated/BasicTypeSpecModelFactory.cs | 106 +- .../Internal/ClientPipelineExtensions.cs | 36 +- .../Generated/Internal/ClientUriBuilder.cs | 14 +- .../src/Generated/Internal/ErrorResult.cs | 8 +- .../Internal/ModelSerializationExtensions.cs | 62 +- .../src/Generated/Internal/Optional.cs | 4 +- .../src/Generated/Internal/TypeFormatters.cs | 2 +- .../AnonymousBodyRequest.Serialization.cs | 342 ---- .../Generated/Models/AnonymousBodyRequest.cs | 129 -- ...questOptionalLiteralFloat.Serialization.cs | 15 - ...nonymousBodyRequestOptionalLiteralFloat.cs | 58 - ...RequestOptionalLiteralInt.Serialization.cs | 15 - .../AnonymousBodyRequestOptionalLiteralInt.cs | 58 - ...onymousBodyRequestOptionalLiteralString.cs | 61 - ...questRequiredLiteralFloat.Serialization.cs | 15 - ...nonymousBodyRequestRequiredLiteralFloat.cs | 58 - ...RequestRequiredLiteralInt.Serialization.cs | 15 - .../AnonymousBodyRequestRequiredLiteralInt.cs | 58 - ...onymousBodyRequestRequiredLiteralString.cs | 61 - .../Generated/Models/FloatExtensibleEnum.cs | 2 +- .../Models/FloatExtensibleEnumWithIntValue.cs | 2 +- .../src/Generated/Models/FloatFixedEnum.cs | 2 +- .../Models/FloatFixedEnumWithIntValue.cs | 2 +- .../Generated/Models/Friend.Serialization.cs | 64 +- .../src/Generated/Models/Friend.cs | 8 +- .../FriendlyModelRequest.Serialization.cs | 147 -- .../Generated/Models/FriendlyModelRequest.cs | 33 - .../src/Generated/Models/IntExtensibleEnum.cs | 2 +- .../src/Generated/Models/IntFixedEnum.cs | 2 +- ...equiredNullableProperties.Serialization.cs | 70 +- .../ModelWithRequiredNullableProperties.cs | 18 +- .../Models/ProjectedModel.Serialization.cs | 64 +- .../src/Generated/Models/ProjectedModel.cs | 8 +- ...ProjectedNameModelRequest.Serialization.cs | 147 -- .../Models/ProjectedNameModelRequest.cs | 33 - ...rnsAnonymousModelResponse.Serialization.cs | 64 +- .../Models/ReturnsAnonymousModelResponse.cs | 4 +- .../Models/RoundTripModel.Serialization.cs | 174 +- .../src/Generated/Models/RoundTripModel.cs | 120 +- .../Generated/Models/StringExtensibleEnum.cs | 2 +- .../src/Generated/Models/StringFixedEnum.cs | 2 +- .../Generated/Models/Thing.Serialization.cs | 88 +- .../src/Generated/Models/Thing.cs | 48 +- .../Local/Basic-TypeSpec/tspCodeModel.json | 1571 +++++------------ .../http-client-csharp/package-lock.json | 181 +- eng/packages/http-client-csharp/package.json | 2 +- 51 files changed, 1401 insertions(+), 3293 deletions(-) delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequest.Serialization.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequest.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestOptionalLiteralFloat.Serialization.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestOptionalLiteralFloat.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestOptionalLiteralInt.Serialization.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestOptionalLiteralInt.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestOptionalLiteralString.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestRequiredLiteralFloat.Serialization.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestRequiredLiteralFloat.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestRequiredLiteralInt.Serialization.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestRequiredLiteralInt.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/AnonymousBodyRequestRequiredLiteralString.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/FriendlyModelRequest.Serialization.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/FriendlyModelRequest.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/ProjectedNameModelRequest.Serialization.cs delete mode 100644 eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/src/Generated/Models/ProjectedNameModelRequest.cs diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 271bbce4e36ca..b0fbdd1809a9f 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -243,7 +243,7 @@ - +