@azure-typespec/http-client-csharp 1.0.0-alpha.20260302.2 → 1.0.0-alpha.20260303.2

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.
@@ -35,25 +35,42 @@ export async function $onEmit(context) {
35
35
  * Generates a metadata.json file containing API version information.
36
36
  *
37
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.
38
+ * This file contains information such as the API versions and can be used for automation
39
+ * purposes like building a mapping of package version to supported API versions.
40
40
  *
41
41
  * The metadata file contains content such as:
42
42
  * ```json
43
43
  * {
44
- * "apiVersion": "2024-05-01"
44
+ * "apiVersions": {
45
+ * "Azure.Service": "2024-05-01"
46
+ * }
45
47
  * }
46
48
  * ```
47
49
  *
48
- * If no API version is specified, the value will be "not-specified".
50
+ * For packages containing multiple services:
51
+ * ```json
52
+ * {
53
+ * "apiVersions": {
54
+ * "Azure.ServiceA": "2024-05-01",
55
+ * "Azure.ServiceB": "2024-06-01"
56
+ * }
57
+ * }
58
+ * ```
59
+ *
60
+ * If no API versions are specified, the value will be "not-specified".
61
+ * If the `apiVersions` property is undefined, the value will be "not-specified".
49
62
  */
50
63
  async function generateMetadataFile(context) {
51
- // Create SDK context to access the API version from the TypeSpec service definition
64
+ // Create SDK context to access the API versions from the TypeSpec service definition
52
65
  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
66
+ const apiVersionsMap = sdkContext.sdkPackage.metadata.apiVersions;
67
+ // Define the metadata schema we want to output.
68
+ // JSON.stringify does not natively serialize Maps, so we convert to a plain object.
69
+ // If apiVersions is undefined or empty, emit an empty object for a consistent Record<string, string> type.
55
70
  const metadata = {
56
- apiVersion: apiVersion || "not-specified"
71
+ apiVersions: apiVersionsMap && apiVersionsMap.size > 0
72
+ ? Object.fromEntries(apiVersionsMap)
73
+ : {}
57
74
  };
58
75
  const outputPath = resolvePath(context.emitterOutputDir, "metadata.json");
59
76
  await context.program.host.writeFile(outputPath, JSON.stringify(metadata, null, 2));
@@ -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,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAE/E,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,CAAC,WAAW,CAAC,CAAC;IAEjE,8BAA8B;IAC9B,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,KAAK,EAAE,CAAC;IAC9C,MAAM,kBAAkB,GACtB,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,oBAAoB,CAAC;IAC9D,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,oBAAoB,GAAG;QAC5D,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAA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,MAAM,oBAAoB,CAAC,OAAO,CAAC,CAAC;IAEpC,MAAM,UAAU,CAAC,OAAO,CAAC,CAAC;AAC5B,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,KAAK,UAAU,oBAAoB,CACjC,OAAyC;IAEzC,qFAAqF;IACrF,MAAM,UAAU,GAAG,MAAM,gBAAgB,CACvC,OAAO,EACP,oCAAoC,EACpC,OAAO,CAAC,OAAO,CAAC,qBAAqB,CAAC,IAAI,EAAE,CAC7C,CAAC;IAEF,MAAM,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,CAAC;IAElE,gDAAgD;IAChD,oFAAoF;IACpF,2GAA2G;IAC3G,MAAM,QAAQ,GAAG;QACf,WAAW,EACT,cAAc,IAAI,cAAc,CAAC,IAAI,GAAG,CAAC;YACvC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC;YACpC,CAAC,CAAC,EAAE;KACT,CAAC;IAEF,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC;IAC1E,MAAM,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAClC,UAAU,EACV,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAClC,CAAC;AACJ,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.20260302.2": {
9
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260303.2": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260302.2",
12
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.3",
11
+ "Azure.Generator": "1.0.0-alpha.20260303.2",
12
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.5",
13
13
  "System.ClientModel": "1.9.0"
14
14
  },
15
15
  "runtime": {
@@ -404,12 +404,12 @@
404
404
  }
405
405
  }
406
406
  },
407
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
407
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
408
408
  "dependencies": {
409
409
  "CommandLineParser": "2.9.1",
410
410
  "Microsoft.Build": "17.9.5",
411
411
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
412
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.3",
412
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.5",
413
413
  "NuGet.Configuration": "6.14.0",
414
414
  "NuGet.Protocol": "6.14.0",
415
415
  "NuGet.Versioning": "6.14.0",
@@ -423,9 +423,9 @@
423
423
  }
424
424
  }
425
425
  },
426
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
426
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
427
427
  "dependencies": {
428
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.3",
428
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.5",
429
429
  "System.ClientModel": "1.9.0"
430
430
  },
431
431
  "runtime": {
@@ -435,7 +435,7 @@
435
435
  }
436
436
  }
437
437
  },
438
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
438
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
439
439
  "dependencies": {
440
440
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
441
441
  "System.Memory.Data": "10.0.1"
@@ -675,24 +675,24 @@
675
675
  }
676
676
  }
677
677
  },
678
- "Azure.Generator/1.0.0-alpha.20260302.2": {
678
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
679
679
  "dependencies": {
680
680
  "Azure.Core": "1.51.1",
681
681
  "Azure.Core.Expressions.DataFactory": "1.0.0",
682
682
  "Azure.ResourceManager": "1.14.0",
683
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.3"
683
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.5"
684
684
  },
685
685
  "runtime": {
686
686
  "Azure.Generator.dll": {
687
687
  "assemblyVersion": "1.0.0.0",
688
- "fileVersion": "1.0.26.15202"
688
+ "fileVersion": "1.0.26.15302"
689
689
  }
690
690
  }
691
691
  }
692
692
  }
693
693
  },
694
694
  "libraries": {
695
- "Azure.Generator.StubLibrary/1.0.0-alpha.20260302.2": {
695
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260303.2": {
696
696
  "type": "project",
697
697
  "serviceable": false,
698
698
  "sha512": ""
@@ -844,26 +844,26 @@
844
844
  "path": "microsoft.net.stringtools/17.9.5",
845
845
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
846
846
  },
847
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
847
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
848
848
  "type": "package",
849
849
  "serviceable": true,
850
- "sha512": "sha512-rpXUPLNwXRpOn6ldtZ8yZCNAricmeaPr7kEBxBsooZBais4XgdAQ/Hbn7h/Jr/KqhO558GI/zLPhFBB+k0G/dw==",
851
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.3",
852
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.3.nupkg.sha512"
850
+ "sha512": "sha512-8f+eCJCbiIr5NoA2Hz2Cdj+w+I6udlsBLikxXY259laFLjb+RNq2hdRVZDM02QgWh6fuyOcmOKj//QMl7CVPXQ==",
851
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.5",
852
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.5.nupkg.sha512"
853
853
  },
854
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
854
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
855
855
  "type": "package",
856
856
  "serviceable": true,
857
- "sha512": "sha512-OXawpJPbXOD65HgsNJ7KJsN4H5UjPxzG5i50r1J05vMHxVpi2elh7worPYAIKHl+GJSddWrEbV2IlaMC45zFJg==",
858
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.3",
859
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.3.nupkg.sha512"
857
+ "sha512": "sha512-XbGmJ3Y4p0s1LKdBMFL+OV5QpaG0QGbHx4kHaxTN27g2OY+K9hAA5/P+fJIVUvfgZMyp0pCLqgL225W3RZpqZg==",
858
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.5",
859
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.5.nupkg.sha512"
860
860
  },
861
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
861
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
862
862
  "type": "package",
863
863
  "serviceable": true,
864
- "sha512": "sha512-YCKa4kH513mu+lqoBtD85mI5rXQfFYpgKuUwfJuuDpUqsoKswpB5XAbc5Eaai+KrXYos4kgTSRh86zkb3+7vkg==",
865
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.3",
866
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.3.nupkg.sha512"
864
+ "sha512": "sha512-H0Y5T8lUJp0DA2m+nJPKKppmIdHGm1z+4WVQeSLlNkNmpTLGu8O1QO37dpUw5MXKqEKyTh+P/iECiUHCY1AN/Q==",
865
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.5",
866
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.5.nupkg.sha512"
867
867
  },
868
868
  "Newtonsoft.Json/13.0.3": {
869
869
  "type": "package",
@@ -1012,7 +1012,7 @@
1012
1012
  "path": "system.security.cryptography.protecteddata/8.0.0",
1013
1013
  "hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
1014
1014
  },
1015
- "Azure.Generator/1.0.0-alpha.20260302.2": {
1015
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
1016
1016
  "type": "project",
1017
1017
  "serviceable": false,
1018
1018
  "sha512": ""
@@ -6,12 +6,12 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator/1.0.0-alpha.20260302.2": {
9
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.51.1",
12
12
  "Azure.Core.Expressions.DataFactory": "1.0.0",
13
13
  "Azure.ResourceManager": "1.14.0",
14
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.3"
14
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.5"
15
15
  },
16
16
  "runtime": {
17
17
  "Azure.Generator.dll": {}
@@ -405,12 +405,12 @@
405
405
  }
406
406
  }
407
407
  },
408
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
408
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
409
409
  "dependencies": {
410
410
  "CommandLineParser": "2.9.1",
411
411
  "Microsoft.Build": "17.9.5",
412
412
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
413
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.3",
413
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.5",
414
414
  "NuGet.Configuration": "6.14.0",
415
415
  "NuGet.Protocol": "6.14.0",
416
416
  "NuGet.Versioning": "6.14.0",
@@ -424,9 +424,9 @@
424
424
  }
425
425
  }
426
426
  },
427
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
427
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
428
428
  "dependencies": {
429
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.3",
429
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.5",
430
430
  "System.ClientModel": "1.9.0"
431
431
  },
432
432
  "runtime": {
@@ -436,7 +436,7 @@
436
436
  }
437
437
  }
438
438
  },
439
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
439
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
440
440
  "dependencies": {
441
441
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
442
442
  "System.Memory.Data": "10.0.1"
@@ -679,7 +679,7 @@
679
679
  }
680
680
  },
681
681
  "libraries": {
682
- "Azure.Generator/1.0.0-alpha.20260302.2": {
682
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
683
683
  "type": "project",
684
684
  "serviceable": false,
685
685
  "sha512": ""
@@ -831,26 +831,26 @@
831
831
  "path": "microsoft.net.stringtools/17.9.5",
832
832
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
833
833
  },
834
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
834
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
835
835
  "type": "package",
836
836
  "serviceable": true,
837
- "sha512": "sha512-rpXUPLNwXRpOn6ldtZ8yZCNAricmeaPr7kEBxBsooZBais4XgdAQ/Hbn7h/Jr/KqhO558GI/zLPhFBB+k0G/dw==",
838
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.3",
839
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.3.nupkg.sha512"
837
+ "sha512": "sha512-8f+eCJCbiIr5NoA2Hz2Cdj+w+I6udlsBLikxXY259laFLjb+RNq2hdRVZDM02QgWh6fuyOcmOKj//QMl7CVPXQ==",
838
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.5",
839
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.5.nupkg.sha512"
840
840
  },
841
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
841
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
842
842
  "type": "package",
843
843
  "serviceable": true,
844
- "sha512": "sha512-OXawpJPbXOD65HgsNJ7KJsN4H5UjPxzG5i50r1J05vMHxVpi2elh7worPYAIKHl+GJSddWrEbV2IlaMC45zFJg==",
845
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.3",
846
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.3.nupkg.sha512"
844
+ "sha512": "sha512-XbGmJ3Y4p0s1LKdBMFL+OV5QpaG0QGbHx4kHaxTN27g2OY+K9hAA5/P+fJIVUvfgZMyp0pCLqgL225W3RZpqZg==",
845
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.5",
846
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.5.nupkg.sha512"
847
847
  },
848
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
848
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
849
849
  "type": "package",
850
850
  "serviceable": true,
851
- "sha512": "sha512-YCKa4kH513mu+lqoBtD85mI5rXQfFYpgKuUwfJuuDpUqsoKswpB5XAbc5Eaai+KrXYos4kgTSRh86zkb3+7vkg==",
852
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.3",
853
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.3.nupkg.sha512"
851
+ "sha512": "sha512-H0Y5T8lUJp0DA2m+nJPKKppmIdHGm1z+4WVQeSLlNkNmpTLGu8O1QO37dpUw5MXKqEKyTh+P/iECiUHCY1AN/Q==",
852
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.5",
853
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.5.nupkg.sha512"
854
854
  },
855
855
  "Newtonsoft.Json/13.0.3": {
856
856
  "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.20260302.2": {
9
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260303.2": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260302.2",
12
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.3",
11
+ "Azure.Generator": "1.0.0-alpha.20260303.2",
12
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.5",
13
13
  "System.ClientModel": "1.9.0"
14
14
  },
15
15
  "runtime": {
@@ -404,12 +404,12 @@
404
404
  }
405
405
  }
406
406
  },
407
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
407
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
408
408
  "dependencies": {
409
409
  "CommandLineParser": "2.9.1",
410
410
  "Microsoft.Build": "17.9.5",
411
411
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
412
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.3",
412
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.5",
413
413
  "NuGet.Configuration": "6.14.0",
414
414
  "NuGet.Protocol": "6.14.0",
415
415
  "NuGet.Versioning": "6.14.0",
@@ -423,9 +423,9 @@
423
423
  }
424
424
  }
425
425
  },
426
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
426
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
427
427
  "dependencies": {
428
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.3",
428
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.5",
429
429
  "System.ClientModel": "1.9.0"
430
430
  },
431
431
  "runtime": {
@@ -435,7 +435,7 @@
435
435
  }
436
436
  }
437
437
  },
438
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
438
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
439
439
  "dependencies": {
440
440
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
441
441
  "System.Memory.Data": "10.0.1"
@@ -675,24 +675,24 @@
675
675
  }
676
676
  }
677
677
  },
678
- "Azure.Generator/1.0.0-alpha.20260302.2": {
678
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
679
679
  "dependencies": {
680
680
  "Azure.Core": "1.51.1",
681
681
  "Azure.Core.Expressions.DataFactory": "1.0.0",
682
682
  "Azure.ResourceManager": "1.14.0",
683
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.3"
683
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.5"
684
684
  },
685
685
  "runtime": {
686
686
  "Azure.Generator.dll": {
687
687
  "assemblyVersion": "1.0.0.0",
688
- "fileVersion": "1.0.26.15202"
688
+ "fileVersion": "1.0.26.15302"
689
689
  }
690
690
  }
691
691
  }
692
692
  }
693
693
  },
694
694
  "libraries": {
695
- "Azure.Generator.StubLibrary/1.0.0-alpha.20260302.2": {
695
+ "Azure.Generator.StubLibrary/1.0.0-alpha.20260303.2": {
696
696
  "type": "project",
697
697
  "serviceable": false,
698
698
  "sha512": ""
@@ -844,26 +844,26 @@
844
844
  "path": "microsoft.net.stringtools/17.9.5",
845
845
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
846
846
  },
847
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
847
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
848
848
  "type": "package",
849
849
  "serviceable": true,
850
- "sha512": "sha512-rpXUPLNwXRpOn6ldtZ8yZCNAricmeaPr7kEBxBsooZBais4XgdAQ/Hbn7h/Jr/KqhO558GI/zLPhFBB+k0G/dw==",
851
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.3",
852
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.3.nupkg.sha512"
850
+ "sha512": "sha512-8f+eCJCbiIr5NoA2Hz2Cdj+w+I6udlsBLikxXY259laFLjb+RNq2hdRVZDM02QgWh6fuyOcmOKj//QMl7CVPXQ==",
851
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.5",
852
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.5.nupkg.sha512"
853
853
  },
854
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
854
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
855
855
  "type": "package",
856
856
  "serviceable": true,
857
- "sha512": "sha512-OXawpJPbXOD65HgsNJ7KJsN4H5UjPxzG5i50r1J05vMHxVpi2elh7worPYAIKHl+GJSddWrEbV2IlaMC45zFJg==",
858
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.3",
859
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.3.nupkg.sha512"
857
+ "sha512": "sha512-XbGmJ3Y4p0s1LKdBMFL+OV5QpaG0QGbHx4kHaxTN27g2OY+K9hAA5/P+fJIVUvfgZMyp0pCLqgL225W3RZpqZg==",
858
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.5",
859
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.5.nupkg.sha512"
860
860
  },
861
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
861
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
862
862
  "type": "package",
863
863
  "serviceable": true,
864
- "sha512": "sha512-YCKa4kH513mu+lqoBtD85mI5rXQfFYpgKuUwfJuuDpUqsoKswpB5XAbc5Eaai+KrXYos4kgTSRh86zkb3+7vkg==",
865
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.3",
866
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.3.nupkg.sha512"
864
+ "sha512": "sha512-H0Y5T8lUJp0DA2m+nJPKKppmIdHGm1z+4WVQeSLlNkNmpTLGu8O1QO37dpUw5MXKqEKyTh+P/iECiUHCY1AN/Q==",
865
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.5",
866
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.5.nupkg.sha512"
867
867
  },
868
868
  "Newtonsoft.Json/13.0.3": {
869
869
  "type": "package",
@@ -1012,7 +1012,7 @@
1012
1012
  "path": "system.security.cryptography.protecteddata/8.0.0",
1013
1013
  "hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
1014
1014
  },
1015
- "Azure.Generator/1.0.0-alpha.20260302.2": {
1015
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
1016
1016
  "type": "project",
1017
1017
  "serviceable": false,
1018
1018
  "sha512": ""
@@ -6,12 +6,12 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator/1.0.0-alpha.20260302.2": {
9
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.51.1",
12
12
  "Azure.Core.Expressions.DataFactory": "1.0.0",
13
13
  "Azure.ResourceManager": "1.14.0",
14
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.3"
14
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260302.5"
15
15
  },
16
16
  "runtime": {
17
17
  "Azure.Generator.dll": {}
@@ -405,12 +405,12 @@
405
405
  }
406
406
  }
407
407
  },
408
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
408
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
409
409
  "dependencies": {
410
410
  "CommandLineParser": "2.9.1",
411
411
  "Microsoft.Build": "17.9.5",
412
412
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
413
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.3",
413
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260302.5",
414
414
  "NuGet.Configuration": "6.14.0",
415
415
  "NuGet.Protocol": "6.14.0",
416
416
  "NuGet.Versioning": "6.14.0",
@@ -424,9 +424,9 @@
424
424
  }
425
425
  }
426
426
  },
427
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
427
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
428
428
  "dependencies": {
429
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.3",
429
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260302.5",
430
430
  "System.ClientModel": "1.9.0"
431
431
  },
432
432
  "runtime": {
@@ -436,7 +436,7 @@
436
436
  }
437
437
  }
438
438
  },
439
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
439
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
440
440
  "dependencies": {
441
441
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
442
442
  "System.Memory.Data": "10.0.1"
@@ -679,7 +679,7 @@
679
679
  }
680
680
  },
681
681
  "libraries": {
682
- "Azure.Generator/1.0.0-alpha.20260302.2": {
682
+ "Azure.Generator/1.0.0-alpha.20260303.2": {
683
683
  "type": "project",
684
684
  "serviceable": false,
685
685
  "sha512": ""
@@ -831,26 +831,26 @@
831
831
  "path": "microsoft.net.stringtools/17.9.5",
832
832
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
833
833
  },
834
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.3": {
834
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260302.5": {
835
835
  "type": "package",
836
836
  "serviceable": true,
837
- "sha512": "sha512-rpXUPLNwXRpOn6ldtZ8yZCNAricmeaPr7kEBxBsooZBais4XgdAQ/Hbn7h/Jr/KqhO558GI/zLPhFBB+k0G/dw==",
838
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.3",
839
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.3.nupkg.sha512"
837
+ "sha512": "sha512-8f+eCJCbiIr5NoA2Hz2Cdj+w+I6udlsBLikxXY259laFLjb+RNq2hdRVZDM02QgWh6fuyOcmOKj//QMl7CVPXQ==",
838
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260302.5",
839
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260302.5.nupkg.sha512"
840
840
  },
841
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.3": {
841
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260302.5": {
842
842
  "type": "package",
843
843
  "serviceable": true,
844
- "sha512": "sha512-OXawpJPbXOD65HgsNJ7KJsN4H5UjPxzG5i50r1J05vMHxVpi2elh7worPYAIKHl+GJSddWrEbV2IlaMC45zFJg==",
845
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.3",
846
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.3.nupkg.sha512"
844
+ "sha512": "sha512-XbGmJ3Y4p0s1LKdBMFL+OV5QpaG0QGbHx4kHaxTN27g2OY+K9hAA5/P+fJIVUvfgZMyp0pCLqgL225W3RZpqZg==",
845
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260302.5",
846
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260302.5.nupkg.sha512"
847
847
  },
848
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.3": {
848
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260302.5": {
849
849
  "type": "package",
850
850
  "serviceable": true,
851
- "sha512": "sha512-YCKa4kH513mu+lqoBtD85mI5rXQfFYpgKuUwfJuuDpUqsoKswpB5XAbc5Eaai+KrXYos4kgTSRh86zkb3+7vkg==",
852
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.3",
853
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.3.nupkg.sha512"
851
+ "sha512": "sha512-H0Y5T8lUJp0DA2m+nJPKKppmIdHGm1z+4WVQeSLlNkNmpTLGu8O1QO37dpUw5MXKqEKyTh+P/iECiUHCY1AN/Q==",
852
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260302.5",
853
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260302.5.nupkg.sha512"
854
854
  },
855
855
  "Newtonsoft.Json/13.0.3": {
856
856
  "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.20260302.2",
3
+ "version": "1.0.0-alpha.20260303.2",
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.20260302.3"
41
+ "@typespec/http-client-csharp": "1.0.0-alpha.20260302.5"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@azure-tools/azure-http-specs": "0.1.0-alpha.37",