@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20260511.1 → 1.0.0-alpha.20260512.4
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/emitter.d.ts.map +1 -1
- package/dist/emitter/emitter.js +2 -1
- package/dist/emitter/emitter.js.map +1 -1
- package/dist/emitter/sdk-context-options.d.ts +16 -0
- package/dist/emitter/sdk-context-options.d.ts.map +1 -1
- package/dist/emitter/sdk-context-options.js +60 -0
- package/dist/emitter/sdk-context-options.js.map +1 -1
- package/dist/generator/Azure.Generator.Management.deps.json +27 -27
- package/dist/generator/Azure.Generator.Management.dll +0 -0
- package/dist/generator/Azure.Generator.Management.pdb +0 -0
- package/dist/generator/Azure.Generator.Management.xml +16 -0
- package/dist/generator/Azure.Generator.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.Input.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.Management.deps.json +27 -27
- package/dist/generator/net10.0/Azure.Generator.Management.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.Management.pdb +0 -0
- package/dist/generator/net10.0/Azure.Generator.Management.xml +16 -0
- package/dist/generator/net10.0/Azure.Generator.dll +0 -0
- package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
- package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.Input.dll +0 -0
- package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.dll +0 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../emitter/src/emitter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../emitter/src/emitter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAYjD,OAAO,EACL,uBAAuB,EAExB,MAAM,cAAc,CAAC;AAOtB,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,uBAAuB,CAAC,iBA+B1E"}
|
package/dist/emitter/emitter.js
CHANGED
|
@@ -1,7 +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
3
|
import { emitAzureCodeModel } from "@azure-typespec/http-client-csharp";
|
|
4
|
-
import { azureSDKContextOptions, flattenPropertyDecorator } from "./sdk-context-options.js";
|
|
4
|
+
import { azureSDKContextOptions, flattenPropertyDecorator, setHasClientNameOverride } from "./sdk-context-options.js";
|
|
5
5
|
import { updateClients } from "./resource-detection.js";
|
|
6
6
|
import { filterSuppressedDiagnostics } from "./options.js";
|
|
7
7
|
import { transformSubscriptionIdParameters } from "./subscription-id-transformer.js";
|
|
@@ -27,6 +27,7 @@ export async function $onEmit(context) {
|
|
|
27
27
|
fixClientApiVersions(codeModel, sdkContext);
|
|
28
28
|
updateClients(codeModel, sdkContext, context.options);
|
|
29
29
|
setFlattenProperty(codeModel, sdkContext);
|
|
30
|
+
setHasClientNameOverride(codeModel, sdkContext);
|
|
30
31
|
return codeModel;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitter.js","sourceRoot":"","sources":["../../emitter/src/emitter.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAM/F,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,OAAO,EAEL,2BAA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,OAAO,CAAC,iBAAiB,CAAC,2BAA2B,CAAC,WAAW,CAAC,CAAC,CAAC;IAE5E,SAAS,eAAe,CACtB,SAAoB,EACpB,UAAgC;QAEhC,wEAAwE;QACxE,qFAAqF;QACrF,iCAAiC,CAAC,SAAS,CAAC,CAAC;QAE7C,uEAAuE;QACvE,mDAAmD;QACnD,qDAAqD;QACrD,0BAA0B,CAAC,SAAS,CAAC,CAAC;QAEtC,sEAAsE;QACtE,8FAA8F;QAC9F,gGAAgG;QAChG,oBAAoB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;QAE5C,aAAa,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;QACtD,kBAAkB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;QAC1C,wBAAwB,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;QAChD,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CACzB,SAAoB,EACpB,UAAgC;IAEhC,KAAK,MAAM,KAAK,IAAI,UAAU,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QACjD,KAAK,MAAM,QAAQ,IAAI,KAAK,CAAC,UAAU,EAAE,CAAC;YACxC,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;gBACrB,MAAM,gCAAgC,GAAkB;oBACtD,IAAI,EAAE,wBAAwB;oBAC9B,SAAS,EAAE,EAAE;iBACd,CAAC;gBACF,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;YAC7D,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CreateSdkContextOptions } from "@azure-tools/typespec-client-generator-core";
|
|
2
|
+
import { CodeModel, CSharpEmitterContext } from "@typespec/http-client-csharp";
|
|
2
3
|
export declare const parentResource = "TypeSpec.Rest.@parentResource";
|
|
3
4
|
export declare const parentResourceName = "@parentResource";
|
|
4
5
|
export declare const armResourceOperations = "Azure.ResourceManager.@armResourceOperations";
|
|
@@ -31,5 +32,20 @@ export declare const resourceMetadata = "Azure.ClientGenerator.Core.@resourceSch
|
|
|
31
32
|
export declare const nonResourceMethodMetadata = "Azure.ClientGenerator.Core.@nonResourceMethodSchema";
|
|
32
33
|
export declare const armProviderSchema = "Azure.ClientGenerator.Core.@armProviderSchema";
|
|
33
34
|
export declare const flattenPropertyDecorator = "Azure.ResourceManager.@flattenProperty";
|
|
35
|
+
export declare const hasClientNameOverrideDecorator = "Azure.ResourceManager.@hasClientNameOverride";
|
|
34
36
|
export declare const azureSDKContextOptions: CreateSdkContextOptions;
|
|
37
|
+
/**
|
|
38
|
+
* Stamps a marker decorator onto every InputModelType whose underlying TypeSpec model
|
|
39
|
+
* carries a user-supplied `@@clientName` override (csharp scope or unscoped), and onto
|
|
40
|
+
* every InputOperation whose service method has the same override. The management
|
|
41
|
+
* generator's NameVisitor / MockableResourceProvider read this marker to suppress
|
|
42
|
+
* automatic renaming so user-chosen names are preserved.
|
|
43
|
+
*
|
|
44
|
+
* The base C# emitter copies `decorators` into InputModelType via `getAllModelDecorators`,
|
|
45
|
+
* which produces a fresh array, so we must mutate `codeModel.models[].decorators`
|
|
46
|
+
* directly rather than `sdkPackage.models[].decorators`. For operations,
|
|
47
|
+
* `fromSdkServiceMethodOperation` copies `SdkServiceMethod.decorators` by reference
|
|
48
|
+
* into `InputOperation.decorators`, so pushing onto the SdkServiceMethod array works.
|
|
49
|
+
*/
|
|
50
|
+
export declare function setHasClientNameOverride(codeModel: CodeModel, sdkContext: CSharpEmitterContext): void;
|
|
35
51
|
//# sourceMappingURL=sdk-context-options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-context-options.d.ts","sourceRoot":"","sources":["../../emitter/src/sdk-context-options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,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MAAM,oBAAoB,gDACc,CAAC;AAKhD,eAAO,MAAM,cAAc,0CAA0C,CAAC;AAItE,eAAO,MAAM,qBAAqB,iDACc,CAAC;AAKjD,eAAO,MAAM,gBAAgB,+CAA+C,CAAC;AAG7E,eAAO,MAAM,yBAAyB,wDACiB,CAAC;AAKxD,eAAO,MAAM,iBAAiB,kDACmB,CAAC;AAElD,eAAO,MAAM,wBAAwB,2CACK,CAAC;AAM3C,eAAO,MAAM,8BAA8B,iDACK,CAAC;AAajD,eAAO,MAAM,sBAAsB,EAAE,uBA4BpC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,oBAAoB,GAC/B,IAAI,CA6CN"}
|
|
@@ -1,5 +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 { getClientNameOverride } from "@azure-tools/typespec-client-generator-core";
|
|
4
|
+
import { getAllSdkClients } from "./sdk-client-utils.js";
|
|
3
5
|
// https://github.com/Azure/typespec-azure/blob/main/packages/typespec-azure-resource-manager/README.md#armprovidernamespace
|
|
4
6
|
const armProviderNamespaceRegex = "Azure\\.ResourceManager\\.@armProviderNamespace";
|
|
5
7
|
// https://github.com/microsoft/typespec/blob/main/packages/rest/README.md#parentresource
|
|
@@ -69,6 +71,11 @@ const nonResourceMethodMetadataRegex = "Azure\\.ClientGenerator\\.Core\\.@nonRes
|
|
|
69
71
|
// New unified decorator for ARM provider schema
|
|
70
72
|
export const armProviderSchema = "Azure.ClientGenerator.Core.@armProviderSchema";
|
|
71
73
|
export const flattenPropertyDecorator = "Azure.ResourceManager.@flattenProperty";
|
|
74
|
+
// Synthetic decorator stamped onto InputModelType.Decorators when the user has applied
|
|
75
|
+
// a @@clientName override (csharp scope or all scopes) to the underlying TypeSpec model.
|
|
76
|
+
// Consumed by Azure.Generator.Management's NameVisitor to suppress automatic renaming
|
|
77
|
+
// of resource update models when the user has explicitly chosen a name.
|
|
78
|
+
export const hasClientNameOverrideDecorator = "Azure.ResourceManager.@hasClientNameOverride";
|
|
72
79
|
// https://azure.github.io/typespec-azure/docs/libraries/typespec-client-generator-core/reference/decorators#@Azure.ClientGenerator.Core.clientOption
|
|
73
80
|
// Propagated onto InputModelType.Decorators so the management generator can read
|
|
74
81
|
// per-model opt-outs (e.g. "disable-safe-flatten") that aren't consumed during
|
|
@@ -107,4 +114,57 @@ export const azureSDKContextOptions = {
|
|
|
107
114
|
maxLengthRegex
|
|
108
115
|
]
|
|
109
116
|
};
|
|
117
|
+
/**
|
|
118
|
+
* Stamps a marker decorator onto every InputModelType whose underlying TypeSpec model
|
|
119
|
+
* carries a user-supplied `@@clientName` override (csharp scope or unscoped), and onto
|
|
120
|
+
* every InputOperation whose service method has the same override. The management
|
|
121
|
+
* generator's NameVisitor / MockableResourceProvider read this marker to suppress
|
|
122
|
+
* automatic renaming so user-chosen names are preserved.
|
|
123
|
+
*
|
|
124
|
+
* The base C# emitter copies `decorators` into InputModelType via `getAllModelDecorators`,
|
|
125
|
+
* which produces a fresh array, so we must mutate `codeModel.models[].decorators`
|
|
126
|
+
* directly rather than `sdkPackage.models[].decorators`. For operations,
|
|
127
|
+
* `fromSdkServiceMethodOperation` copies `SdkServiceMethod.decorators` by reference
|
|
128
|
+
* into `InputOperation.decorators`, so pushing onto the SdkServiceMethod array works.
|
|
129
|
+
*/
|
|
130
|
+
export function setHasClientNameOverride(codeModel, sdkContext) {
|
|
131
|
+
const sdkModelByKey = new Map();
|
|
132
|
+
for (const sdkModel of sdkContext.sdkPackage.models) {
|
|
133
|
+
sdkModelByKey.set(`${sdkModel.namespace}.${sdkModel.name}`, sdkModel);
|
|
134
|
+
}
|
|
135
|
+
for (const inputModel of codeModel.models) {
|
|
136
|
+
const sdkModel = sdkModelByKey.get(`${inputModel.namespace}.${inputModel.name}`);
|
|
137
|
+
const raw = sdkModel?.__raw;
|
|
138
|
+
if (!raw) {
|
|
139
|
+
continue;
|
|
140
|
+
}
|
|
141
|
+
const override = getClientNameOverride(sdkContext, raw, "csharp");
|
|
142
|
+
if (override === undefined) {
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
inputModel.decorators ??= [];
|
|
146
|
+
const marker = {
|
|
147
|
+
name: hasClientNameOverrideDecorator,
|
|
148
|
+
arguments: {}
|
|
149
|
+
};
|
|
150
|
+
inputModel.decorators.push(marker);
|
|
151
|
+
}
|
|
152
|
+
for (const sdkClient of getAllSdkClients(sdkContext)) {
|
|
153
|
+
for (const sdkMethod of sdkClient.methods) {
|
|
154
|
+
const raw = sdkMethod.__raw;
|
|
155
|
+
if (!raw) {
|
|
156
|
+
continue;
|
|
157
|
+
}
|
|
158
|
+
const override = getClientNameOverride(sdkContext, raw, "csharp");
|
|
159
|
+
if (override === undefined) {
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
sdkMethod.decorators ??= [];
|
|
163
|
+
sdkMethod.decorators.push({
|
|
164
|
+
name: hasClientNameOverrideDecorator,
|
|
165
|
+
arguments: {}
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
110
170
|
//# sourceMappingURL=sdk-context-options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-context-options.js","sourceRoot":"","sources":["../../emitter/src/sdk-context-options.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;
|
|
1
|
+
{"version":3,"file":"sdk-context-options.js","sourceRoot":"","sources":["../../emitter/src/sdk-context-options.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAG/F,OAAO,EAEL,qBAAqB,EACtB,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,4HAA4H;AAC5H,MAAM,yBAAyB,GAC7B,iDAAiD,CAAC;AAEpD,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,SAAS,EAAE,EAAE;aACd,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC"}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator.Management/1.0.0-alpha.20260512.4": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.55.0",
|
|
12
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
12
|
+
"Azure.Generator": "1.0.0-alpha.20260512.2",
|
|
13
13
|
"Azure.ResourceManager": "1.14.0",
|
|
14
14
|
"Humanizer.Core": "3.0.1"
|
|
15
15
|
},
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"Azure.Generator/1.0.0-alpha.
|
|
48
|
+
"Azure.Generator/1.0.0-alpha.20260512.2": {
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"Azure.Core": "1.55.0",
|
|
51
51
|
"Azure.Core.Expressions.DataFactory": "1.0.0",
|
|
52
52
|
"Azure.ResourceManager": "1.14.0",
|
|
53
|
-
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.
|
|
53
|
+
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260511.7"
|
|
54
54
|
},
|
|
55
55
|
"runtime": {
|
|
56
56
|
"lib/net10.0/Azure.Generator.dll": {
|
|
57
57
|
"assemblyVersion": "1.0.0.0",
|
|
58
|
-
"fileVersion": "1.0.26.
|
|
58
|
+
"fileVersion": "1.0.26.26202"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
},
|
|
@@ -454,12 +454,12 @@
|
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
|
-
"Microsoft.TypeSpec.Generator/1.0.0-alpha.
|
|
457
|
+
"Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
|
|
458
458
|
"dependencies": {
|
|
459
459
|
"CommandLineParser": "2.9.1",
|
|
460
460
|
"Microsoft.Build": "17.9.5",
|
|
461
461
|
"Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
|
|
462
|
-
"Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.
|
|
462
|
+
"Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260511.7",
|
|
463
463
|
"NuGet.Configuration": "6.14.3",
|
|
464
464
|
"NuGet.Protocol": "6.14.3",
|
|
465
465
|
"NuGet.Versioning": "6.14.3",
|
|
@@ -473,10 +473,10 @@
|
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
|
-
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.
|
|
476
|
+
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
|
|
477
477
|
"dependencies": {
|
|
478
478
|
"Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
|
|
479
|
-
"Microsoft.TypeSpec.Generator": "1.0.0-alpha.
|
|
479
|
+
"Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260511.7",
|
|
480
480
|
"System.ClientModel": "1.11.0"
|
|
481
481
|
},
|
|
482
482
|
"runtime": {
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
},
|
|
489
|
-
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.
|
|
489
|
+
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
|
|
490
490
|
"dependencies": {
|
|
491
491
|
"Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
|
|
492
492
|
"System.Memory.Data": "10.0.3"
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
}
|
|
730
730
|
},
|
|
731
731
|
"libraries": {
|
|
732
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
732
|
+
"Azure.Generator.Management/1.0.0-alpha.20260512.4": {
|
|
733
733
|
"type": "project",
|
|
734
734
|
"serviceable": false,
|
|
735
735
|
"sha512": ""
|
|
@@ -748,12 +748,12 @@
|
|
|
748
748
|
"path": "azure.core.expressions.datafactory/1.0.0",
|
|
749
749
|
"hashPath": "azure.core.expressions.datafactory.1.0.0.nupkg.sha512"
|
|
750
750
|
},
|
|
751
|
-
"Azure.Generator/1.0.0-alpha.
|
|
751
|
+
"Azure.Generator/1.0.0-alpha.20260512.2": {
|
|
752
752
|
"type": "package",
|
|
753
753
|
"serviceable": true,
|
|
754
|
-
"sha512": "sha512-
|
|
755
|
-
"path": "azure.generator/1.0.0-alpha.
|
|
756
|
-
"hashPath": "azure.generator.1.0.0-alpha.
|
|
754
|
+
"sha512": "sha512-jTrlvhv4X+387uAfWtUSuRJ/pfPK+5jM6nmcBvF+RWqe1idmjMR8cO0TAPWYillNHzCvUOW4ACC5O08gmorxow==",
|
|
755
|
+
"path": "azure.generator/1.0.0-alpha.20260512.2",
|
|
756
|
+
"hashPath": "azure.generator.1.0.0-alpha.20260512.2.nupkg.sha512"
|
|
757
757
|
},
|
|
758
758
|
"Azure.ResourceManager/1.14.0": {
|
|
759
759
|
"type": "package",
|
|
@@ -909,26 +909,26 @@
|
|
|
909
909
|
"path": "microsoft.net.stringtools/17.9.5",
|
|
910
910
|
"hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
|
|
911
911
|
},
|
|
912
|
-
"Microsoft.TypeSpec.Generator/1.0.0-alpha.
|
|
912
|
+
"Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
|
|
913
913
|
"type": "package",
|
|
914
914
|
"serviceable": true,
|
|
915
|
-
"sha512": "sha512-
|
|
916
|
-
"path": "microsoft.typespec.generator/1.0.0-alpha.
|
|
917
|
-
"hashPath": "microsoft.typespec.generator.1.0.0-alpha.
|
|
915
|
+
"sha512": "sha512-UazYK9J6WrKJ6jhmfPQVk9CNNkF+M/pIZA3mv1ZdzCiMjYW1OV3pftdOyCfrPtH1yGdvml0NfQwRqXzp/Jy5yQ==",
|
|
916
|
+
"path": "microsoft.typespec.generator/1.0.0-alpha.20260511.7",
|
|
917
|
+
"hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260511.7.nupkg.sha512"
|
|
918
918
|
},
|
|
919
|
-
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.
|
|
919
|
+
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
|
|
920
920
|
"type": "package",
|
|
921
921
|
"serviceable": true,
|
|
922
|
-
"sha512": "sha512
|
|
923
|
-
"path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.
|
|
924
|
-
"hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.
|
|
922
|
+
"sha512": "sha512-1Jl/0opEWANMllzYlwdUKlSDu9Q/g9s5qMIuY50nhIJCR+0rbUST2aO6vGYcTgsOasppThJxy0ygyS3vrjaCBg==",
|
|
923
|
+
"path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260511.7",
|
|
924
|
+
"hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260511.7.nupkg.sha512"
|
|
925
925
|
},
|
|
926
|
-
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.
|
|
926
|
+
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
|
|
927
927
|
"type": "package",
|
|
928
928
|
"serviceable": true,
|
|
929
|
-
"sha512": "sha512-
|
|
930
|
-
"path": "microsoft.typespec.generator.input/1.0.0-alpha.
|
|
931
|
-
"hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.
|
|
929
|
+
"sha512": "sha512-Jb8vNTEdcIGgr0iVZ1Q6gjyCmjiYa2n+/zYCvfp4M/ZJ55l5uX/qKGCD9zw31GTzytOGSKSNJRX1rcp2tWl5ig==",
|
|
930
|
+
"path": "microsoft.typespec.generator.input/1.0.0-alpha.20260511.7",
|
|
931
|
+
"hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260511.7.nupkg.sha512"
|
|
932
932
|
},
|
|
933
933
|
"Newtonsoft.Json/13.0.3": {
|
|
934
934
|
"type": "package",
|
|
Binary file
|
|
Binary file
|
|
@@ -46,6 +46,22 @@
|
|
|
46
46
|
<c>@@clientOption(Model, "disable-safe-flatten", true, "csharp")</c> decorators.
|
|
47
47
|
</summary>
|
|
48
48
|
</member>
|
|
49
|
+
<member name="P:Azure.Generator.Management.ManagementInputLibrary.ClientNameOverriddenModels">
|
|
50
|
+
<summary>
|
|
51
|
+
Set of input models for which the user has supplied a <c>@@clientName</c> override
|
|
52
|
+
(csharp scope or unscoped). The mgmt emitter stamps a synthetic
|
|
53
|
+
<c>Azure.ResourceManager.@hasClientNameOverride</c> decorator on these models so the
|
|
54
|
+
generator can detect them without re-running TCGC scope resolution.
|
|
55
|
+
</summary>
|
|
56
|
+
</member>
|
|
57
|
+
<member name="P:Azure.Generator.Management.ManagementInputLibrary.ClientNameOverriddenMethods">
|
|
58
|
+
<summary>
|
|
59
|
+
Set of service methods whose underlying TypeSpec operation carries a user-supplied
|
|
60
|
+
<c>@@clientName</c> override (csharp scope or unscoped). The marker is stamped onto
|
|
61
|
+
the underlying <see cref="T:Microsoft.TypeSpec.Generator.Input.InputOperation"/>'s decorators by the mgmt emitter, because
|
|
62
|
+
<see cref="T:Microsoft.TypeSpec.Generator.Input.InputServiceMethod"/> itself has no <c>Decorators</c> property.
|
|
63
|
+
</summary>
|
|
64
|
+
</member>
|
|
49
65
|
<member name="M:Azure.Generator.Management.ManagementInputLibrary.#ctor(System.String)">
|
|
50
66
|
<inheritdoc/>
|
|
51
67
|
</member>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator.Management/1.0.0-alpha.20260512.4": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.55.0",
|
|
12
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
12
|
+
"Azure.Generator": "1.0.0-alpha.20260512.2",
|
|
13
13
|
"Azure.ResourceManager": "1.14.0",
|
|
14
14
|
"Humanizer.Core": "3.0.1"
|
|
15
15
|
},
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
"Azure.Generator/1.0.0-alpha.
|
|
48
|
+
"Azure.Generator/1.0.0-alpha.20260512.2": {
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"Azure.Core": "1.55.0",
|
|
51
51
|
"Azure.Core.Expressions.DataFactory": "1.0.0",
|
|
52
52
|
"Azure.ResourceManager": "1.14.0",
|
|
53
|
-
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.
|
|
53
|
+
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260511.7"
|
|
54
54
|
},
|
|
55
55
|
"runtime": {
|
|
56
56
|
"lib/net10.0/Azure.Generator.dll": {
|
|
57
57
|
"assemblyVersion": "1.0.0.0",
|
|
58
|
-
"fileVersion": "1.0.26.
|
|
58
|
+
"fileVersion": "1.0.26.26202"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
},
|
|
@@ -454,12 +454,12 @@
|
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
|
-
"Microsoft.TypeSpec.Generator/1.0.0-alpha.
|
|
457
|
+
"Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
|
|
458
458
|
"dependencies": {
|
|
459
459
|
"CommandLineParser": "2.9.1",
|
|
460
460
|
"Microsoft.Build": "17.9.5",
|
|
461
461
|
"Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
|
|
462
|
-
"Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.
|
|
462
|
+
"Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260511.7",
|
|
463
463
|
"NuGet.Configuration": "6.14.3",
|
|
464
464
|
"NuGet.Protocol": "6.14.3",
|
|
465
465
|
"NuGet.Versioning": "6.14.3",
|
|
@@ -473,10 +473,10 @@
|
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
},
|
|
476
|
-
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.
|
|
476
|
+
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
|
|
477
477
|
"dependencies": {
|
|
478
478
|
"Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
|
|
479
|
-
"Microsoft.TypeSpec.Generator": "1.0.0-alpha.
|
|
479
|
+
"Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260511.7",
|
|
480
480
|
"System.ClientModel": "1.11.0"
|
|
481
481
|
},
|
|
482
482
|
"runtime": {
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
488
|
},
|
|
489
|
-
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.
|
|
489
|
+
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
|
|
490
490
|
"dependencies": {
|
|
491
491
|
"Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
|
|
492
492
|
"System.Memory.Data": "10.0.3"
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
}
|
|
730
730
|
},
|
|
731
731
|
"libraries": {
|
|
732
|
-
"Azure.Generator.Management/1.0.0-alpha.
|
|
732
|
+
"Azure.Generator.Management/1.0.0-alpha.20260512.4": {
|
|
733
733
|
"type": "project",
|
|
734
734
|
"serviceable": false,
|
|
735
735
|
"sha512": ""
|
|
@@ -748,12 +748,12 @@
|
|
|
748
748
|
"path": "azure.core.expressions.datafactory/1.0.0",
|
|
749
749
|
"hashPath": "azure.core.expressions.datafactory.1.0.0.nupkg.sha512"
|
|
750
750
|
},
|
|
751
|
-
"Azure.Generator/1.0.0-alpha.
|
|
751
|
+
"Azure.Generator/1.0.0-alpha.20260512.2": {
|
|
752
752
|
"type": "package",
|
|
753
753
|
"serviceable": true,
|
|
754
|
-
"sha512": "sha512-
|
|
755
|
-
"path": "azure.generator/1.0.0-alpha.
|
|
756
|
-
"hashPath": "azure.generator.1.0.0-alpha.
|
|
754
|
+
"sha512": "sha512-jTrlvhv4X+387uAfWtUSuRJ/pfPK+5jM6nmcBvF+RWqe1idmjMR8cO0TAPWYillNHzCvUOW4ACC5O08gmorxow==",
|
|
755
|
+
"path": "azure.generator/1.0.0-alpha.20260512.2",
|
|
756
|
+
"hashPath": "azure.generator.1.0.0-alpha.20260512.2.nupkg.sha512"
|
|
757
757
|
},
|
|
758
758
|
"Azure.ResourceManager/1.14.0": {
|
|
759
759
|
"type": "package",
|
|
@@ -909,26 +909,26 @@
|
|
|
909
909
|
"path": "microsoft.net.stringtools/17.9.5",
|
|
910
910
|
"hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
|
|
911
911
|
},
|
|
912
|
-
"Microsoft.TypeSpec.Generator/1.0.0-alpha.
|
|
912
|
+
"Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
|
|
913
913
|
"type": "package",
|
|
914
914
|
"serviceable": true,
|
|
915
|
-
"sha512": "sha512-
|
|
916
|
-
"path": "microsoft.typespec.generator/1.0.0-alpha.
|
|
917
|
-
"hashPath": "microsoft.typespec.generator.1.0.0-alpha.
|
|
915
|
+
"sha512": "sha512-UazYK9J6WrKJ6jhmfPQVk9CNNkF+M/pIZA3mv1ZdzCiMjYW1OV3pftdOyCfrPtH1yGdvml0NfQwRqXzp/Jy5yQ==",
|
|
916
|
+
"path": "microsoft.typespec.generator/1.0.0-alpha.20260511.7",
|
|
917
|
+
"hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260511.7.nupkg.sha512"
|
|
918
918
|
},
|
|
919
|
-
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.
|
|
919
|
+
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
|
|
920
920
|
"type": "package",
|
|
921
921
|
"serviceable": true,
|
|
922
|
-
"sha512": "sha512
|
|
923
|
-
"path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.
|
|
924
|
-
"hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.
|
|
922
|
+
"sha512": "sha512-1Jl/0opEWANMllzYlwdUKlSDu9Q/g9s5qMIuY50nhIJCR+0rbUST2aO6vGYcTgsOasppThJxy0ygyS3vrjaCBg==",
|
|
923
|
+
"path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260511.7",
|
|
924
|
+
"hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260511.7.nupkg.sha512"
|
|
925
925
|
},
|
|
926
|
-
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.
|
|
926
|
+
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
|
|
927
927
|
"type": "package",
|
|
928
928
|
"serviceable": true,
|
|
929
|
-
"sha512": "sha512-
|
|
930
|
-
"path": "microsoft.typespec.generator.input/1.0.0-alpha.
|
|
931
|
-
"hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.
|
|
929
|
+
"sha512": "sha512-Jb8vNTEdcIGgr0iVZ1Q6gjyCmjiYa2n+/zYCvfp4M/ZJ55l5uX/qKGCD9zw31GTzytOGSKSNJRX1rcp2tWl5ig==",
|
|
930
|
+
"path": "microsoft.typespec.generator.input/1.0.0-alpha.20260511.7",
|
|
931
|
+
"hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260511.7.nupkg.sha512"
|
|
932
932
|
},
|
|
933
933
|
"Newtonsoft.Json/13.0.3": {
|
|
934
934
|
"type": "package",
|
|
Binary file
|
|
Binary file
|
|
@@ -46,6 +46,22 @@
|
|
|
46
46
|
<c>@@clientOption(Model, "disable-safe-flatten", true, "csharp")</c> decorators.
|
|
47
47
|
</summary>
|
|
48
48
|
</member>
|
|
49
|
+
<member name="P:Azure.Generator.Management.ManagementInputLibrary.ClientNameOverriddenModels">
|
|
50
|
+
<summary>
|
|
51
|
+
Set of input models for which the user has supplied a <c>@@clientName</c> override
|
|
52
|
+
(csharp scope or unscoped). The mgmt emitter stamps a synthetic
|
|
53
|
+
<c>Azure.ResourceManager.@hasClientNameOverride</c> decorator on these models so the
|
|
54
|
+
generator can detect them without re-running TCGC scope resolution.
|
|
55
|
+
</summary>
|
|
56
|
+
</member>
|
|
57
|
+
<member name="P:Azure.Generator.Management.ManagementInputLibrary.ClientNameOverriddenMethods">
|
|
58
|
+
<summary>
|
|
59
|
+
Set of service methods whose underlying TypeSpec operation carries a user-supplied
|
|
60
|
+
<c>@@clientName</c> override (csharp scope or unscoped). The marker is stamped onto
|
|
61
|
+
the underlying <see cref="T:Microsoft.TypeSpec.Generator.Input.InputOperation"/>'s decorators by the mgmt emitter, because
|
|
62
|
+
<see cref="T:Microsoft.TypeSpec.Generator.Input.InputServiceMethod"/> itself has no <c>Decorators</c> property.
|
|
63
|
+
</summary>
|
|
64
|
+
</member>
|
|
49
65
|
<member name="M:Azure.Generator.Management.ManagementInputLibrary.#ctor(System.String)">
|
|
50
66
|
<inheritdoc/>
|
|
51
67
|
</member>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-typespec/http-client-csharp-mgmt",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20260512.4",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting Azure management libraries for C#.",
|
|
6
6
|
"readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp-mgmt/README.md",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"dist/**"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@azure-typespec/http-client-csharp": "1.0.0-alpha.
|
|
42
|
-
"@typespec/http-client-csharp": "1.0.0-alpha.
|
|
41
|
+
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20260512.2",
|
|
42
|
+
"@typespec/http-client-csharp": "1.0.0-alpha.20260511.7"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@azure-tools/azure-http-specs": "0.1.0-alpha.40-dev.10",
|