Skip to content

Commit 03b838d

Browse files
bump the versions of MTG and Azure.Generator for mgmt generator (#53450)
1 parent 7a87883 commit 03b838d

File tree

8 files changed

+129
-31
lines changed

8 files changed

+129
-31
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,6 @@
470470
<PropertyGroup>
471471
<TestProxyVersion>1.0.0-dev.20250930.1</TestProxyVersion>
472472
<UnbrandedGeneratorVersion>1.0.0-alpha.20251022.4</UnbrandedGeneratorVersion>
473-
<AzureGeneratorVersion>1.0.0-alpha.20251017.2</AzureGeneratorVersion>
473+
<AzureGeneratorVersion>1.0.0-alpha.20251022.3</AzureGeneratorVersion>
474474
</PropertyGroup>
475475
</Project>

eng/packages/http-client-csharp-mgmt/emitter/src/emitter.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@ import { EmitContext } from "@typespec/compiler";
55

66
import { CodeModel, CSharpEmitterContext } from "@typespec/http-client-csharp";
77

8-
import {
9-
$onEmit as $onAzureEmit,
10-
AzureEmitterOptions
11-
} from "@azure-typespec/http-client-csharp";
8+
import { $onEmit as $onAzureEmit } from "@azure-typespec/http-client-csharp";
129
import {
1310
azureSDKContextOptions,
1411
flattenPropertyDecorator
1512
} from "./sdk-context-options.js";
1613
import { updateClients } from "./resource-detection.js";
1714
import { DecoratorInfo } from "@azure-tools/typespec-client-generator-core";
15+
import { AzureMgmtEmitterOptions } from "./options.js";
1816

19-
export async function $onEmit(context: EmitContext<AzureEmitterOptions>) {
17+
export async function $onEmit(context: EmitContext<AzureMgmtEmitterOptions>) {
2018
context.options["generator-name"] ??= "ManagementClientGenerator";
2119
context.options["update-code-model"] = updateCodeModel;
2220
context.options["emitter-extension-path"] ??= import.meta.url;

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Internal/RawRequestUriBuilderExtensions.cs

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Internal/SerializationFormat.cs

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Internal/TypeFormatters.cs

Lines changed: 41 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/RestOperations/ZoosRestOperations.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/packages/http-client-csharp-mgmt/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"dist/**"
3838
],
3939
"dependencies": {
40-
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20251017.2"
40+
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20251022.3"
4141
},
4242
"devDependencies": {
4343
"@azure-tools/azure-http-specs": "0.1.0-alpha.30",
@@ -52,7 +52,7 @@
5252
"@types/prettier": "^2.6.3",
5353
"@typespec/compiler": "1.5.0",
5454
"@typespec/http": "1.5.0",
55-
"@typespec/http-client-csharp": "1.0.0-alpha.20251017.1",
55+
"@typespec/http-client-csharp": "1.0.0-alpha.20251022.4",
5656
"@typespec/http-specs": "0.1.0-alpha.27",
5757
"@typespec/openapi": "1.5.0",
5858
"@typespec/rest": "0.75.0",

0 commit comments

Comments
 (0)