Skip to content

Commit fdcaae7

Browse files
authored
Bump MTG for Management (Azure#50114)
* Bump MTG for Management * regen
1 parent 025493b commit fdcaae7

File tree

7 files changed

+809
-721
lines changed

7 files changed

+809
-721
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,6 @@
440440
<PropertyGroup>
441441
<TestProxyVersion>1.0.0-dev.20250501.1</TestProxyVersion>
442442
<UnbrandedGeneratorVersion>1.0.0-alpha.20250514.1</UnbrandedGeneratorVersion>
443-
<AzureGeneratorVersion>1.0.0-alpha.20250514.1</AzureGeneratorVersion>
443+
<AzureGeneratorVersion>1.0.0-alpha.20250515.2</AzureGeneratorVersion>
444444
</PropertyGroup>
445445
</Project>

eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/test/Azure.Generator.Mgmt.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<PackageReference Include="NUnit3TestAdapter" />
1010
<PackageReference Include="Moq" />
1111
<PackageReference Include="Microsoft.NET.Test.Sdk" />
12-
<PackageReference Include="Microsoft.TypeSpec.Generator.Input" VersionOverride="1.0.0-alpha.20250509.1"/> <!-- This needs to be removed during the version bump of Management -->
1312
</ItemGroup>
1413

1514
<ItemGroup>

eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/test/TestHelpers/ManagementMockHelpers.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public static Mock<ManagementClientGenerator> LoadMockPlugin(
2525
Func<InputApiKeyAuth>? apiKeyAuth = null,
2626
Func<InputOAuth2Auth>? oauth2Auth = null,
2727
Func<IReadOnlyList<string>>? apiVersions = null,
28+
Func<IReadOnlyList<InputLiteralType>>? inputLiterals = null,
2829
Func<IReadOnlyList<InputEnumType>>? inputEnums = null,
2930
Func<IReadOnlyList<InputModelType>>? inputModels = null,
3031
Func<IReadOnlyList<InputClient>>? clients = null,
@@ -33,6 +34,7 @@ public static Mock<ManagementClientGenerator> LoadMockPlugin(
3334
HttpMessageApi? httpMessageApi = null)
3435
{
3536
IReadOnlyList<string> inputNsApiVersions = apiVersions?.Invoke() ?? [];
37+
IReadOnlyList<InputLiteralType> inputNsLiterals = inputLiterals?.Invoke() ?? [];
3638
IReadOnlyList<InputEnumType> inputNsEnums = inputEnums?.Invoke() ?? [];
3739
IReadOnlyList<InputClient> inputNsClients = clients?.Invoke() ?? [];
3840
IReadOnlyList<InputModelType> inputNsModels = inputModels?.Invoke() ?? [];
@@ -41,6 +43,7 @@ public static Mock<ManagementClientGenerator> LoadMockPlugin(
4143
var mockInputNs = new Mock<InputNamespace>(
4244
"Samples",
4345
inputNsApiVersions,
46+
inputNsLiterals,
4447
inputNsEnums,
4548
inputNsModels,
4649
inputNsClients,

eng/packages/http-client-csharp-mgmt/generator/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Nullable>enable</Nullable>
44
<ImportDefaultReferences>false</ImportDefaultReferences>
55
<IsShippingLibrary>false</IsShippingLibrary>
6-
<NoWarn>$(NoWarn);CS8002;NU1605</NoWarn>
6+
<NoWarn>$(NoWarn);CS8002</NoWarn>
77
</PropertyGroup>
88
<!--
99
Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props

0 commit comments

Comments
 (0)