@azure-typespec/http-client-csharp 1.0.0-alpha.20260112.2 → 1.0.0-alpha.20260115.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../../emitter/src/emitter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAY,MAAM,oBAAoB,CAAC;AAG3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGnD,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,iBA4BtE"}
1
+ {"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../../emitter/src/emitter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAyB,MAAM,oBAAoB,CAAC;AAIxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGnD,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,iBA+BtE"}
@@ -1,6 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License. See License.txt in the project root for license information.
3
- import { NoTarget } from "@typespec/compiler";
3
+ import { NoTarget, resolvePath } from "@typespec/compiler";
4
+ import { createSdkContext } from "@azure-tools/typespec-client-generator-core";
4
5
  import { $onEmit as $onMTGEmit } from "@typespec/http-client-csharp";
5
6
  import { $lib } from "./lib/lib.js";
6
7
  export async function $onEmit(context) {
@@ -26,6 +27,37 @@ export async function $onEmit(context) {
26
27
  target: NoTarget
27
28
  });
28
29
  }
30
+ // Generate metadata.json file
31
+ await generateMetadataFile(context);
29
32
  await $onMTGEmit(context);
30
33
  }
34
+ /**
35
+ * Generates a metadata.json file containing API version information.
36
+ *
37
+ * The emitter automatically generates a `metadata.json` file in the `Generated/` folder.
38
+ * This file contains information such as the API version and can be used for automation
39
+ * purposes like building a mapping of package version to supported API version.
40
+ *
41
+ * The metadata file contains content such as:
42
+ * ```json
43
+ * {
44
+ * "apiVersion": "2024-05-01"
45
+ * }
46
+ * ```
47
+ *
48
+ * If no API version is specified, the value will be "not-specified".
49
+ */
50
+ async function generateMetadataFile(context) {
51
+ // Create SDK context to access the API version from the TypeSpec service definition
52
+ const sdkContext = await createSdkContext(context, "@azure-typespec/http-client-csharp", context.options["sdk-context-options"] ?? {});
53
+ const apiVersion = sdkContext.sdkPackage.metadata.apiVersion;
54
+ // Define the metadata schema we want to output
55
+ const metadata = {
56
+ apiVersion: apiVersion || "not-specified"
57
+ };
58
+ const generatedDir = resolvePath(context.emitterOutputDir, "Generated");
59
+ await context.program.host.mkdirp(generatedDir);
60
+ const outputPath = resolvePath(generatedDir, "metadata.json");
61
+ await context.program.host.writeFile(outputPath, JSON.stringify(metadata, null, 2));
62
+ }
31
63
  //# sourceMappingURL=emitter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"emitter.js","sourceRoot":"","sources":["../../../emitter/src/emitter.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAE/F,OAAO,EAAe,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,CAAC,KAAK,UAAU,OAAO,CAAC,OAAyC;IACrE,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,sBAAsB,CAAC;IAC7D,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,KAAK,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;IAC9D,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK;QAC7B,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,uBAAuB;KACjC,CAAC;IACF,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,OAAO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,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC;IAE7D,+CAA+C;IAC/C,MAAM,QAAQ,GAAG;QACf,UAAU,EAAE,UAAU,IAAI,eAAe;KAC1C,CAAC;IAEF,MAAM,YAAY,GAAG,WAAW,CAAC,OAAO,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC;IACxE,MAAM,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IAEhD,MAAM,UAAU,GAAG,WAAW,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;IAC9D,MAAM,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AACtF,CAAC"}
@@ -6,10 +6,10 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.StubLibrary/1.0.0-alpha.20260112.2": {
9
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260115.1": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260112.2",
12
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260112.2",
11
+ "Azure.Generator": "1.0.0-alpha.20260115.1",
12
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260113.1",
13
13
  "System.ClientModel": "1.8.1"
14
14
  },
15
15
  "runtime": {
@@ -335,12 +335,12 @@
335
335
  }
336
336
  }
337
337
  },
338
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
338
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
339
339
  "dependencies": {
340
340
  "CommandLineParser": "2.9.1",
341
341
  "Microsoft.Build": "17.9.5",
342
342
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
343
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260112.2",
343
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260113.1",
344
344
  "NuGet.Configuration": "6.14.0",
345
345
  "NuGet.Protocol": "6.14.0",
346
346
  "NuGet.Versioning": "6.14.0",
@@ -354,9 +354,9 @@
354
354
  }
355
355
  }
356
356
  },
357
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
357
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
358
358
  "dependencies": {
359
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260112.2",
359
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260113.1",
360
360
  "System.ClientModel": "1.8.1"
361
361
  },
362
362
  "runtime": {
@@ -366,7 +366,7 @@
366
366
  }
367
367
  }
368
368
  },
369
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
369
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
370
370
  "dependencies": {
371
371
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
372
372
  "System.Memory.Data": "8.0.1"
@@ -604,24 +604,24 @@
604
604
  }
605
605
  }
606
606
  },
607
- "Azure.Generator/1.0.0-alpha.20260112.2": {
607
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
608
608
  "dependencies": {
609
609
  "Azure.Core": "1.50.0",
610
610
  "Azure.Core.Expressions.DataFactory": "1.0.0",
611
611
  "Azure.ResourceManager": "1.13.2",
612
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260112.2"
612
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260113.1"
613
613
  },
614
614
  "runtime": {
615
615
  "Azure.Generator.dll": {
616
616
  "assemblyVersion": "1.0.0.0",
617
- "fileVersion": "1.0.26.6202"
617
+ "fileVersion": "1.0.26.6501"
618
618
  }
619
619
  }
620
620
  }
621
621
  }
622
622
  },
623
623
  "libraries": {
624
- "Azure.Generator.StubLibrary/1.0.0-alpha.20260112.2": {
624
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260115.1": {
625
625
  "type": "project",
626
626
  "serviceable": false,
627
627
  "sha512": ""
@@ -731,26 +731,26 @@
731
731
  "path": "microsoft.net.stringtools/17.9.5",
732
732
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
733
733
  },
734
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
734
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
735
735
  "type": "package",
736
736
  "serviceable": true,
737
- "sha512": "sha512-65OjLVREBGrLWTOM9HAi4f9ADL9sBT4i3Xw6SJiixYCq3mU4V6oPW9umuiE55ttYETSt5+Fa3swQG3aP7U54pQ==",
738
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260112.2",
739
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260112.2.nupkg.sha512"
737
+ "sha512": "sha512-qrV2Qe1/RoXuuqvYdyE7Lsl3uDOtpd8Z4TjQN7JYI72u7fm3zmG3REjijfypU1oArPkd/SNYhsfnaReBHHy4bg==",
738
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260113.1",
739
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260113.1.nupkg.sha512"
740
740
  },
741
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
741
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
742
742
  "type": "package",
743
743
  "serviceable": true,
744
- "sha512": "sha512-hxphLsAjmFhesmuld0WxNg9Du8IFVbOGdAWCD3Fx14WFND5uG9OsRTEyVC4Zd2oKRIWB7Efob4clNYnt1KIdxA==",
745
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260112.2",
746
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260112.2.nupkg.sha512"
744
+ "sha512": "sha512-WDvRSEP5uEBfSyBG5aneOHGqHXx4rOBHGgV3vAsdUjX35FzUOfor4kx4ugXSq5Qnu9SPydLGglSvEkN4cQLodQ==",
745
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260113.1",
746
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260113.1.nupkg.sha512"
747
747
  },
748
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
748
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
749
749
  "type": "package",
750
750
  "serviceable": true,
751
- "sha512": "sha512-a7JP425LM2FK9Vjs4OOYpiYX+5brk9iFwVNH8Qa3wWy81tLqU7fKzPnfQxweJy5qQg2diy0gxXS6l/m5etfKwg==",
752
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260112.2",
753
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260112.2.nupkg.sha512"
751
+ "sha512": "sha512-dslur5p2lg5o7cZBq2cg4YAjug8MVorqAAcpmLbGGCGLzScnj7G6cVor64xVFsiwfET3nqdSDpQFrvTGZMyWVw==",
752
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260113.1",
753
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260113.1.nupkg.sha512"
754
754
  },
755
755
  "Newtonsoft.Json/13.0.3": {
756
756
  "type": "package",
@@ -899,7 +899,7 @@
899
899
  "path": "system.security.cryptography.protecteddata/8.0.0",
900
900
  "hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
901
901
  },
902
- "Azure.Generator/1.0.0-alpha.20260112.2": {
902
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
903
903
  "type": "project",
904
904
  "serviceable": false,
905
905
  "sha512": ""
@@ -6,12 +6,12 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator/1.0.0-alpha.20260112.2": {
9
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.50.0",
12
12
  "Azure.Core.Expressions.DataFactory": "1.0.0",
13
13
  "Azure.ResourceManager": "1.13.2",
14
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260112.2"
14
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260113.1"
15
15
  },
16
16
  "runtime": {
17
17
  "Azure.Generator.dll": {}
@@ -336,12 +336,12 @@
336
336
  }
337
337
  }
338
338
  },
339
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
339
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
340
340
  "dependencies": {
341
341
  "CommandLineParser": "2.9.1",
342
342
  "Microsoft.Build": "17.9.5",
343
343
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
344
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260112.2",
344
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260113.1",
345
345
  "NuGet.Configuration": "6.14.0",
346
346
  "NuGet.Protocol": "6.14.0",
347
347
  "NuGet.Versioning": "6.14.0",
@@ -355,9 +355,9 @@
355
355
  }
356
356
  }
357
357
  },
358
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
358
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
359
359
  "dependencies": {
360
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260112.2",
360
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260113.1",
361
361
  "System.ClientModel": "1.8.0"
362
362
  },
363
363
  "runtime": {
@@ -367,7 +367,7 @@
367
367
  }
368
368
  }
369
369
  },
370
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
370
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
371
371
  "dependencies": {
372
372
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
373
373
  "System.Memory.Data": "8.0.1"
@@ -608,7 +608,7 @@
608
608
  }
609
609
  },
610
610
  "libraries": {
611
- "Azure.Generator/1.0.0-alpha.20260112.2": {
611
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
612
612
  "type": "project",
613
613
  "serviceable": false,
614
614
  "sha512": ""
@@ -718,26 +718,26 @@
718
718
  "path": "microsoft.net.stringtools/17.9.5",
719
719
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
720
720
  },
721
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
721
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
722
722
  "type": "package",
723
723
  "serviceable": true,
724
- "sha512": "sha512-65OjLVREBGrLWTOM9HAi4f9ADL9sBT4i3Xw6SJiixYCq3mU4V6oPW9umuiE55ttYETSt5+Fa3swQG3aP7U54pQ==",
725
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260112.2",
726
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260112.2.nupkg.sha512"
724
+ "sha512": "sha512-qrV2Qe1/RoXuuqvYdyE7Lsl3uDOtpd8Z4TjQN7JYI72u7fm3zmG3REjijfypU1oArPkd/SNYhsfnaReBHHy4bg==",
725
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260113.1",
726
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260113.1.nupkg.sha512"
727
727
  },
728
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
728
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
729
729
  "type": "package",
730
730
  "serviceable": true,
731
- "sha512": "sha512-hxphLsAjmFhesmuld0WxNg9Du8IFVbOGdAWCD3Fx14WFND5uG9OsRTEyVC4Zd2oKRIWB7Efob4clNYnt1KIdxA==",
732
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260112.2",
733
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260112.2.nupkg.sha512"
731
+ "sha512": "sha512-WDvRSEP5uEBfSyBG5aneOHGqHXx4rOBHGgV3vAsdUjX35FzUOfor4kx4ugXSq5Qnu9SPydLGglSvEkN4cQLodQ==",
732
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260113.1",
733
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260113.1.nupkg.sha512"
734
734
  },
735
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
735
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
736
736
  "type": "package",
737
737
  "serviceable": true,
738
- "sha512": "sha512-a7JP425LM2FK9Vjs4OOYpiYX+5brk9iFwVNH8Qa3wWy81tLqU7fKzPnfQxweJy5qQg2diy0gxXS6l/m5etfKwg==",
739
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260112.2",
740
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260112.2.nupkg.sha512"
738
+ "sha512": "sha512-dslur5p2lg5o7cZBq2cg4YAjug8MVorqAAcpmLbGGCGLzScnj7G6cVor64xVFsiwfET3nqdSDpQFrvTGZMyWVw==",
739
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260113.1",
740
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260113.1.nupkg.sha512"
741
741
  },
742
742
  "Newtonsoft.Json/13.0.3": {
743
743
  "type": "package",
Binary file
Binary file
@@ -6,10 +6,10 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.StubLibrary/1.0.0-alpha.20260112.2": {
9
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260115.1": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260112.2",
12
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260112.2",
11
+ "Azure.Generator": "1.0.0-alpha.20260115.1",
12
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260113.1",
13
13
  "System.ClientModel": "1.8.1"
14
14
  },
15
15
  "runtime": {
@@ -335,12 +335,12 @@
335
335
  }
336
336
  }
337
337
  },
338
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
338
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
339
339
  "dependencies": {
340
340
  "CommandLineParser": "2.9.1",
341
341
  "Microsoft.Build": "17.9.5",
342
342
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
343
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260112.2",
343
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260113.1",
344
344
  "NuGet.Configuration": "6.14.0",
345
345
  "NuGet.Protocol": "6.14.0",
346
346
  "NuGet.Versioning": "6.14.0",
@@ -354,9 +354,9 @@
354
354
  }
355
355
  }
356
356
  },
357
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
357
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
358
358
  "dependencies": {
359
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260112.2",
359
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260113.1",
360
360
  "System.ClientModel": "1.8.1"
361
361
  },
362
362
  "runtime": {
@@ -366,7 +366,7 @@
366
366
  }
367
367
  }
368
368
  },
369
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
369
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
370
370
  "dependencies": {
371
371
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
372
372
  "System.Memory.Data": "8.0.1"
@@ -604,24 +604,24 @@
604
604
  }
605
605
  }
606
606
  },
607
- "Azure.Generator/1.0.0-alpha.20260112.2": {
607
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
608
608
  "dependencies": {
609
609
  "Azure.Core": "1.50.0",
610
610
  "Azure.Core.Expressions.DataFactory": "1.0.0",
611
611
  "Azure.ResourceManager": "1.13.2",
612
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260112.2"
612
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260113.1"
613
613
  },
614
614
  "runtime": {
615
615
  "Azure.Generator.dll": {
616
616
  "assemblyVersion": "1.0.0.0",
617
- "fileVersion": "1.0.26.6202"
617
+ "fileVersion": "1.0.26.6501"
618
618
  }
619
619
  }
620
620
  }
621
621
  }
622
622
  },
623
623
  "libraries": {
624
- "Azure.Generator.StubLibrary/1.0.0-alpha.20260112.2": {
624
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260115.1": {
625
625
  "type": "project",
626
626
  "serviceable": false,
627
627
  "sha512": ""
@@ -731,26 +731,26 @@
731
731
  "path": "microsoft.net.stringtools/17.9.5",
732
732
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
733
733
  },
734
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
734
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
735
735
  "type": "package",
736
736
  "serviceable": true,
737
- "sha512": "sha512-65OjLVREBGrLWTOM9HAi4f9ADL9sBT4i3Xw6SJiixYCq3mU4V6oPW9umuiE55ttYETSt5+Fa3swQG3aP7U54pQ==",
738
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260112.2",
739
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260112.2.nupkg.sha512"
737
+ "sha512": "sha512-qrV2Qe1/RoXuuqvYdyE7Lsl3uDOtpd8Z4TjQN7JYI72u7fm3zmG3REjijfypU1oArPkd/SNYhsfnaReBHHy4bg==",
738
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260113.1",
739
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260113.1.nupkg.sha512"
740
740
  },
741
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
741
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
742
742
  "type": "package",
743
743
  "serviceable": true,
744
- "sha512": "sha512-hxphLsAjmFhesmuld0WxNg9Du8IFVbOGdAWCD3Fx14WFND5uG9OsRTEyVC4Zd2oKRIWB7Efob4clNYnt1KIdxA==",
745
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260112.2",
746
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260112.2.nupkg.sha512"
744
+ "sha512": "sha512-WDvRSEP5uEBfSyBG5aneOHGqHXx4rOBHGgV3vAsdUjX35FzUOfor4kx4ugXSq5Qnu9SPydLGglSvEkN4cQLodQ==",
745
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260113.1",
746
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260113.1.nupkg.sha512"
747
747
  },
748
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
748
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
749
749
  "type": "package",
750
750
  "serviceable": true,
751
- "sha512": "sha512-a7JP425LM2FK9Vjs4OOYpiYX+5brk9iFwVNH8Qa3wWy81tLqU7fKzPnfQxweJy5qQg2diy0gxXS6l/m5etfKwg==",
752
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260112.2",
753
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260112.2.nupkg.sha512"
751
+ "sha512": "sha512-dslur5p2lg5o7cZBq2cg4YAjug8MVorqAAcpmLbGGCGLzScnj7G6cVor64xVFsiwfET3nqdSDpQFrvTGZMyWVw==",
752
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260113.1",
753
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260113.1.nupkg.sha512"
754
754
  },
755
755
  "Newtonsoft.Json/13.0.3": {
756
756
  "type": "package",
@@ -899,7 +899,7 @@
899
899
  "path": "system.security.cryptography.protecteddata/8.0.0",
900
900
  "hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
901
901
  },
902
- "Azure.Generator/1.0.0-alpha.20260112.2": {
902
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
903
903
  "type": "project",
904
904
  "serviceable": false,
905
905
  "sha512": ""
@@ -6,12 +6,12 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator/1.0.0-alpha.20260112.2": {
9
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.50.0",
12
12
  "Azure.Core.Expressions.DataFactory": "1.0.0",
13
13
  "Azure.ResourceManager": "1.13.2",
14
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260112.2"
14
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260113.1"
15
15
  },
16
16
  "runtime": {
17
17
  "Azure.Generator.dll": {}
@@ -336,12 +336,12 @@
336
336
  }
337
337
  }
338
338
  },
339
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
339
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
340
340
  "dependencies": {
341
341
  "CommandLineParser": "2.9.1",
342
342
  "Microsoft.Build": "17.9.5",
343
343
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
344
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260112.2",
344
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260113.1",
345
345
  "NuGet.Configuration": "6.14.0",
346
346
  "NuGet.Protocol": "6.14.0",
347
347
  "NuGet.Versioning": "6.14.0",
@@ -355,9 +355,9 @@
355
355
  }
356
356
  }
357
357
  },
358
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
358
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
359
359
  "dependencies": {
360
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260112.2",
360
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260113.1",
361
361
  "System.ClientModel": "1.8.0"
362
362
  },
363
363
  "runtime": {
@@ -367,7 +367,7 @@
367
367
  }
368
368
  }
369
369
  },
370
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
370
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
371
371
  "dependencies": {
372
372
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
373
373
  "System.Memory.Data": "8.0.1"
@@ -608,7 +608,7 @@
608
608
  }
609
609
  },
610
610
  "libraries": {
611
- "Azure.Generator/1.0.0-alpha.20260112.2": {
611
+ "Azure.Generator/1.0.0-alpha.20260115.1": {
612
612
  "type": "project",
613
613
  "serviceable": false,
614
614
  "sha512": ""
@@ -718,26 +718,26 @@
718
718
  "path": "microsoft.net.stringtools/17.9.5",
719
719
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
720
720
  },
721
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260112.2": {
721
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260113.1": {
722
722
  "type": "package",
723
723
  "serviceable": true,
724
- "sha512": "sha512-65OjLVREBGrLWTOM9HAi4f9ADL9sBT4i3Xw6SJiixYCq3mU4V6oPW9umuiE55ttYETSt5+Fa3swQG3aP7U54pQ==",
725
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260112.2",
726
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260112.2.nupkg.sha512"
724
+ "sha512": "sha512-qrV2Qe1/RoXuuqvYdyE7Lsl3uDOtpd8Z4TjQN7JYI72u7fm3zmG3REjijfypU1oArPkd/SNYhsfnaReBHHy4bg==",
725
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260113.1",
726
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260113.1.nupkg.sha512"
727
727
  },
728
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260112.2": {
728
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260113.1": {
729
729
  "type": "package",
730
730
  "serviceable": true,
731
- "sha512": "sha512-hxphLsAjmFhesmuld0WxNg9Du8IFVbOGdAWCD3Fx14WFND5uG9OsRTEyVC4Zd2oKRIWB7Efob4clNYnt1KIdxA==",
732
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260112.2",
733
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260112.2.nupkg.sha512"
731
+ "sha512": "sha512-WDvRSEP5uEBfSyBG5aneOHGqHXx4rOBHGgV3vAsdUjX35FzUOfor4kx4ugXSq5Qnu9SPydLGglSvEkN4cQLodQ==",
732
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260113.1",
733
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260113.1.nupkg.sha512"
734
734
  },
735
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260112.2": {
735
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260113.1": {
736
736
  "type": "package",
737
737
  "serviceable": true,
738
- "sha512": "sha512-a7JP425LM2FK9Vjs4OOYpiYX+5brk9iFwVNH8Qa3wWy81tLqU7fKzPnfQxweJy5qQg2diy0gxXS6l/m5etfKwg==",
739
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260112.2",
740
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260112.2.nupkg.sha512"
738
+ "sha512": "sha512-dslur5p2lg5o7cZBq2cg4YAjug8MVorqAAcpmLbGGCGLzScnj7G6cVor64xVFsiwfET3nqdSDpQFrvTGZMyWVw==",
739
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260113.1",
740
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260113.1.nupkg.sha512"
741
741
  },
742
742
  "Newtonsoft.Json/13.0.3": {
743
743
  "type": "package",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-typespec/http-client-csharp",
3
- "version": "1.0.0-alpha.20260112.2",
3
+ "version": "1.0.0-alpha.20260115.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting Azure libraries for C#.",
6
6
  "readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp/README.md",
@@ -38,7 +38,7 @@
38
38
  "dist/generator/**"
39
39
  ],
40
40
  "dependencies": {
41
- "@typespec/http-client-csharp": "1.0.0-alpha.20260112.2"
41
+ "@typespec/http-client-csharp": "1.0.0-alpha.20260113.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@azure-tools/azure-http-specs": "0.1.0-alpha.33",