@azure-typespec/http-client-csharp 1.0.0-alpha.20250917.3 → 1.0.0-alpha.20250917.5
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.
- package/README.md +11 -0
- package/dist/generator/Azure.Generator.StubLibrary.deps.json +7 -7
- package/dist/generator/Azure.Generator.StubLibrary.dll +0 -0
- package/dist/generator/Azure.Generator.StubLibrary.pdb +0 -0
- package/dist/generator/Azure.Generator.deps.json +2 -2
- package/dist/generator/Azure.Generator.dll +0 -0
- package/dist/generator/Azure.Generator.pdb +0 -0
- package/dist/generator/net8.0/Azure.Generator.StubLibrary.deps.json +7 -7
- package/dist/generator/net8.0/Azure.Generator.StubLibrary.dll +0 -0
- package/dist/generator/net8.0/Azure.Generator.StubLibrary.pdb +0 -0
- package/dist/generator/net8.0/Azure.Generator.deps.json +2 -2
- package/dist/generator/net8.0/Azure.Generator.dll +0 -0
- package/dist/generator/net8.0/Azure.Generator.pdb +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,6 +8,17 @@ TypeSpec library for emitting Azure libraries for C#.
|
|
|
8
8
|
npm install @azure-typespec/http-client-csharp
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Prerequisite
|
|
14
|
+
|
|
15
|
+
- Install [Node.js](https://nodejs.org/download/) 20 or above. (Verify by running `node --version`)
|
|
16
|
+
- Install [**.NET 8.0 SDK**](https://dotnet.microsoft.com/download/dotnet/8.0) for your specific platform. (or a higher version)
|
|
17
|
+
|
|
18
|
+
### Customizing Generated Code
|
|
19
|
+
|
|
20
|
+
For detailed instructions on how to customize the generated C# code, see the [Customization Guide](https://github.com/microsoft/typespec/blob/main/packages/http-client-csharp/.tspd/docs/customization.md).
|
|
21
|
+
|
|
11
22
|
## Emitter usage
|
|
12
23
|
|
|
13
24
|
1. Via the command line
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v8.0": {
|
|
9
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.
|
|
9
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.5": {
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"Azure.Generator": "1.0.0-alpha.20250917.
|
|
11
|
+
"Azure.Generator": "1.0.0-alpha.20250917.5",
|
|
12
12
|
"Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250916.1",
|
|
13
13
|
"Microsoft.SourceLink.GitHub": "8.0.0",
|
|
14
14
|
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250917.1",
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
"System.Security.Principal.Windows/5.0.0": {},
|
|
654
654
|
"System.Threading.Channels/7.0.0": {},
|
|
655
655
|
"System.Threading.Tasks.Dataflow/8.0.0": {},
|
|
656
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
656
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
657
657
|
"dependencies": {
|
|
658
658
|
"Azure.Core": "1.47.3",
|
|
659
659
|
"Azure.ResourceManager": "1.13.2",
|
|
@@ -661,15 +661,15 @@
|
|
|
661
661
|
},
|
|
662
662
|
"runtime": {
|
|
663
663
|
"Azure.Generator.dll": {
|
|
664
|
-
"assemblyVersion": "1.0.0-alpha.20250917.
|
|
665
|
-
"fileVersion": "1.0.25.
|
|
664
|
+
"assemblyVersion": "1.0.0-alpha.20250917.5",
|
|
665
|
+
"fileVersion": "1.0.25.46705"
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
},
|
|
671
671
|
"libraries": {
|
|
672
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.
|
|
672
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.5": {
|
|
673
673
|
"type": "project",
|
|
674
674
|
"serviceable": false,
|
|
675
675
|
"sha512": ""
|
|
@@ -1052,7 +1052,7 @@
|
|
|
1052
1052
|
"path": "system.threading.tasks.dataflow/8.0.0",
|
|
1053
1053
|
"hashPath": "system.threading.tasks.dataflow.8.0.0.nupkg.sha512"
|
|
1054
1054
|
},
|
|
1055
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
1055
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
1056
1056
|
"type": "project",
|
|
1057
1057
|
"serviceable": false,
|
|
1058
1058
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v8.0": {
|
|
9
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
9
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.47.3",
|
|
12
12
|
"Azure.ResourceManager": "1.13.2",
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
"libraries": {
|
|
659
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
659
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
660
660
|
"type": "project",
|
|
661
661
|
"serviceable": false,
|
|
662
662
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v8.0": {
|
|
9
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.
|
|
9
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.5": {
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"Azure.Generator": "1.0.0-alpha.20250917.
|
|
11
|
+
"Azure.Generator": "1.0.0-alpha.20250917.5",
|
|
12
12
|
"Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250916.1",
|
|
13
13
|
"Microsoft.SourceLink.GitHub": "8.0.0",
|
|
14
14
|
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250917.1",
|
|
@@ -653,7 +653,7 @@
|
|
|
653
653
|
"System.Security.Principal.Windows/5.0.0": {},
|
|
654
654
|
"System.Threading.Channels/7.0.0": {},
|
|
655
655
|
"System.Threading.Tasks.Dataflow/8.0.0": {},
|
|
656
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
656
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
657
657
|
"dependencies": {
|
|
658
658
|
"Azure.Core": "1.47.3",
|
|
659
659
|
"Azure.ResourceManager": "1.13.2",
|
|
@@ -661,15 +661,15 @@
|
|
|
661
661
|
},
|
|
662
662
|
"runtime": {
|
|
663
663
|
"Azure.Generator.dll": {
|
|
664
|
-
"assemblyVersion": "1.0.0-alpha.20250917.
|
|
665
|
-
"fileVersion": "1.0.25.
|
|
664
|
+
"assemblyVersion": "1.0.0-alpha.20250917.5",
|
|
665
|
+
"fileVersion": "1.0.25.46705"
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
670
|
},
|
|
671
671
|
"libraries": {
|
|
672
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.
|
|
672
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20250917.5": {
|
|
673
673
|
"type": "project",
|
|
674
674
|
"serviceable": false,
|
|
675
675
|
"sha512": ""
|
|
@@ -1052,7 +1052,7 @@
|
|
|
1052
1052
|
"path": "system.threading.tasks.dataflow/8.0.0",
|
|
1053
1053
|
"hashPath": "system.threading.tasks.dataflow.8.0.0.nupkg.sha512"
|
|
1054
1054
|
},
|
|
1055
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
1055
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
1056
1056
|
"type": "project",
|
|
1057
1057
|
"serviceable": false,
|
|
1058
1058
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v8.0": {
|
|
9
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
9
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.47.3",
|
|
12
12
|
"Azure.ResourceManager": "1.13.2",
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
"libraries": {
|
|
659
|
-
"Azure.Generator/1.0.0-alpha.20250917.
|
|
659
|
+
"Azure.Generator/1.0.0-alpha.20250917.5": {
|
|
660
660
|
"type": "project",
|
|
661
661
|
"serviceable": false,
|
|
662
662
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-typespec/http-client-csharp",
|
|
3
|
-
"version": "1.0.0-alpha.20250917.
|
|
3
|
+
"version": "1.0.0-alpha.20250917.5",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"lint:fix": "eslint . --fix",
|
|
32
32
|
"prettier:fix": "prettier --write --config .prettierrc.json ./**/*.ts package.json",
|
|
33
33
|
"prettier": "prettier --check --config .prettierrc.json ./**/*.ts package.json",
|
|
34
|
-
"regen-docs": "npm run build:emitter && tspd doc . --enable-experimental --skip-js"
|
|
34
|
+
"regen-docs": "npm run build:emitter && tspd doc . --output-dir .tspd/docs --enable-experimental --skip-js"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist/emitter/src/**",
|