@typespec/http-client-csharp 1.0.0-alpha.20260310.2 → 1.0.0-alpha.20260311.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.
- package/dist/emitter/src/tsdoc-metadata.json +1 -1
- package/dist/generated-defs/TypeSpec.HttpClient.CSharp.d.ts +2 -2
- package/dist/generated-defs/TypeSpec.HttpClient.CSharp.d.ts.map +1 -1
- package/dist/generated-defs/TypeSpec.HttpClient.CSharp.ts-test.js +1 -1
- package/dist/generated-defs/TypeSpec.HttpClient.CSharp.ts-test.js.map +1 -1
- package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.StubLibrary.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.StubLibrary.pdb +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.pdb +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.Input.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.Input.pdb +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.pdb +0 -0
- package/package.json +25 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DecoratorContext, Model, Namespace } from "@typespec/compiler";
|
|
1
|
+
import type { DecoratorContext, DecoratorValidatorCallbacks, Model, Namespace } from "@typespec/compiler";
|
|
2
2
|
/**
|
|
3
3
|
* Marks a model or namespace as dynamic, indicating it should generate dynamic model code.
|
|
4
4
|
* Can be applied to Model or Namespace types.
|
|
@@ -19,7 +19,7 @@ import type { DecoratorContext, Model, Namespace } from "@typespec/compiler";
|
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export type DynamicModelDecorator = (context: DecoratorContext, target: Model | Namespace) => void;
|
|
22
|
+
export type DynamicModelDecorator = (context: DecoratorContext, target: Model | Namespace) => DecoratorValidatorCallbacks | void;
|
|
23
23
|
export type TypeSpecHttpClientCSharpDecorators = {
|
|
24
24
|
dynamicModel: DynamicModelDecorator;
|
|
25
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSpec.HttpClient.CSharp.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.HttpClient.CSharp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"TypeSpec.HttpClient.CSharp.d.ts","sourceRoot":"","sources":["../../generated-defs/TypeSpec.HttpClient.CSharp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC3B,KAAK,EACL,SAAS,EACV,MAAM,oBAAoB,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAClC,OAAO,EAAE,gBAAgB,EACzB,MAAM,EAAE,KAAK,GAAG,SAAS,KACtB,2BAA2B,GAAG,IAAI,CAAC;AAExC,MAAM,MAAM,kCAAkC,GAAG;IAC/C,YAAY,EAAE,qBAAqB,CAAC;CACrC,CAAC"}
|
|
@@ -4,5 +4,5 @@ import { $decorators } from "@typespec/http-client-csharp";
|
|
|
4
4
|
/**
|
|
5
5
|
* An error here would mean that the exported decorator is not using the same signature. Make sure to have export const $decName: DecNameDecorator = (...) => ...
|
|
6
6
|
*/
|
|
7
|
-
const
|
|
7
|
+
const _decs = $decorators["TypeSpec.HttpClient.CSharp"];
|
|
8
8
|
//# sourceMappingURL=TypeSpec.HttpClient.CSharp.ts-test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSpec.HttpClient.CSharp.ts-test.js","sourceRoot":"","sources":["../../generated-defs/TypeSpec.HttpClient.CSharp.ts-test.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,+BAA+B;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D;;GAEG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"TypeSpec.HttpClient.CSharp.ts-test.js","sourceRoot":"","sources":["../../generated-defs/TypeSpec.HttpClient.CSharp.ts-test.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,+BAA+B;AAE/B,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D;;GAEG;AACH,MAAM,KAAK,GAAuC,WAAW,CAAC,4BAA4B,CAAC,CAAC"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/http-client-csharp",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20260311.2",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting Http Client libraries for C#.",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -52,34 +52,34 @@
|
|
|
52
52
|
"emitter/lib/*.tsp"
|
|
53
53
|
],
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@azure-tools/typespec-client-generator-core": ">=0.
|
|
56
|
-
"@typespec/compiler": "^1.
|
|
57
|
-
"@typespec/http": "^1.
|
|
58
|
-
"@typespec/openapi": "^1.
|
|
59
|
-
"@typespec/rest": ">=0.
|
|
60
|
-
"@typespec/sse": ">=0.
|
|
61
|
-
"@typespec/streams": ">=0.
|
|
62
|
-
"@typespec/versioning": ">=0.
|
|
55
|
+
"@azure-tools/typespec-client-generator-core": ">=0.66.1 <0.67.0 || ~0.67.0-0",
|
|
56
|
+
"@typespec/compiler": "^1.10.0",
|
|
57
|
+
"@typespec/http": "^1.10.0",
|
|
58
|
+
"@typespec/openapi": "^1.10.0",
|
|
59
|
+
"@typespec/rest": ">=0.80.0 <0.81.0 || ~0.81.0-0",
|
|
60
|
+
"@typespec/sse": ">=0.80.0 <0.81.0 || ~0.81.0-0",
|
|
61
|
+
"@typespec/streams": ">=0.80.0 <0.81.0 || ~0.81.0-0",
|
|
62
|
+
"@typespec/versioning": ">=0.80.0 <0.81.0 || ~0.81.0-0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@azure-tools/azure-http-specs": "0.1.0-alpha.
|
|
66
|
-
"@azure-tools/typespec-azure-core": "0.
|
|
67
|
-
"@azure-tools/typespec-client-generator-core": "0.
|
|
65
|
+
"@azure-tools/azure-http-specs": "0.1.0-alpha.38",
|
|
66
|
+
"@azure-tools/typespec-azure-core": "0.66.0",
|
|
67
|
+
"@azure-tools/typespec-client-generator-core": "0.66.1",
|
|
68
68
|
"@microsoft/api-extractor": "^7.52.2",
|
|
69
69
|
"@types/node": "~22.12.0",
|
|
70
|
-
"@typespec/compiler": "1.
|
|
71
|
-
"@typespec/http": "1.
|
|
72
|
-
"@typespec/http-specs": "0.1.0-alpha.
|
|
73
|
-
"@typespec/json-schema": "1.
|
|
74
|
-
"@typespec/library-linter": "0.
|
|
75
|
-
"@typespec/openapi": "1.
|
|
76
|
-
"@typespec/rest": "0.
|
|
77
|
-
"@typespec/spector": "0.1.0-alpha.
|
|
78
|
-
"@typespec/sse": "0.
|
|
79
|
-
"@typespec/streams": "0.
|
|
80
|
-
"@typespec/tspd": "0.
|
|
81
|
-
"@typespec/versioning": "0.
|
|
82
|
-
"@typespec/xml": "0.
|
|
70
|
+
"@typespec/compiler": "1.10.0",
|
|
71
|
+
"@typespec/http": "1.10.0",
|
|
72
|
+
"@typespec/http-specs": "0.1.0-alpha.33",
|
|
73
|
+
"@typespec/json-schema": "1.10.0",
|
|
74
|
+
"@typespec/library-linter": "0.80.0",
|
|
75
|
+
"@typespec/openapi": "1.10.0",
|
|
76
|
+
"@typespec/rest": "0.80.0",
|
|
77
|
+
"@typespec/spector": "0.1.0-alpha.24",
|
|
78
|
+
"@typespec/sse": "0.80.0",
|
|
79
|
+
"@typespec/streams": "0.80.0",
|
|
80
|
+
"@typespec/tspd": "0.74.1",
|
|
81
|
+
"@typespec/versioning": "0.80.0",
|
|
82
|
+
"@typespec/xml": "0.80.0",
|
|
83
83
|
"@vitest/coverage-v8": "^3.0.5",
|
|
84
84
|
"@vitest/ui": "^3.0.5",
|
|
85
85
|
"c8": "^10.1.2",
|