diff --git a/packages/http-client-csharp/emitter/src/lib/type-converter.ts b/packages/http-client-csharp/emitter/src/lib/type-converter.ts index ded35eb85e8..10ca931a054 100644 --- a/packages/http-client-csharp/emitter/src/lib/type-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/type-converter.ts @@ -329,7 +329,9 @@ function createEnumType( values: values, // constantType.access, TODO - constant type now does not have access. TCGC will add it later access: - sdkType.kind === "enum" ? getAccessOverride(sdkContext, sdkType.__raw as any) : undefined, + sdkType.kind === "enum" && sdkType.__raw + ? getAccessOverride(sdkContext, sdkType.__raw as any) + : undefined, namespace: namespace, deprecation: sdkType.deprecation, summary: sdkType.summary, diff --git a/packages/http-client-csharp/emitter/src/lib/utils.ts b/packages/http-client-csharp/emitter/src/lib/utils.ts index aa8af4d3889..3f0ff32ffc3 100644 --- a/packages/http-client-csharp/emitter/src/lib/utils.ts +++ b/packages/http-client-csharp/emitter/src/lib/utils.ts @@ -234,5 +234,5 @@ export function containsMultiServiceClient( * @beta */ export function isMultiServiceClient(client: SdkClientType): boolean { - return Array.isArray(client.__raw.service) && client.__raw.service.length > 1; + return client.__raw.services.length > 1; } diff --git a/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts b/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts index 8aa7561cbf7..77c21d09e02 100644 --- a/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts @@ -72,8 +72,8 @@ describe("isMultiServiceClient", () => { @client({ name: "CombinedClient", service: [ServiceA, ServiceB], + autoMergeService: true, }) - @useDependency(ServiceA.VersionsA.av1, ServiceB.VersionsB.bv2) namespace Service.MultiService {} `, runner, @@ -210,6 +210,7 @@ describe("isMultiServiceClient", () => { @client({ name: "CombinedClient", service: [ServiceA, ServiceB], + autoMergeService: true, }) namespace Service.MultiService {} @@ -426,8 +427,8 @@ describe("client name suffix", () => { @client({ name: "Combined", service: [ServiceA, ServiceB], + autoMergeService: true, }) - @useDependency(ServiceA.VersionsA.av1, ServiceB.VersionsB.bv1) namespace Service.MultiService {} `, runner, diff --git a/packages/http-client-csharp/emitter/test/Unit/client-model-builder.test.ts b/packages/http-client-csharp/emitter/test/Unit/client-model-builder.test.ts index 908ed25ab19..5ce773fe969 100644 --- a/packages/http-client-csharp/emitter/test/Unit/client-model-builder.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/client-model-builder.test.ts @@ -290,8 +290,8 @@ describe("parseApiVersions", () => { @client({ name: "CombinedClient", service: [ServiceA, ServiceB], + autoMergeService: true, }) - @useDependency(ServiceA.VersionsA.av1, ServiceB.VersionsB.bv2) namespace Service.MultiService {} `, runner, @@ -406,6 +406,7 @@ describe("parseApiVersions", () => { @client({ name: "CombinedClient", service: [ServiceA, ServiceB], + autoMergeService: true, }) namespace Service.MultiService {} diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs index 8842d696981..00b3f0e971c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.RestClient.cs @@ -219,14 +219,14 @@ internal PipelineMessage CreateReturnsAnonymousModelRequest(RequestOptions optio return message; } - internal PipelineMessage CreateGetUnknownValueRequest(string accept, RequestOptions options) + internal PipelineMessage CreateGetUnknownValueRequest(RequestOptions options) { ClientUriBuilder uri = new ClientUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/unknown-value", false); PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200); PipelineRequest request = message.Request; - request.Headers.Set("Accept", accept); + request.Headers.Set("Accept", "text/plain"); message.Apply(options); return message; } diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.cs index 1f9910fa362..d9eea363b0a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecClient.cs @@ -1053,17 +1053,12 @@ public virtual async Task> ReturnsAn /// /// /// - /// /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// The response returned from the service. - public virtual ClientResult GetUnknownValue(string accept, RequestOptions options) + public virtual ClientResult GetUnknownValue(RequestOptions options) { - Argument.AssertNotNullOrEmpty(accept, nameof(accept)); - - using PipelineMessage message = CreateGetUnknownValueRequest(accept, options); + using PipelineMessage message = CreateGetUnknownValueRequest(options); return ClientResult.FromResponse(Pipeline.ProcessMessage(message, options)); } @@ -1075,45 +1070,30 @@ public virtual ClientResult GetUnknownValue(string accept, RequestOptions option /// /// /// - /// /// The request options, which can override default behaviors of the client pipeline on a per-call basis. - /// is null. - /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. /// The response returned from the service. - public virtual async Task GetUnknownValueAsync(string accept, RequestOptions options) + public virtual async Task GetUnknownValueAsync(RequestOptions options) { - Argument.AssertNotNullOrEmpty(accept, nameof(accept)); - - using PipelineMessage message = CreateGetUnknownValueRequest(accept, options); + using PipelineMessage message = CreateGetUnknownValueRequest(options); return ClientResult.FromResponse(await Pipeline.ProcessMessageAsync(message, options).ConfigureAwait(false)); } /// get extensible enum. - /// /// The cancellation token that can be used to cancel the operation. - /// is null. - /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. - public virtual ClientResult GetUnknownValue(string accept, CancellationToken cancellationToken = default) + public virtual ClientResult GetUnknownValue(CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(accept, nameof(accept)); - - ClientResult result = GetUnknownValue(accept, cancellationToken.ToRequestOptions()); + ClientResult result = GetUnknownValue(cancellationToken.ToRequestOptions()); return ClientResult.FromValue(result.GetRawResponse().Content.ToString(), result.GetRawResponse()); } /// get extensible enum. - /// /// The cancellation token that can be used to cancel the operation. - /// is null. - /// is an empty string, and was expected to be non-empty. /// Service returned a non-success status code. - public virtual async Task> GetUnknownValueAsync(string accept, CancellationToken cancellationToken = default) + public virtual async Task> GetUnknownValueAsync(CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(accept, nameof(accept)); - - ClientResult result = await GetUnknownValueAsync(accept, cancellationToken.ToRequestOptions()).ConfigureAwait(false); + ClientResult result = await GetUnknownValueAsync(cancellationToken.ToRequestOptions()).ConfigureAwait(false); return ClientResult.FromValue(result.GetRawResponse().Content.ToString(), result.GetRawResponse()); } diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json index eb5275b0626..812373536f1 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json @@ -3731,7 +3731,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "ListWithContinuationTokenHeaderResponse.Response.anonymous.things", + "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationTokenHeaderResponse.Response.anonymous.things", "serializationOptions": { "json": { "name": "things" @@ -9537,9 +9537,126 @@ "serializedName": "Accept", "type": { "$id": "696", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "kind": "enum", + "name": "getUnknownValueContentType", + "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue.accept", + "valueType": { + "$id": "697", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "698", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + }, + { + "$id": "699", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + }, + { + "$id": "700", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + }, + { + "$id": "701", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + }, + { + "$id": "702", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + }, + { + "$id": "703", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + }, + { + "$id": "704", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + }, + { + "$id": "705", + "kind": "enumvalue", + "name": "text/plain", + "value": "text/plain", + "valueType": { + "$ref": "697" + }, + "enumType": { + "$ref": "696" + }, + "decorators": [] + } + ], + "namespace": "", + "isFixed": true, + "isFlags": false, + "usage": "None", "decorators": [] }, "isApiVersion": false, @@ -9551,7 +9668,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue.accept", "methodParameterSegments": [ { - "$id": "697", + "$id": "706", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9576,7 +9693,7 @@ 200 ], "bodyType": { - "$id": "698", + "$id": "707", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9608,12 +9725,12 @@ }, "parameters": [ { - "$ref": "697" + "$ref": "706" } ], "response": { "type": { - "$ref": "698" + "$ref": "707" } }, "isOverride": false, @@ -9622,7 +9739,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue" }, { - "$id": "699", + "$id": "708", "kind": "basic", "name": "internalProtocol", "accessibility": "public", @@ -9632,14 +9749,14 @@ ], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "700", + "$id": "709", "name": "internalProtocol", "resourceName": "SampleTypeSpec", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", "parameters": [ { - "$id": "701", + "$id": "710", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -9656,7 +9773,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.contentType", "methodParameterSegments": [ { - "$id": "702", + "$id": "711", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -9676,7 +9793,7 @@ ] }, { - "$id": "703", + "$id": "712", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9692,7 +9809,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.accept", "methodParameterSegments": [ { - "$id": "704", + "$id": "713", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9711,7 +9828,7 @@ ] }, { - "$id": "705", + "$id": "714", "kind": "body", "name": "body", "serializedName": "body", @@ -9730,7 +9847,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.body", "methodParameterSegments": [ { - "$id": "706", + "$id": "715", "kind": "method", "name": "body", "serializedName": "body", @@ -9779,13 +9896,13 @@ }, "parameters": [ { - "$ref": "706" + "$ref": "715" }, { - "$ref": "702" + "$ref": "711" }, { - "$ref": "704" + "$ref": "713" } ], "response": { @@ -9799,7 +9916,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol" }, { - "$id": "707", + "$id": "716", "kind": "basic", "name": "stillConvenient", "accessibility": "public", @@ -9809,7 +9926,7 @@ ], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "708", + "$id": "717", "name": "stillConvenient", "resourceName": "SampleTypeSpec", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", @@ -9842,7 +9959,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.stillConvenient" }, { - "$id": "709", + "$id": "718", "kind": "basic", "name": "headAsBoolean", "accessibility": "public", @@ -9852,19 +9969,19 @@ ], "doc": "head as boolean.", "operation": { - "$id": "710", + "$id": "719", "name": "headAsBoolean", "resourceName": "SampleTypeSpec", "doc": "head as boolean.", "accessibility": "public", "parameters": [ { - "$id": "711", + "$id": "720", "kind": "path", "name": "id", "serializedName": "id", "type": { - "$id": "712", + "$id": "721", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9882,12 +9999,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.headAsBoolean.id", "methodParameterSegments": [ { - "$id": "713", + "$id": "722", "kind": "method", "name": "id", "serializedName": "id", "type": { - "$id": "714", + "$id": "723", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9926,7 +10043,7 @@ }, "parameters": [ { - "$ref": "713" + "$ref": "722" } ], "response": {}, @@ -9936,7 +10053,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.headAsBoolean" }, { - "$id": "715", + "$id": "724", "kind": "basic", "name": "WithApiVersion", "accessibility": "public", @@ -9946,19 +10063,19 @@ ], "doc": "Return hi again", "operation": { - "$id": "716", + "$id": "725", "name": "WithApiVersion", "resourceName": "SampleTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "717", + "$id": "726", "kind": "header", "name": "p1", "serializedName": "p1", "type": { - "$id": "718", + "$id": "727", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9973,12 +10090,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion.p1", "methodParameterSegments": [ { - "$id": "719", + "$id": "728", "kind": "method", "name": "p1", "serializedName": "p1", "type": { - "$id": "720", + "$id": "729", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9996,12 +10113,12 @@ ] }, { - "$id": "721", + "$id": "730", "kind": "query", "name": "apiVersion", "serializedName": "apiVersion", "type": { - "$id": "722", + "$id": "731", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10011,7 +10128,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "723", + "$id": "732", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10025,12 +10142,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "724", + "$id": "733", "kind": "method", "name": "apiVersion", "serializedName": "apiVersion", "type": { - "$id": "725", + "$id": "734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10040,7 +10157,7 @@ "isApiVersion": true, "defaultValue": { "type": { - "$id": "726", + "$id": "735", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10078,7 +10195,7 @@ }, "parameters": [ { - "$ref": "719" + "$ref": "728" } ], "response": {}, @@ -10088,7 +10205,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion" }, { - "$id": "727", + "$id": "736", "kind": "paging", "name": "ListWithNextLink", "accessibility": "public", @@ -10098,14 +10215,14 @@ ], "doc": "List things with nextlink", "operation": { - "$id": "728", + "$id": "737", "name": "ListWithNextLink", "resourceName": "SampleTypeSpec", "doc": "List things with nextlink", "accessibility": "public", "parameters": [ { - "$id": "729", + "$id": "738", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10121,7 +10238,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithNextLink.accept", "methodParameterSegments": [ { - "$id": "730", + "$id": "739", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10167,7 +10284,7 @@ }, "parameters": [ { - "$ref": "730" + "$ref": "739" } ], "response": { @@ -10196,7 +10313,7 @@ } }, { - "$id": "731", + "$id": "740", "kind": "paging", "name": "ListWithStringNextLink", "accessibility": "public", @@ -10206,14 +10323,14 @@ ], "doc": "List things with nextlink", "operation": { - "$id": "732", + "$id": "741", "name": "ListWithStringNextLink", "resourceName": "SampleTypeSpec", "doc": "List things with nextlink", "accessibility": "public", "parameters": [ { - "$id": "733", + "$id": "742", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10229,7 +10346,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithStringNextLink.accept", "methodParameterSegments": [ { - "$id": "734", + "$id": "743", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10275,7 +10392,7 @@ }, "parameters": [ { - "$ref": "734" + "$ref": "743" } ], "response": { @@ -10304,7 +10421,7 @@ } }, { - "$id": "735", + "$id": "744", "kind": "paging", "name": "ListWithContinuationToken", "accessibility": "public", @@ -10314,19 +10431,19 @@ ], "doc": "List things with continuation token", "operation": { - "$id": "736", + "$id": "745", "name": "ListWithContinuationToken", "resourceName": "SampleTypeSpec", "doc": "List things with continuation token", "accessibility": "public", "parameters": [ { - "$id": "737", + "$id": "746", "kind": "query", "name": "token", "serializedName": "token", "type": { - "$id": "738", + "$id": "747", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10341,12 +10458,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "739", + "$id": "748", "kind": "method", "name": "token", "serializedName": "token", "type": { - "$id": "740", + "$id": "749", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10364,7 +10481,7 @@ ] }, { - "$id": "741", + "$id": "750", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10380,7 +10497,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationToken.accept", "methodParameterSegments": [ { - "$id": "742", + "$id": "751", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10426,10 +10543,10 @@ }, "parameters": [ { - "$ref": "739" + "$ref": "748" }, { - "$ref": "742" + "$ref": "751" } ], "response": { @@ -10450,7 +10567,7 @@ ], "continuationToken": { "parameter": { - "$ref": "737" + "$ref": "746" }, "responseSegments": [ "nextToken" @@ -10461,7 +10578,7 @@ } }, { - "$id": "743", + "$id": "752", "kind": "paging", "name": "ListWithContinuationTokenHeaderResponse", "accessibility": "public", @@ -10471,19 +10588,19 @@ ], "doc": "List things with continuation token header response", "operation": { - "$id": "744", + "$id": "753", "name": "ListWithContinuationTokenHeaderResponse", "resourceName": "SampleTypeSpec", "doc": "List things with continuation token header response", "accessibility": "public", "parameters": [ { - "$id": "745", + "$id": "754", "kind": "query", "name": "token", "serializedName": "token", "type": { - "$id": "746", + "$id": "755", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10498,12 +10615,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "747", + "$id": "756", "kind": "method", "name": "token", "serializedName": "token", "type": { - "$id": "748", + "$id": "757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10521,7 +10638,7 @@ ] }, { - "$id": "749", + "$id": "758", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10537,7 +10654,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationTokenHeaderResponse.accept", "methodParameterSegments": [ { - "$id": "750", + "$id": "759", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10569,7 +10686,7 @@ "name": "nextToken", "nameInResponse": "next-token", "type": { - "$id": "751", + "$id": "760", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10595,10 +10712,10 @@ }, "parameters": [ { - "$ref": "747" + "$ref": "756" }, { - "$ref": "750" + "$ref": "759" } ], "response": { @@ -10619,7 +10736,7 @@ ], "continuationToken": { "parameter": { - "$ref": "745" + "$ref": "754" }, "responseSegments": [ "next-token" @@ -10630,7 +10747,7 @@ } }, { - "$id": "752", + "$id": "761", "kind": "paging", "name": "ListWithPaging", "accessibility": "public", @@ -10640,14 +10757,14 @@ ], "doc": "List things with paging", "operation": { - "$id": "753", + "$id": "762", "name": "ListWithPaging", "resourceName": "SampleTypeSpec", "doc": "List things with paging", "accessibility": "public", "parameters": [ { - "$id": "754", + "$id": "763", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10663,7 +10780,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithPaging.accept", "methodParameterSegments": [ { - "$id": "755", + "$id": "764", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10709,7 +10826,7 @@ }, "parameters": [ { - "$ref": "755" + "$ref": "764" } ], "response": { @@ -10732,7 +10849,7 @@ } }, { - "$id": "756", + "$id": "765", "kind": "basic", "name": "EmbeddedParameters", "accessibility": "public", @@ -10742,20 +10859,20 @@ ], "doc": "An operation with embedded parameters within the body", "operation": { - "$id": "757", + "$id": "766", "name": "EmbeddedParameters", "resourceName": "SampleTypeSpec", "doc": "An operation with embedded parameters within the body", "accessibility": "public", "parameters": [ { - "$id": "758", + "$id": "767", "kind": "header", "name": "requiredHeader", "serializedName": "required-header", "doc": "required header parameter", "type": { - "$id": "759", + "$id": "768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10770,7 +10887,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.requiredHeader", "methodParameterSegments": [ { - "$id": "760", + "$id": "769", "kind": "method", "name": "body", "serializedName": "body", @@ -10787,7 +10904,7 @@ "decorators": [] }, { - "$id": "761", + "$id": "770", "kind": "method", "name": "requiredHeader", "serializedName": "requiredHeader", @@ -10807,13 +10924,13 @@ ] }, { - "$id": "762", + "$id": "771", "kind": "header", "name": "optionalHeader", "serializedName": "optional-header", "doc": "optional header parameter", "type": { - "$id": "763", + "$id": "772", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10828,10 +10945,10 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.optionalHeader", "methodParameterSegments": [ { - "$ref": "760" + "$ref": "769" }, { - "$id": "764", + "$id": "773", "kind": "method", "name": "optionalHeader", "serializedName": "optionalHeader", @@ -10851,13 +10968,13 @@ ] }, { - "$id": "765", + "$id": "774", "kind": "query", "name": "requiredQuery", "serializedName": "requiredQuery", "doc": "required query parameter", "type": { - "$id": "766", + "$id": "775", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10872,10 +10989,10 @@ "readOnly": false, "methodParameterSegments": [ { - "$ref": "760" + "$ref": "769" }, { - "$id": "767", + "$id": "776", "kind": "method", "name": "requiredQuery", "serializedName": "requiredQuery", @@ -10895,13 +11012,13 @@ ] }, { - "$id": "768", + "$id": "777", "kind": "query", "name": "optionalQuery", "serializedName": "optionalQuery", "doc": "optional query parameter", "type": { - "$id": "769", + "$id": "778", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10916,10 +11033,10 @@ "readOnly": false, "methodParameterSegments": [ { - "$ref": "760" + "$ref": "769" }, { - "$id": "770", + "$id": "779", "kind": "method", "name": "optionalQuery", "serializedName": "optionalQuery", @@ -10939,7 +11056,7 @@ ] }, { - "$id": "771", + "$id": "780", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -10956,7 +11073,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.contentType", "methodParameterSegments": [ { - "$id": "772", + "$id": "781", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -10976,7 +11093,7 @@ ] }, { - "$id": "773", + "$id": "782", "kind": "body", "name": "body", "serializedName": "body", @@ -10995,7 +11112,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.body", "methodParameterSegments": [ { - "$ref": "760" + "$ref": "769" } ] } @@ -11024,10 +11141,10 @@ }, "parameters": [ { - "$ref": "760" + "$ref": "769" }, { - "$ref": "772" + "$ref": "781" } ], "response": {}, @@ -11037,7 +11154,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters" }, { - "$id": "774", + "$id": "783", "kind": "basic", "name": "DynamicModelOperation", "accessibility": "public", @@ -11047,14 +11164,14 @@ ], "doc": "An operation with a dynamic model", "operation": { - "$id": "775", + "$id": "784", "name": "DynamicModelOperation", "resourceName": "SampleTypeSpec", "doc": "An operation with a dynamic model", "accessibility": "public", "parameters": [ { - "$id": "776", + "$id": "785", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11071,7 +11188,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.contentType", "methodParameterSegments": [ { - "$id": "777", + "$id": "786", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11091,7 +11208,7 @@ ] }, { - "$id": "778", + "$id": "787", "kind": "body", "name": "body", "serializedName": "body", @@ -11110,7 +11227,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.body", "methodParameterSegments": [ { - "$id": "779", + "$id": "788", "kind": "method", "name": "body", "serializedName": "body", @@ -11153,10 +11270,10 @@ }, "parameters": [ { - "$ref": "779" + "$ref": "788" }, { - "$ref": "777" + "$ref": "786" } ], "response": {}, @@ -11166,7 +11283,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation" }, { - "$id": "780", + "$id": "789", "kind": "basic", "name": "GetXmlAdvancedModel", "accessibility": "public", @@ -11176,14 +11293,14 @@ ], "doc": "Get an advanced XML model with various property types", "operation": { - "$id": "781", + "$id": "790", "name": "GetXmlAdvancedModel", "resourceName": "SampleTypeSpec", "doc": "Get an advanced XML model with various property types", "accessibility": "public", "parameters": [ { - "$id": "782", + "$id": "791", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11199,7 +11316,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.GetXmlAdvancedModel.accept", "methodParameterSegments": [ { - "$id": "783", + "$id": "792", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11253,7 +11370,7 @@ }, "parameters": [ { - "$ref": "783" + "$ref": "792" } ], "response": { @@ -11267,7 +11384,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.GetXmlAdvancedModel" }, { - "$id": "784", + "$id": "793", "kind": "basic", "name": "UpdateXmlAdvancedModel", "accessibility": "public", @@ -11277,14 +11394,14 @@ ], "doc": "Update an advanced XML model with various property types", "operation": { - "$id": "785", + "$id": "794", "name": "UpdateXmlAdvancedModel", "resourceName": "SampleTypeSpec", "doc": "Update an advanced XML model with various property types", "accessibility": "public", "parameters": [ { - "$id": "786", + "$id": "795", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11300,7 +11417,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.contentType", "methodParameterSegments": [ { - "$id": "787", + "$id": "796", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11319,7 +11436,7 @@ ] }, { - "$id": "788", + "$id": "797", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11335,7 +11452,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.accept", "methodParameterSegments": [ { - "$id": "789", + "$id": "798", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11354,7 +11471,7 @@ ] }, { - "$id": "790", + "$id": "799", "kind": "body", "name": "body", "serializedName": "body", @@ -11373,7 +11490,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.body", "methodParameterSegments": [ { - "$id": "791", + "$id": "800", "kind": "method", "name": "body", "serializedName": "body", @@ -11430,13 +11547,13 @@ }, "parameters": [ { - "$ref": "791" + "$ref": "800" }, { - "$ref": "787" + "$ref": "796" }, { - "$ref": "789" + "$ref": "798" } ], "response": { @@ -11452,12 +11569,12 @@ ], "parameters": [ { - "$id": "792", + "$id": "801", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "793", + "$id": "802", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -11472,7 +11589,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sampleTypeSpecUrl" }, { - "$ref": "724" + "$ref": "733" } ], "initializedBy": 1, @@ -11484,13 +11601,13 @@ ], "children": [ { - "$id": "794", + "$id": "803", "kind": "client", "name": "AnimalOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "795", + "$id": "804", "kind": "basic", "name": "updatePetAsAnimal", "accessibility": "public", @@ -11500,14 +11617,14 @@ ], "doc": "Update a pet as an animal", "operation": { - "$id": "796", + "$id": "805", "name": "updatePetAsAnimal", "resourceName": "AnimalOperations", "doc": "Update a pet as an animal", "accessibility": "public", "parameters": [ { - "$id": "797", + "$id": "806", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11524,7 +11641,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.contentType", "methodParameterSegments": [ { - "$id": "798", + "$id": "807", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11544,7 +11661,7 @@ ] }, { - "$id": "799", + "$id": "808", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11560,7 +11677,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.accept", "methodParameterSegments": [ { - "$id": "800", + "$id": "809", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11579,7 +11696,7 @@ ] }, { - "$id": "801", + "$id": "810", "kind": "body", "name": "animal", "serializedName": "animal", @@ -11598,7 +11715,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.animal", "methodParameterSegments": [ { - "$id": "802", + "$id": "811", "kind": "method", "name": "animal", "serializedName": "animal", @@ -11647,13 +11764,13 @@ }, "parameters": [ { - "$ref": "802" + "$ref": "811" }, { - "$ref": "798" + "$ref": "807" }, { - "$ref": "800" + "$ref": "809" } ], "response": { @@ -11667,7 +11784,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal" }, { - "$id": "803", + "$id": "812", "kind": "basic", "name": "updateDogAsAnimal", "accessibility": "public", @@ -11677,14 +11794,14 @@ ], "doc": "Update a dog as an animal", "operation": { - "$id": "804", + "$id": "813", "name": "updateDogAsAnimal", "resourceName": "AnimalOperations", "doc": "Update a dog as an animal", "accessibility": "public", "parameters": [ { - "$id": "805", + "$id": "814", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11701,7 +11818,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.contentType", "methodParameterSegments": [ { - "$id": "806", + "$id": "815", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11721,7 +11838,7 @@ ] }, { - "$id": "807", + "$id": "816", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11737,7 +11854,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.accept", "methodParameterSegments": [ { - "$id": "808", + "$id": "817", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11756,7 +11873,7 @@ ] }, { - "$id": "809", + "$id": "818", "kind": "body", "name": "animal", "serializedName": "animal", @@ -11775,7 +11892,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.animal", "methodParameterSegments": [ { - "$id": "810", + "$id": "819", "kind": "method", "name": "animal", "serializedName": "animal", @@ -11824,13 +11941,13 @@ }, "parameters": [ { - "$ref": "810" + "$ref": "819" }, { - "$ref": "806" + "$ref": "815" }, { - "$ref": "808" + "$ref": "817" } ], "response": { @@ -11846,12 +11963,12 @@ ], "parameters": [ { - "$id": "811", + "$id": "820", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "812", + "$id": "821", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -11879,13 +11996,13 @@ "isMultiServiceClient": false }, { - "$id": "813", + "$id": "822", "kind": "client", "name": "PetOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "814", + "$id": "823", "kind": "basic", "name": "updatePetAsPet", "accessibility": "public", @@ -11895,14 +12012,14 @@ ], "doc": "Update a pet as a pet", "operation": { - "$id": "815", + "$id": "824", "name": "updatePetAsPet", "resourceName": "PetOperations", "doc": "Update a pet as a pet", "accessibility": "public", "parameters": [ { - "$id": "816", + "$id": "825", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11919,7 +12036,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.contentType", "methodParameterSegments": [ { - "$id": "817", + "$id": "826", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11939,7 +12056,7 @@ ] }, { - "$id": "818", + "$id": "827", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11955,7 +12072,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.accept", "methodParameterSegments": [ { - "$id": "819", + "$id": "828", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11974,7 +12091,7 @@ ] }, { - "$id": "820", + "$id": "829", "kind": "body", "name": "pet", "serializedName": "pet", @@ -11993,7 +12110,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.pet", "methodParameterSegments": [ { - "$id": "821", + "$id": "830", "kind": "method", "name": "pet", "serializedName": "pet", @@ -12042,13 +12159,13 @@ }, "parameters": [ { - "$ref": "821" + "$ref": "830" }, { - "$ref": "817" + "$ref": "826" }, { - "$ref": "819" + "$ref": "828" } ], "response": { @@ -12062,7 +12179,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet" }, { - "$id": "822", + "$id": "831", "kind": "basic", "name": "updateDogAsPet", "accessibility": "public", @@ -12072,14 +12189,14 @@ ], "doc": "Update a dog as a pet", "operation": { - "$id": "823", + "$id": "832", "name": "updateDogAsPet", "resourceName": "PetOperations", "doc": "Update a dog as a pet", "accessibility": "public", "parameters": [ { - "$id": "824", + "$id": "833", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12096,7 +12213,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.contentType", "methodParameterSegments": [ { - "$id": "825", + "$id": "834", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12116,7 +12233,7 @@ ] }, { - "$id": "826", + "$id": "835", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12132,7 +12249,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.accept", "methodParameterSegments": [ { - "$id": "827", + "$id": "836", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12151,7 +12268,7 @@ ] }, { - "$id": "828", + "$id": "837", "kind": "body", "name": "pet", "serializedName": "pet", @@ -12170,7 +12287,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.pet", "methodParameterSegments": [ { - "$id": "829", + "$id": "838", "kind": "method", "name": "pet", "serializedName": "pet", @@ -12219,13 +12336,13 @@ }, "parameters": [ { - "$ref": "829" + "$ref": "838" }, { - "$ref": "825" + "$ref": "834" }, { - "$ref": "827" + "$ref": "836" } ], "response": { @@ -12241,12 +12358,12 @@ ], "parameters": [ { - "$id": "830", + "$id": "839", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "831", + "$id": "840", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12274,13 +12391,13 @@ "isMultiServiceClient": false }, { - "$id": "832", + "$id": "841", "kind": "client", "name": "DogOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "833", + "$id": "842", "kind": "basic", "name": "updateDogAsDog", "accessibility": "public", @@ -12290,14 +12407,14 @@ ], "doc": "Update a dog as a dog", "operation": { - "$id": "834", + "$id": "843", "name": "updateDogAsDog", "resourceName": "DogOperations", "doc": "Update a dog as a dog", "accessibility": "public", "parameters": [ { - "$id": "835", + "$id": "844", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12314,7 +12431,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.contentType", "methodParameterSegments": [ { - "$id": "836", + "$id": "845", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12334,7 +12451,7 @@ ] }, { - "$id": "837", + "$id": "846", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12350,7 +12467,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.accept", "methodParameterSegments": [ { - "$id": "838", + "$id": "847", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12369,7 +12486,7 @@ ] }, { - "$id": "839", + "$id": "848", "kind": "body", "name": "dog", "serializedName": "dog", @@ -12388,7 +12505,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.dog", "methodParameterSegments": [ { - "$id": "840", + "$id": "849", "kind": "method", "name": "dog", "serializedName": "dog", @@ -12437,13 +12554,13 @@ }, "parameters": [ { - "$ref": "840" + "$ref": "849" }, { - "$ref": "836" + "$ref": "845" }, { - "$ref": "838" + "$ref": "847" } ], "response": { @@ -12459,12 +12576,12 @@ ], "parameters": [ { - "$id": "841", + "$id": "850", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "842", + "$id": "851", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12492,13 +12609,13 @@ "isMultiServiceClient": false }, { - "$id": "843", + "$id": "852", "kind": "client", "name": "PlantOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "844", + "$id": "853", "kind": "basic", "name": "getTree", "accessibility": "public", @@ -12508,14 +12625,14 @@ ], "doc": "Get a tree as a plant", "operation": { - "$id": "845", + "$id": "854", "name": "getTree", "resourceName": "PlantOperations", "doc": "Get a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "846", + "$id": "855", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12531,7 +12648,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTree.accept", "methodParameterSegments": [ { - "$id": "847", + "$id": "856", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12585,7 +12702,7 @@ }, "parameters": [ { - "$ref": "847" + "$ref": "856" } ], "response": { @@ -12599,7 +12716,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTree" }, { - "$id": "848", + "$id": "857", "kind": "basic", "name": "getTreeAsJson", "accessibility": "public", @@ -12609,14 +12726,14 @@ ], "doc": "Get a tree as a plant", "operation": { - "$id": "849", + "$id": "858", "name": "getTreeAsJson", "resourceName": "PlantOperations", "doc": "Get a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "850", + "$id": "859", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12632,7 +12749,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTreeAsJson.accept", "methodParameterSegments": [ { - "$id": "851", + "$id": "860", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12686,7 +12803,7 @@ }, "parameters": [ { - "$ref": "851" + "$ref": "860" } ], "response": { @@ -12700,7 +12817,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTreeAsJson" }, { - "$id": "852", + "$id": "861", "kind": "basic", "name": "updateTree", "accessibility": "public", @@ -12710,14 +12827,14 @@ ], "doc": "Update a tree as a plant", "operation": { - "$id": "853", + "$id": "862", "name": "updateTree", "resourceName": "PlantOperations", "doc": "Update a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "854", + "$id": "863", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12733,7 +12850,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.contentType", "methodParameterSegments": [ { - "$id": "855", + "$id": "864", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12752,7 +12869,7 @@ ] }, { - "$id": "856", + "$id": "865", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12768,7 +12885,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.accept", "methodParameterSegments": [ { - "$id": "857", + "$id": "866", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12787,7 +12904,7 @@ ] }, { - "$id": "858", + "$id": "867", "kind": "body", "name": "tree", "serializedName": "tree", @@ -12806,7 +12923,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.tree", "methodParameterSegments": [ { - "$id": "859", + "$id": "868", "kind": "method", "name": "tree", "serializedName": "tree", @@ -12863,13 +12980,13 @@ }, "parameters": [ { - "$ref": "859" + "$ref": "868" }, { - "$ref": "855" + "$ref": "864" }, { - "$ref": "857" + "$ref": "866" } ], "response": { @@ -12883,7 +13000,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree" }, { - "$id": "860", + "$id": "869", "kind": "basic", "name": "updateTreeAsJson", "accessibility": "public", @@ -12893,14 +13010,14 @@ ], "doc": "Update a tree as a plant", "operation": { - "$id": "861", + "$id": "870", "name": "updateTreeAsJson", "resourceName": "PlantOperations", "doc": "Update a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "862", + "$id": "871", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12916,7 +13033,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.contentType", "methodParameterSegments": [ { - "$id": "863", + "$id": "872", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12935,7 +13052,7 @@ ] }, { - "$id": "864", + "$id": "873", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12951,7 +13068,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.accept", "methodParameterSegments": [ { - "$id": "865", + "$id": "874", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12970,7 +13087,7 @@ ] }, { - "$id": "866", + "$id": "875", "kind": "body", "name": "tree", "serializedName": "tree", @@ -12989,7 +13106,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.tree", "methodParameterSegments": [ { - "$id": "867", + "$id": "876", "kind": "method", "name": "tree", "serializedName": "tree", @@ -13046,13 +13163,13 @@ }, "parameters": [ { - "$ref": "867" + "$ref": "876" }, { - "$ref": "863" + "$ref": "872" }, { - "$ref": "865" + "$ref": "874" } ], "response": { @@ -13068,12 +13185,12 @@ ], "parameters": [ { - "$id": "868", + "$id": "877", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "869", + "$id": "878", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13101,13 +13218,13 @@ "isMultiServiceClient": false }, { - "$id": "870", + "$id": "879", "kind": "client", "name": "Metrics", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "871", + "$id": "880", "kind": "basic", "name": "getWidgetMetrics", "accessibility": "public", @@ -13117,19 +13234,19 @@ ], "doc": "Get Widget metrics for given day of week", "operation": { - "$id": "872", + "$id": "881", "name": "getWidgetMetrics", "resourceName": "Metrics", "doc": "Get Widget metrics for given day of week", "accessibility": "public", "parameters": [ { - "$id": "873", + "$id": "882", "kind": "path", "name": "metricsNamespace", "serializedName": "metricsNamespace", "type": { - "$id": "874", + "$id": "883", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13147,12 +13264,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.metricsNamespace", "methodParameterSegments": [ { - "$id": "875", + "$id": "884", "kind": "method", "name": "metricsNamespace", "serializedName": "metricsNamespace", "type": { - "$id": "876", + "$id": "885", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13170,7 +13287,7 @@ ] }, { - "$id": "877", + "$id": "886", "kind": "path", "name": "day", "serializedName": "day", @@ -13189,7 +13306,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.day", "methodParameterSegments": [ { - "$id": "878", + "$id": "887", "kind": "method", "name": "day", "serializedName": "day", @@ -13208,7 +13325,7 @@ ] }, { - "$id": "879", + "$id": "888", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13224,7 +13341,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.accept", "methodParameterSegments": [ { - "$id": "880", + "$id": "889", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13270,10 +13387,10 @@ }, "parameters": [ { - "$ref": "878" + "$ref": "887" }, { - "$ref": "880" + "$ref": "889" } ], "response": { @@ -13289,12 +13406,12 @@ ], "parameters": [ { - "$id": "881", + "$id": "890", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "882", + "$id": "891", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13309,7 +13426,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.sampleTypeSpecUrl" }, { - "$ref": "875" + "$ref": "884" } ], "initializedBy": 3, @@ -13325,13 +13442,13 @@ "isMultiServiceClient": false }, { - "$id": "883", + "$id": "892", "kind": "client", "name": "Notebooks", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "884", + "$id": "893", "kind": "basic", "name": "getNotebook", "accessibility": "public", @@ -13341,19 +13458,19 @@ ], "doc": "Get a notebook by name", "operation": { - "$id": "885", + "$id": "894", "name": "getNotebook", "resourceName": "Notebooks", "doc": "Get a notebook by name", "accessibility": "public", "parameters": [ { - "$id": "886", + "$id": "895", "kind": "path", "name": "notebookName", "serializedName": "notebookName", "type": { - "$id": "887", + "$id": "896", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13371,12 +13488,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.getNotebook.notebookName", "methodParameterSegments": [ { - "$id": "888", + "$id": "897", "kind": "method", "name": "notebook", "serializedName": "notebook", "type": { - "$id": "889", + "$id": "898", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13395,7 +13512,7 @@ ] }, { - "$id": "890", + "$id": "899", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13411,7 +13528,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.getNotebook.accept", "methodParameterSegments": [ { - "$id": "891", + "$id": "900", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13457,7 +13574,7 @@ }, "parameters": [ { - "$ref": "891" + "$ref": "900" } ], "response": { @@ -13473,12 +13590,12 @@ ], "parameters": [ { - "$id": "892", + "$id": "901", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "893", + "$id": "902", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13493,7 +13610,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.sampleTypeSpecUrl" }, { - "$ref": "888" + "$ref": "897" } ], "initializedBy": 3, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json index d680b3ba158..426fc3a3869 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json @@ -96,7 +96,7 @@ "kind": "client", "name": "ServiceClient", "namespace": "Client.Structure.Service", - "doc": "Test that we can use @client and @operationGroup decorators to customize client side code structure, such as:\n1. have everything as default.\n2. to rename client or operation group\n3. one client can have more than one operations groups\n4. split one interface into two clients\n5. have two clients with operations come from different interfaces\n6. have two clients with a hierarchy relation.", + "doc": "Test that we can use @client decorators to customize client side code structure, such as:\n1. have everything as default.\n2. to rename client or operation group\n3. one client can have more than one operations groups\n4. split one interface into two clients\n5. have two clients with operations come from different interfaces\n6. have two clients with a hierarchy relation.", "methods": [ { "$id": "9", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationModelFactory.cs b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationModelFactory.cs index 4440dc1b6a0..8918ac1946c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationModelFactory.cs +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/src/Generated/DocumentationModelFactory.cs @@ -8,6 +8,7 @@ namespace Documentation { public static partial class DocumentationModelFactory { + public static BulletPointsModel BulletPointsModel(BulletPointsEnum prop = default) => throw null; } } diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json index 8954a325268..446bfd5157a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json @@ -88,45 +88,6 @@ { "$id": "8", "kind": "model", - "name": "BulletPointsModel", - "namespace": "Documentation.Lists", - "crossLanguageDefinitionId": "Documentation.Lists.BulletPointsModel", - "usage": "Input,Json", - "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", - "decorators": [], - "serializationOptions": { - "json": { - "name": "BulletPointsModel" - } - }, - "properties": [ - { - "$id": "9", - "kind": "property", - "name": "prop", - "serializedName": "prop", - "doc": "This property uses an enum with bullet point documentation. The enum documentation includes various formatting styles to test rendering. The styles are:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple\n- Bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**\n- *Italic bullet point*", - "type": { - "$ref": "1" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Documentation.Lists.BulletPointsModel.prop", - "serializationOptions": { - "json": { - "name": "prop" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "10", - "kind": "model", "name": "BulletPointsModelRequest", "namespace": "Documentation.Lists", "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.Request.anonymous", @@ -139,12 +100,48 @@ }, "properties": [ { - "$id": "11", + "$id": "9", "kind": "property", "name": "input", "serializedName": "input", "type": { - "$ref": "8" + "$id": "10", + "kind": "model", + "name": "BulletPointsModel", + "namespace": "Documentation.Lists", + "crossLanguageDefinitionId": "Documentation.Lists.BulletPointsModel", + "usage": "Input,Json", + "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", + "decorators": [], + "serializationOptions": { + "json": { + "name": "BulletPointsModel" + } + }, + "properties": [ + { + "$id": "11", + "kind": "property", + "name": "prop", + "serializedName": "prop", + "doc": "This property uses an enum with bullet point documentation. The enum documentation includes various formatting styles to test rendering. The styles are:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple\n- Bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**\n- *Italic bullet point*", + "type": { + "$ref": "1" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Documentation.Lists.BulletPointsModel.prop", + "serializationOptions": { + "json": { + "name": "prop" + } + }, + "isHttpMetadata": false + } + ] }, "optional": false, "readOnly": false, @@ -160,6 +157,9 @@ "isHttpMetadata": false } ] + }, + { + "$ref": "10" } ], "clients": [ @@ -308,7 +308,7 @@ "name": "bulletPointsModelRequest", "serializedName": "bulletPointsModelRequest", "type": { - "$ref": "10" + "$ref": "8" }, "isApiVersion": false, "contentTypes": [ @@ -327,7 +327,7 @@ "name": "input", "serializedName": "input", "type": { - "$ref": "8" + "$ref": "10" }, "location": "Body", "isApiVersion": false, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json index af620e7ec68..feae073760a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json @@ -222,7 +222,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadCompositeRequestMix.Request.anonymous.prop", + "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestMix.Request.anonymous.prop", "serializationOptions": { "json": { "name": "prop" @@ -304,7 +304,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadParameterWithInnerModel.Request.anonymous.name", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerModel.Request.anonymous.name", "serializationOptions": { "json": { "name": "name" @@ -345,7 +345,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadAsRequestParameter.Request.anonymous.name", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestParameter.Request.anonymous.name", "serializationOptions": { "json": { "name": "name" @@ -387,7 +387,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.requiredString", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.Request.anonymous.requiredString", "serializationOptions": { "json": { "name": "requiredString" @@ -413,7 +413,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.optionalInt", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.Request.anonymous.optionalInt", "serializationOptions": { "json": { "name": "optionalInt" @@ -446,7 +446,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.requiredIntList", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.Request.anonymous.requiredIntList", "serializationOptions": { "json": { "name": "requiredIntList" @@ -479,7 +479,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadWithMultipleParameters.Request.anonymous.optionalStringList", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.Request.anonymous.optionalStringList", "serializationOptions": { "json": { "name": "optionalStringList" @@ -521,7 +521,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadParameterWithInnerAlias.Request.anonymous.name", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerAlias.Request.anonymous.name", "serializationOptions": { "json": { "name": "name" @@ -547,7 +547,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "spreadParameterWithInnerAlias.Request.anonymous.age", + "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerAlias.Request.anonymous.age", "serializationOptions": { "json": { "name": "age" diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json index cef69d74b7f..d977c404114 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json @@ -2403,7 +2403,7 @@ "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" }, - "name": "FloatRequestTemperatureContentType", + "name": "FloatRequest1", "isGeneratedName": true }, "name": "contentType", @@ -2411,7 +2411,7 @@ "optional": false, "isApiVersionParam": false, "onClient": false, - "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.temperature.anonymous.contentType", + "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.Request.anonymous.contentType", "decorators": [], "visibility": [ 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json index 8295c355212..95fa88e75bc 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json @@ -1221,7 +1221,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "requestQueryResponseHeader.Response.anonymous.pets", + "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseHeader.Response.anonymous.pets", "serializationOptions": { "json": { "name": "pets" @@ -1258,7 +1258,7 @@ "discriminator": false, "flatten": false, "decorators": [], - "crossLanguageDefinitionId": "requestHeaderResponseHeader.Response.anonymous.pets", + "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.Response.anonymous.pets", "serializationOptions": { "json": { "name": "pets" diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json index 2c21b31efe3..7b5c6d926d3 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json @@ -394,7 +394,7 @@ { "$id": "34", "kind": "constant", - "name": "GetResponseProp5", + "name": "MixedLiteralsCasesStringLiteral1", "namespace": "", "usage": "None", "valueType": { @@ -410,7 +410,7 @@ { "$id": "36", "kind": "constant", - "name": "GetResponseProp6", + "name": "MixedLiteralsCasesStringLiteral2", "namespace": "", "usage": "None", "valueType": { @@ -426,7 +426,7 @@ { "$id": "38", "kind": "constant", - "name": "GetResponseProp7", + "name": "MixedLiteralsCasesStringLiteral3", "namespace": "", "usage": "None", "valueType": { @@ -442,7 +442,7 @@ { "$id": "40", "kind": "constant", - "name": "MixedLiteralsCasesStringLiteral1", + "name": "MixedLiteralsCasesStringLiteral4", "namespace": "", "usage": "None", "valueType": { @@ -458,7 +458,7 @@ { "$id": "42", "kind": "constant", - "name": "GetResponseProp51", + "name": "MixedLiteralsCasesStringLiteral11", "namespace": "", "usage": "None", "valueType": { diff --git a/packages/http-client-csharp/package-lock.json b/packages/http-client-csharp/package-lock.json index 0291e11aba4..1ffd108419d 100644 --- a/packages/http-client-csharp/package-lock.json +++ b/packages/http-client-csharp/package-lock.json @@ -8,25 +8,28 @@ "name": "@typespec/http-client-csharp", "version": "1.0.0", "license": "MIT", + "dependencies": { + "@azure/identity": "^4.13.0" + }, "devDependencies": { - "@azure-tools/azure-http-specs": "0.1.0-alpha.38", - "@azure-tools/typespec-azure-core": "0.66.0", - "@azure-tools/typespec-client-generator-core": "0.66.3", + "@azure-tools/azure-http-specs": "0.1.0-alpha.39", + "@azure-tools/typespec-azure-core": "0.67.0", + "@azure-tools/typespec-client-generator-core": "0.67.1", "@microsoft/api-extractor": "^7.52.2", "@types/node": "~22.12.0", - "@typespec/compiler": "1.10.0", - "@typespec/http": "1.10.0", - "@typespec/http-specs": "0.1.0-alpha.35", - "@typespec/json-schema": "1.10.0", - "@typespec/library-linter": "0.80.0", - "@typespec/openapi": "1.10.0", - "@typespec/rest": "0.80.0", - "@typespec/spector": "0.1.0-alpha.24", - "@typespec/sse": "0.80.0", - "@typespec/streams": "0.80.0", + "@typespec/compiler": "1.11.0", + "@typespec/http": "1.11.0", + "@typespec/http-specs": "0.1.0-alpha.36", + "@typespec/json-schema": "1.11.0", + "@typespec/library-linter": "0.81.0", + "@typespec/openapi": "1.11.0", + "@typespec/rest": "0.81.0", + "@typespec/spector": "0.1.0-alpha.25", + "@typespec/sse": "0.81.0", + "@typespec/streams": "0.81.0", "@typespec/tspd": "0.74.1", - "@typespec/versioning": "0.80.0", - "@typespec/xml": "0.80.0", + "@typespec/versioning": "0.81.0", + "@typespec/xml": "0.81.0", "@vitest/coverage-v8": "^3.0.5", "@vitest/ui": "^3.0.5", "c8": "^10.1.2", @@ -35,14 +38,14 @@ "vitest": "^3.0.5" }, "peerDependencies": { - "@azure-tools/typespec-client-generator-core": ">=0.66.3 <0.67.0 || ~0.67.0-0", - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0", - "@typespec/openapi": "^1.10.0", - "@typespec/rest": ">=0.80.0 <0.81.0 || ~0.81.0-0", - "@typespec/sse": ">=0.80.0 <0.81.0 || ~0.81.0-0", - "@typespec/streams": ">=0.80.0 <0.81.0 || ~0.81.0-0", - "@typespec/versioning": ">=0.80.0 <0.81.0 || ~0.81.0-0" + "@azure-tools/typespec-client-generator-core": ">=0.67.1 <0.68.0 || ~0.68.0-0", + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0", + "@typespec/openapi": "^1.11.0", + "@typespec/rest": ">=0.81.0 <0.82.0 || ~0.82.0-0", + "@typespec/sse": ">=0.81.0 <0.82.0 || ~0.82.0-0", + "@typespec/streams": ">=0.81.0 <0.82.0 || ~0.82.0-0", + "@typespec/versioning": ">=0.81.0 <0.82.0 || ~0.82.0-0" } }, "node_modules/@alloy-js/core": { @@ -97,46 +100,46 @@ } }, "node_modules/@azure-tools/azure-http-specs": { - "version": "0.1.0-alpha.38", - "resolved": "https://registry.npmjs.org/@azure-tools/azure-http-specs/-/azure-http-specs-0.1.0-alpha.38.tgz", - "integrity": "sha512-OkwmMhmSNOV4PO4UA4Tm4ufyA0UPcOrWgZuhybQjWzUq0bbryW9y5ODyknvUV0Z0IOAInW1dUJQ2wRX9pLqNCA==", + "version": "0.1.0-alpha.39", + "resolved": "https://registry.npmjs.org/@azure-tools/azure-http-specs/-/azure-http-specs-0.1.0-alpha.39.tgz", + "integrity": "sha512-l9d2Y+B7QBi20ocDJEGO7NpvpCePvdw2ALz1RHAPWBOD0tPUBXUQ4WF1zUC199awz8hQysNRM9jm8x+eoUvjEQ==", "dev": true, "license": "MIT", "dependencies": { - "@typespec/spec-api": "^0.1.0-alpha.13", - "@typespec/spector": "^0.1.0-alpha.24" + "@typespec/spec-api": "^0.1.0-alpha.14", + "@typespec/spector": "^0.1.0-alpha.25" }, "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.66.0", - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0", - "@typespec/rest": "^0.80.0", - "@typespec/versioning": "^0.80.0", - "@typespec/xml": "^0.80.0" + "@azure-tools/typespec-azure-core": "^0.67.0", + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0", + "@typespec/rest": "^0.81.0", + "@typespec/versioning": "^0.81.0", + "@typespec/xml": "^0.81.0" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.66.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.66.0.tgz", - "integrity": "sha512-OBKxRN7AucK3snh+GtLKSDdcZTz08IgcSZlIO3c4KSlmcR5twT1NMyqf1+V8SAhyOdZimndb+ikzrkkgab+GpA==", + "version": "0.67.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.67.0.tgz", + "integrity": "sha512-6DO/fOlVihMlPG0oDXrgURf5MNF4iBzPx5SMA5aaFDx/fW6MjiD+TN9Yy9O+l9mVNh1XaEMjhjA8/lmnHZ/U0g==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0", - "@typespec/rest": "^0.80.0" + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0", + "@typespec/rest": "^0.81.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.66.3", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.66.3.tgz", - "integrity": "sha512-sNetQ6igxAp/vL6X2kEIy715ToDTqoJeb+OL59GEUtOW/3KBSi5tsxvDdCwSfEoaNEmv/FYjh/gJDwAWCJdFJg==", + "version": "0.67.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.67.1.tgz", + "integrity": "sha512-Bh7M1KSrgBOMeueK+YiJiaZ+uo3119mNIcbHgU8006CSToDHSTeIM7rndUmCSn+leAKonpXhQ6eElOWj0teBWA==", "dev": true, "license": "MIT", "dependencies": { @@ -148,23 +151,22 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "^0.66.0", - "@typespec/compiler": "^1.10.0", - "@typespec/events": "^0.80.0", - "@typespec/http": "^1.10.0", - "@typespec/openapi": "^1.10.0", - "@typespec/rest": "^0.80.0", - "@typespec/sse": "^0.80.0", - "@typespec/streams": "^0.80.0", - "@typespec/versioning": "^0.80.0", - "@typespec/xml": "^0.80.0" + "@azure-tools/typespec-azure-core": "^0.67.0", + "@typespec/compiler": "^1.11.0", + "@typespec/events": "^0.81.0", + "@typespec/http": "^1.11.0", + "@typespec/openapi": "^1.11.0", + "@typespec/rest": "^0.81.0", + "@typespec/sse": "^0.81.0", + "@typespec/streams": "^0.81.0", + "@typespec/versioning": "^0.81.0", + "@typespec/xml": "^0.81.0" } }, "node_modules/@azure/abort-controller": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-2.1.2.tgz", "integrity": "sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==", - "dev": true, "license": "MIT", "dependencies": { "tslib": "^2.6.2" @@ -177,7 +179,6 @@ "version": "1.10.1", "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.10.1.tgz", "integrity": "sha512-ykRMW8PjVAn+RS6ww5cmK9U2CyH9p4Q88YJwvUslfuMmN98w/2rdGRLPqJYObapBCdzBVeDgYWdJnFPFb7qzpg==", - "dev": true, "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.1.2", @@ -192,7 +193,6 @@ "version": "1.10.1", "resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.10.1.tgz", "integrity": "sha512-Nh5PhEOeY6PrnxNPsEHRr9eimxLwgLlpmguQaHKBinFYA/RU9+kOYVOQqOrTsCL+KSxrLLl1gD8Dk5BFW/7l/w==", - "dev": true, "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.1.2", @@ -257,7 +257,6 @@ "version": "1.23.0", "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.23.0.tgz", "integrity": "sha512-Evs1INHo+jUjwHi1T6SG6Ua/LHOQBCLuKEEE6efIpt4ZOoNonaT1kP32GoOcdNDbfqsD2445CPri3MubBy5DEQ==", - "dev": true, "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.1.2", @@ -276,7 +275,6 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.3.1.tgz", "integrity": "sha512-9MWKevR7Hz8kNzzPLfX4EAtGM2b8mr50HPDBvio96bURP/9C+HjdH3sBlLSNNrvRAr5/k/svoH457gB5IKpmwQ==", - "dev": true, "license": "MIT", "dependencies": { "tslib": "^2.6.2" @@ -289,7 +287,6 @@ "version": "1.13.1", "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.13.1.tgz", "integrity": "sha512-XPArKLzsvl0Hf0CaGyKHUyVgF7oDnhKoP85Xv6M4StF/1AhfORhZudHtOyf2s+FcbuQ9dPRAjB8J2KvRRMUK2A==", - "dev": true, "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.1.2", @@ -318,7 +315,6 @@ "version": "4.13.0", "resolved": "https://registry.npmjs.org/@azure/identity/-/identity-4.13.0.tgz", "integrity": "sha512-uWC0fssc+hs1TGGVkkghiaFkkS7NkTxfnCH+Hdg+yTehTpMcehpok4PgUKKdyCH+9ldu6FhiHRv84Ntqj1vVcw==", - "dev": true, "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.0.0", @@ -341,7 +337,6 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.3.0.tgz", "integrity": "sha512-fCqPIfOcLE+CGqGPd66c8bZpwAji98tZ4JI9i/mlTNTlsIWslCfpg48s/ypyLxZTump5sypjrKn2/kY7q8oAbA==", - "dev": true, "license": "MIT", "dependencies": { "@typespec/ts-http-runtime": "^0.3.0", @@ -352,36 +347,33 @@ } }, "node_modules/@azure/msal-browser": { - "version": "4.29.0", - "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.29.0.tgz", - "integrity": "sha512-/f3eHkSNUTl6DLQHm+bKecjBKcRQxbd/XLx8lvSYp8Nl/HRyPuIPOijt9Dt0sH50/SxOwQ62RnFCmFlGK+bR/w==", - "dev": true, + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-4.30.0.tgz", + "integrity": "sha512-HBBKfbZkMVzzF5bofvS1cXuNHFVc+gt4/HOnCmG/0hsHuZRJvJvDg/+7nTwIpoqvJc8BQp5o23rBUfisOLxR+w==", "license": "MIT", "dependencies": { - "@azure/msal-common": "15.15.0" + "@azure/msal-common": "15.17.0" }, "engines": { "node": ">=0.8.0" } }, "node_modules/@azure/msal-common": { - "version": "15.15.0", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.15.0.tgz", - "integrity": "sha512-/n+bN0AKlVa+AOcETkJSKj38+bvFs78BaP4rNtv3MJCmPH0YrHiskMRe74OhyZ5DZjGISlFyxqvf9/4QVEi2tw==", - "dev": true, + "version": "15.17.0", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-15.17.0.tgz", + "integrity": "sha512-VQ5/gTLFADkwue+FohVuCqlzFPUq4xSrX8jeZe+iwZuY6moliNC8xt86qPVNYdtbQfELDf2Nu6LI+demFPHGgw==", "license": "MIT", "engines": { "node": ">=0.8.0" } }, "node_modules/@azure/msal-node": { - "version": "3.8.8", - "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-3.8.8.tgz", - "integrity": "sha512-+f1VrJH1iI517t4zgmuhqORja0bL6LDQXfBqkjuMmfTYXTQQnh1EvwwxO3UbKLT05N0obF72SRHFrC1RBDv5Gg==", - "dev": true, + "version": "3.8.10", + "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-3.8.10.tgz", + "integrity": "sha512-0Hz7Kx4hs70KZWep/Rd7aw/qOLUF92wUOhn7ZsOuB5xNR/06NL1E2RAI9+UKH1FtvN8nD6mFjH7UKSjv6vOWvQ==", "license": "MIT", "dependencies": { - "@azure/msal-common": "15.15.0", + "@azure/msal-common": "15.17.0", "jsonwebtoken": "^9.0.0", "uuid": "^8.3.0" }, @@ -979,9 +971,9 @@ } }, "node_modules/@inquirer/ansi": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.3.tgz", - "integrity": "sha512-g44zhR3NIKVs0zUesa4iMzExmZpLUdTLRMCStqX3GE5NT6VkPcxQGJ+uC8tDgBUC/vB1rUhUd55cOf++4NZcmw==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.5.tgz", + "integrity": "sha512-doc2sWgJpbFQ64UflSVd17ibMGDuxO1yKgOgLMwavzESnXjFWJqUeG8saYosqKpHp4kWiM5x1nXvEjbpx90gzw==", "dev": true, "license": "MIT", "engines": { @@ -989,16 +981,16 @@ } }, "node_modules/@inquirer/checkbox": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.0.4.tgz", - "integrity": "sha512-DrAMU3YBGMUAp6ArwTIp/25CNDtDbxk7UjIrrtM25JVVrlVYlVzHh5HR1BDFu9JMyUoZ4ZanzeaHqNDttf3gVg==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-5.1.3.tgz", + "integrity": "sha512-+G7I8CT+EHv/hasNfUl3P37DVoMoZfpA+2FXmM54dA8MxYle1YqucxbacxHalw1iAFSdKNEDTGNV7F+j1Ldqcg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^2.0.3", - "@inquirer/core": "^11.1.1", - "@inquirer/figures": "^2.0.3", - "@inquirer/type": "^4.0.3" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1013,14 +1005,14 @@ } }, "node_modules/@inquirer/confirm": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.0.4.tgz", - "integrity": "sha512-WdaPe7foUnoGYvXzH4jp4wH/3l+dBhZ3uwhKjXjwdrq5tEIFaANxj6zrGHxLdsIA0yKM0kFPVcEalOZXBB5ISA==", + "version": "6.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-6.0.11.tgz", + "integrity": "sha512-pTpHjg0iEIRMYV/7oCZUMf27/383E6Wyhfc/MY+AVQGEoUobffIYWOK9YLP2XFRGz/9i6WlTQh1CkFVIo2Y7XA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^11.1.1", - "@inquirer/type": "^4.0.3" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1035,19 +1027,19 @@ } }, "node_modules/@inquirer/core": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.1.tgz", - "integrity": "sha512-hV9o15UxX46OyQAtaoMqAOxGR8RVl1aZtDx1jHbCtSJy1tBdTfKxLPKf7utsE4cRy4tcmCQ4+vdV+ca+oNxqNA==", + "version": "11.1.8", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-11.1.8.tgz", + "integrity": "sha512-/u+yJk2pOKNDOh1ZgdUH2RQaRx6OOH4I0uwL95qPvTFTIL38YBsuSC4r1yXBB3Q6JvNqFFc202gk0Ew79rrcjA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^2.0.3", - "@inquirer/figures": "^2.0.3", - "@inquirer/type": "^4.0.3", + "@inquirer/ansi": "^2.0.5", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5", "cli-width": "^4.1.0", + "fast-wrap-ansi": "^0.2.0", "mute-stream": "^3.0.0", - "signal-exit": "^4.1.0", - "wrap-ansi": "^9.0.2" + "signal-exit": "^4.1.0" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1062,15 +1054,15 @@ } }, "node_modules/@inquirer/editor": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.0.4.tgz", - "integrity": "sha512-QI3Jfqcv6UO2/VJaEFONH8Im1ll++Xn/AJTBn9Xf+qx2M+H8KZAdQ5sAe2vtYlo+mLW+d7JaMJB4qWtK4BG3pw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-5.1.0.tgz", + "integrity": "sha512-6wlkYl65Qfayy48gPCfU4D7li6KCAGN79mLXa/tYHZH99OfZ820yY+HA+DgE88r8YwwgeuY6PQgNqMeK6LuMmw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^11.1.1", - "@inquirer/external-editor": "^2.0.3", - "@inquirer/type": "^4.0.3" + "@inquirer/core": "^11.1.8", + "@inquirer/external-editor": "^3.0.0", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1085,14 +1077,14 @@ } }, "node_modules/@inquirer/expand": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.0.4.tgz", - "integrity": "sha512-0I/16YwPPP0Co7a5MsomlZLpch48NzYfToyqYAOWtBmaXSB80RiNQ1J+0xx2eG+Wfxt0nHtpEWSRr6CzNVnOGg==", + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-5.0.12.tgz", + "integrity": "sha512-vOfrB33b7YIZfDauXS8vNNz2Z86FozTZLIt7e+7/dCaPJ1RXZsHCuI9TlcERzEUq57vkM+UdnBgxP0rFd23JYQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^11.1.1", - "@inquirer/type": "^4.0.3" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1107,9 +1099,9 @@ } }, "node_modules/@inquirer/external-editor": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-2.0.3.tgz", - "integrity": "sha512-LgyI7Agbda74/cL5MvA88iDpvdXI2KuMBCGRkbCl2Dg1vzHeOgs+s0SDcXV7b+WZJrv2+ERpWSM65Fpi9VfY3w==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-3.0.0.tgz", + "integrity": "sha512-lDSwMgg+M5rq6JKBYaJwSX6T9e/HK2qqZ1oxmOwn4AQoJE5D+7TumsxLGC02PWS//rkIVqbZv3XA3ejsc9FYvg==", "dev": true, "license": "MIT", "dependencies": { @@ -1129,9 +1121,9 @@ } }, "node_modules/@inquirer/figures": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.3.tgz", - "integrity": "sha512-y09iGt3JKoOCBQ3w4YrSJdokcD8ciSlMIWsD+auPu+OZpfxLuyz+gICAQ6GCBOmJJt4KEQGHuZSVff2jiNOy7g==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-2.0.5.tgz", + "integrity": "sha512-NsSs4kzfm12lNetHwAn3GEuH317IzpwrMCbOuMIVytpjnJ90YYHNwdRgYGuKmVxwuIqSgqk3M5qqQt1cDk0tGQ==", "dev": true, "license": "MIT", "engines": { @@ -1139,14 +1131,14 @@ } }, "node_modules/@inquirer/input": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.0.4.tgz", - "integrity": "sha512-4B3s3jvTREDFvXWit92Yc6jF1RJMDy2VpSqKtm4We2oVU65YOh2szY5/G14h4fHlyQdpUmazU5MPCFZPRJ0AOw==", + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-5.0.11.tgz", + "integrity": "sha512-twUWidn4ocPO8qi6fRM7tNWt7W1FOnOZqQ+/+PsfLUacMR5rFLDPK9ql0nBPwxi0oELbo8T5NhRs8B2+qQEqFQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^11.1.1", - "@inquirer/type": "^4.0.3" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1161,14 +1153,14 @@ } }, "node_modules/@inquirer/number": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.0.4.tgz", - "integrity": "sha512-CmMp9LF5HwE+G/xWsC333TlCzYYbXMkcADkKzcawh49fg2a1ryLc7JL1NJYYt1lJ+8f4slikNjJM9TEL/AljYQ==", + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-4.0.11.tgz", + "integrity": "sha512-Vscmim9TCksQsfjPtka/JwPUcbLhqWYrgfPf1cHrCm24X/F2joFwnageD50yMKsaX14oNGOyKf/RNXAFkNjWpA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^11.1.1", - "@inquirer/type": "^4.0.3" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1183,15 +1175,15 @@ } }, "node_modules/@inquirer/password": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.0.4.tgz", - "integrity": "sha512-ZCEPyVYvHK4W4p2Gy6sTp9nqsdHQCfiPXIP9LbJVW4yCinnxL/dDDmPaEZVysGrj8vxVReRnpfS2fOeODe9zjg==", + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-5.0.11.tgz", + "integrity": "sha512-9KZFeRaNHIcejtPb0wN4ddFc7EvobVoAFa049eS3LrDZFxI8O7xUXiITEOinBzkZFAIwY5V4yzQae/QfO9cbbg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^2.0.3", - "@inquirer/core": "^11.1.1", - "@inquirer/type": "^4.0.3" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1206,22 +1198,22 @@ } }, "node_modules/@inquirer/prompts": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.2.0.tgz", - "integrity": "sha512-rqTzOprAj55a27jctS3vhvDDJzYXsr33WXTjODgVOru21NvBo9yIgLIAf7SBdSV0WERVly3dR6TWyp7ZHkvKFA==", + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-8.4.1.tgz", + "integrity": "sha512-AH5xPQ997K7e0F0vulPlteIHke2awMkFi8F0dBemrDfmvtPmHJo82mdHbONC4F/t8d1NHwrbI5cGVI+RbLWdoQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^5.0.4", - "@inquirer/confirm": "^6.0.4", - "@inquirer/editor": "^5.0.4", - "@inquirer/expand": "^5.0.4", - "@inquirer/input": "^5.0.4", - "@inquirer/number": "^4.0.4", - "@inquirer/password": "^5.0.4", - "@inquirer/rawlist": "^5.2.0", - "@inquirer/search": "^4.1.0", - "@inquirer/select": "^5.0.4" + "@inquirer/checkbox": "^5.1.3", + "@inquirer/confirm": "^6.0.11", + "@inquirer/editor": "^5.1.0", + "@inquirer/expand": "^5.0.12", + "@inquirer/input": "^5.0.11", + "@inquirer/number": "^4.0.11", + "@inquirer/password": "^5.0.11", + "@inquirer/rawlist": "^5.2.7", + "@inquirer/search": "^4.1.7", + "@inquirer/select": "^5.1.3" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1236,14 +1228,14 @@ } }, "node_modules/@inquirer/rawlist": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.2.0.tgz", - "integrity": "sha512-CciqGoOUMrFo6HxvOtU5uL8fkjCmzyeB6fG7O1vdVAZVSopUBYECOwevDBlqNLyyYmzpm2Gsn/7nLrpruy9RFg==", + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-5.2.7.tgz", + "integrity": "sha512-AqRMiD9+uE1lskDPrdqHwrV/EUmxKEBLX44SR7uxK3vD2413AmVfE5EQaPeNzYf5Pq5SitHJDYUFVF0poIr09w==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^11.1.1", - "@inquirer/type": "^4.0.3" + "@inquirer/core": "^11.1.8", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1258,15 +1250,15 @@ } }, "node_modules/@inquirer/search": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.1.0.tgz", - "integrity": "sha512-EAzemfiP4IFvIuWnrHpgZs9lAhWDA0GM3l9F4t4mTQ22IFtzfrk8xbkMLcAN7gmVML9O/i+Hzu8yOUyAaL6BKA==", + "version": "4.1.7", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-4.1.7.tgz", + "integrity": "sha512-1y7+0N65AWk5RdlXH/Kn13txf3IjIQ7OEfhCEkDTU+h5wKMLq8DUF3P6z+/kLSxDGDtQT1dRBWEUC3o/VvImsQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^11.1.1", - "@inquirer/figures": "^2.0.3", - "@inquirer/type": "^4.0.3" + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1281,16 +1273,16 @@ } }, "node_modules/@inquirer/select": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.0.4.tgz", - "integrity": "sha512-s8KoGpPYMEQ6WXc0dT9blX2NtIulMdLOO3LA1UKOiv7KFWzlJ6eLkEYTDBIi+JkyKXyn8t/CD6TinxGjyLt57g==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-5.1.3.tgz", + "integrity": "sha512-zYyqWgGQi3NhBcNq4Isc5rB3oEdQEh1Q/EcAnOW0FK4MpnXWkvSBYgA4cYrTM4A9UB573omouZbnL9JJ74Mq3A==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/ansi": "^2.0.3", - "@inquirer/core": "^11.1.1", - "@inquirer/figures": "^2.0.3", - "@inquirer/type": "^4.0.3" + "@inquirer/ansi": "^2.0.5", + "@inquirer/core": "^11.1.8", + "@inquirer/figures": "^2.0.5", + "@inquirer/type": "^4.0.5" }, "engines": { "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0" @@ -1305,9 +1297,9 @@ } }, "node_modules/@inquirer/type": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.3.tgz", - "integrity": "sha512-cKZN7qcXOpj1h+1eTTcGDVLaBIHNMT1Rz9JqJP5MnEJ0JhgVWllx7H/tahUp5YEK1qaByH2Itb8wLG/iScD5kw==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-4.0.5.tgz", + "integrity": "sha512-aetVUNeKNc/VriqXlw1NRSW0zhMBB0W4bNbWRJgzRl/3d0QNDQFfk0GO5SDdtjMZVg6o8ZKEiadd7SCCzoOn5Q==", "dev": true, "license": "MIT", "engines": { @@ -2105,25 +2097,25 @@ } }, "node_modules/@typespec/compiler": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.10.0.tgz", - "integrity": "sha512-R6BATDkughntPpaxeESJF+wxma5PEjgmnnKvH0/ByqUH8VyhIckQWE9kkP0Uc/EJ0o0VYhe8qCwWQvV70k5lTw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-1.11.0.tgz", + "integrity": "sha512-4vuWtoepc4rYJ81K+P7xn2ByXIRhBM40rfzAGnpagNuGSVHuKEC6lqJqs3ePvhCpnxiYAC8XWpaOi+BEDzyhnQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "~7.29.0", - "@inquirer/prompts": "^8.0.1", + "@inquirer/prompts": "^8.3.0", "ajv": "~8.18.0", "change-case": "~5.4.4", "env-paths": "^4.0.0", - "globby": "~16.1.0", + "globby": "~16.1.1", "is-unicode-supported": "^2.1.0", "mustache": "~4.2.0", "picocolors": "~1.1.1", - "prettier": "~3.8.0", - "semver": "^7.7.1", - "tar": "^7.5.2", - "temporal-polyfill": "^0.3.0", + "prettier": "~3.8.1", + "semver": "^7.7.4", + "tar": "^7.5.11", + "temporal-polyfill": "^0.3.2", "vscode-languageserver": "~9.0.1", "vscode-languageserver-textdocument": "~1.0.12", "yaml": "~2.8.2", @@ -2151,9 +2143,9 @@ } }, "node_modules/@typespec/events": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.80.0.tgz", - "integrity": "sha512-FrWEUwxhDNbE2YN4fyqV5Qrz9qFJbvPoiKrJM7dexkb7eyhepq3dbc5zZgAm/qFBQ+XxGQQVJ4swXxKT+338fw==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@typespec/events/-/events-0.81.0.tgz", + "integrity": "sha512-ee9QSBL+k6ccPlbJICZzaGt4iC1nTIl+J9sELY9yJNISvOvUEzY5MU8c7HaISB10cUESRJW+oaLWwyc8XjwHng==", "dev": true, "license": "MIT", "peer": true, @@ -2161,21 +2153,21 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0" + "@typespec/compiler": "^1.11.0" } }, "node_modules/@typespec/http": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.10.0.tgz", - "integrity": "sha512-/fj55fmUj4m/FmNdfH0V52menVrmS2r5Xj9d1H+pnjQbxvvaxS906RSRcoF8kbg3PvlibP/Py5u82TAk53AyqA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-1.11.0.tgz", + "integrity": "sha512-/DOkN2+MUZyLdmqYmSMZDjxikJTOuNxikTeOwG2fVOibnu8e6S1jzPAuN/mn6YyQBKeBCItMPmUOXIj61Wy8Bg==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0", - "@typespec/streams": "^0.80.0" + "@typespec/compiler": "^1.11.0", + "@typespec/streams": "^0.81.0" }, "peerDependenciesMeta": { "@typespec/streams": { @@ -2184,31 +2176,31 @@ } }, "node_modules/@typespec/http-specs": { - "version": "0.1.0-alpha.35", - "resolved": "https://registry.npmjs.org/@typespec/http-specs/-/http-specs-0.1.0-alpha.35.tgz", - "integrity": "sha512-xLQUmldKvO0TTOf/wpYLbj2dIuXiQfw3gGKN0ZblD3Q3VGHOXEYEALdQ7lQWn3l2lV33cKgEfC3fX/q/p9N/ug==", + "version": "0.1.0-alpha.36", + "resolved": "https://registry.npmjs.org/@typespec/http-specs/-/http-specs-0.1.0-alpha.36.tgz", + "integrity": "sha512-2nwh4YIx7MIwkVV8pZWUgp9dgR9U937MANtJvVILcWLLaBTVfLPXNQZjzDccFozzk8QxL7dBWA/gm7i6lsHZcA==", "dev": true, "license": "MIT", "dependencies": { - "@typespec/spec-api": "^0.1.0-alpha.13", - "@typespec/spector": "^0.1.0-alpha.24", + "@typespec/spec-api": "^0.1.0-alpha.14", + "@typespec/spector": "^0.1.0-alpha.25", "deep-equal": "^2.2.3" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0", - "@typespec/rest": "^0.80.0", - "@typespec/versioning": "^0.80.0", - "@typespec/xml": "^0.80.0" + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0", + "@typespec/rest": "^0.81.0", + "@typespec/versioning": "^0.81.0", + "@typespec/xml": "^0.81.0" } }, "node_modules/@typespec/json-schema": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-1.10.0.tgz", - "integrity": "sha512-FZTJvZoIqMbe/4qi17e8q3KF/2VDSyXiiF8QYwH4lar5dtEDGgwrw9ShLeLNiEZh8Ph3GjrQQV5qdpheDFJJvw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-1.11.0.tgz", + "integrity": "sha512-Nb/6PGIPpIeM9hBqy+ko7Su64cIHb0hkJhou6wyfKuh7PDG5gj3CEvZSyqYw0Wmb0mcFhcXIVw9kKJizZ/WWyw==", "dev": true, "license": "MIT", "dependencies": { @@ -2219,58 +2211,58 @@ "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0" + "@typespec/compiler": "^1.11.0" } }, "node_modules/@typespec/library-linter": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.80.0.tgz", - "integrity": "sha512-7J0jkd6v3360nP/WS9xOPaLIwanaJH/YRkUja7FoOIPyCYem6qnjd/kaCHPo2tV5yZUwvlgE0OkvKTuUHvF/tw==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.81.0.tgz", + "integrity": "sha512-B2PBS41inX//4b5L2THcS8kORh1zawI6TOZ7ybQQ6Nw03sMOU+McDno0uSz8CwheRyfbK9DBv2rG6rX1C6AZYw==", "dev": true, "license": "MIT", "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0" + "@typespec/compiler": "^1.11.0" } }, "node_modules/@typespec/openapi": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.10.0.tgz", - "integrity": "sha512-tukmyp+c9CFlA2FdF61XfT9eTe5WXWz6J8pOrJ9+IYg0BcBwhJkvDj6BYpDD6SjxbRr1wO5ZL2Whe6MequsyVw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.11.0.tgz", + "integrity": "sha512-xUQrHExKBh0XSP4cn+HcondDXjHJM5HCq2Xfy9tB1QflsFh5uP1JJt1+67g73VmHlhZVSUDcoFrnU95pfjyubg==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0" + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0" } }, "node_modules/@typespec/rest": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.80.0.tgz", - "integrity": "sha512-xczXLoB2akSIDner41gQYTS9CG6TdCN0QHYvXBT6ZrYEnBh+pMvdymW//5CSOTamZLOGo9AOJVJaFfwbFA4vQQ==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.81.0.tgz", + "integrity": "sha512-qQXZRKEvq5aNlDFEUqBiiXXPIFyr/+PWgBY0kIrnhyZzMjfUqPInkB12QgXpVp2O2Wm3jmETJD45SaLHTCYBbg==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0" + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0" } }, "node_modules/@typespec/spec-api": { - "version": "0.1.0-alpha.13", - "resolved": "https://registry.npmjs.org/@typespec/spec-api/-/spec-api-0.1.0-alpha.13.tgz", - "integrity": "sha512-ed0qqGM92vKuangmENUYMeDQZpSlsEMYdeH7+wMl+bIgXzfZ7yv07fNwcmROzSEJd0CzdCTgz+Hp+ifmR4USNQ==", + "version": "0.1.0-alpha.14", + "resolved": "https://registry.npmjs.org/@typespec/spec-api/-/spec-api-0.1.0-alpha.14.tgz", + "integrity": "sha512-MpLVtJZMsONMB9Di9aiXRbbihqa/+4MmbDHpuwd3ka39wtRhcA3sbFQY/+oU5zVEfEAldGgVkenFd2wnoI/xkQ==", "dev": true, "license": "MIT", "dependencies": { - "deep-equal": "^2.2.0", + "deep-equal": "^2.2.3", "express": "^5.2.1", "xml2js": "^0.6.2" }, @@ -2326,27 +2318,27 @@ "license": "MIT" }, "node_modules/@typespec/spector": { - "version": "0.1.0-alpha.24", - "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.24.tgz", - "integrity": "sha512-POUSFunRZ4UbPEs+YLz0vE9tDoc6chQ/61moyiWO/k4hD2R1KTH0qlRHhuKW8/Y2wa8Jbuex39Ft/O3reHZSTQ==", + "version": "0.1.0-alpha.25", + "resolved": "https://registry.npmjs.org/@typespec/spector/-/spector-0.1.0-alpha.25.tgz", + "integrity": "sha512-KxMiwA/+XDWpZOdhr7TbnsR8ppXVi+edFa9hdUuerOGQzzALbSeQYUJLUr4RErRiHpqg2/P4FyJ2E0eiA2fTYA==", "dev": true, "license": "MIT", "dependencies": { "@azure/identity": "~4.13.0", - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0", - "@typespec/rest": "^0.80.0", - "@typespec/spec-api": "^0.1.0-alpha.13", + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0", + "@typespec/rest": "^0.81.0", + "@typespec/spec-api": "^0.1.0-alpha.14", "@typespec/spec-coverage-sdk": "^0.1.0-alpha.16", - "@typespec/versioning": "^0.80.0", + "@typespec/versioning": "^0.81.0", "ajv": "~8.18.0", - "body-parser": "^2.2.0", - "deep-equal": "^2.2.0", + "body-parser": "^2.2.2", + "deep-equal": "^2.2.3", "express": "^5.2.1", - "globby": "~16.1.0", + "globby": "~16.1.1", "micromatch": "^4.0.8", - "morgan": "^1.10.0", - "multer": "^2.0.1", + "morgan": "^1.10.1", + "multer": "^2.1.1", "picocolors": "~1.1.1", "source-map-support": "~0.5.21", "xml2js": "^0.6.2", @@ -2361,39 +2353,38 @@ } }, "node_modules/@typespec/sse": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.80.0.tgz", - "integrity": "sha512-/lxYgMaxgEcjBVhep9tf/VnFD2wnkZlkmjUHLeZL8Cuf+qip61Ren6Ml91YtNnnIFYsuuymDzRclrA073ZBR6Q==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@typespec/sse/-/sse-0.81.0.tgz", + "integrity": "sha512-VinoeN+5ClKlGXf77fWayAQna8SaYtvEBhnLR8t8FdvmMsL6ce1LghR2kAL3ARbNXfwMZRmQiq+ajKKebDLIng==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0", - "@typespec/events": "^0.80.0", - "@typespec/http": "^1.10.0", - "@typespec/streams": "^0.80.0" + "@typespec/compiler": "^1.11.0", + "@typespec/events": "^0.81.0", + "@typespec/http": "^1.11.0", + "@typespec/streams": "^0.81.0" } }, "node_modules/@typespec/streams": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.80.0.tgz", - "integrity": "sha512-lNvzrvX/ZRIxRpxIBZu90XNsT+uWsMbLtxHd9edspHAiID3c9WKZbl2fnLcPqdR/60odqKve4yGzB9gF58GUDQ==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@typespec/streams/-/streams-0.81.0.tgz", + "integrity": "sha512-IIEKq18aqAtM65f8ZLs3Kzua97wjkr8fTehqPs/Q4neWo2UkDJp64LfA37iXJzaku8xMFSwXdVu4EW8wo+KV8w==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0" + "@typespec/compiler": "^1.11.0" } }, "node_modules/@typespec/ts-http-runtime": { "version": "0.3.4", "resolved": "https://registry.npmjs.org/@typespec/ts-http-runtime/-/ts-http-runtime-0.3.4.tgz", "integrity": "sha512-CI0NhTrz4EBaa0U+HaaUZrJhPoso8sG7ZFya8uQoBA57fjzrjRSv87ekCjLZOFExN+gXE/z0xuN2QfH4H2HrLQ==", - "dev": true, "license": "MIT", "dependencies": { "http-proxy-agent": "^7.0.0", @@ -2434,29 +2425,29 @@ } }, "node_modules/@typespec/versioning": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.80.0.tgz", - "integrity": "sha512-WQCT0jN2lSRfwOy+Cd1KUYzenpKR5TdoX0uW6zQdvxQ9nQZIXoaSaReh9/ldhmSV4xv3p2dqF9oq1cdbVGfJTg==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.81.0.tgz", + "integrity": "sha512-5bha4t64xA85zLY8VGm/6jNd2kwPHzjPq/dlCUjtgGfGXv2R6Ow/YIukqhqZnwnIgNAIlZ7nguekRMRx+2oO2w==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0" + "@typespec/compiler": "^1.11.0" } }, "node_modules/@typespec/xml": { - "version": "0.80.0", - "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.80.0.tgz", - "integrity": "sha512-Qfy5eyCcOF3xYOU/dejhpmmeY75U1Q9C8XBE+GvSZ3lakRfKBIpT+X6Q07qmKSAbGYJZKYLWCIAy/dgCuu/OAA==", + "version": "0.81.0", + "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.81.0.tgz", + "integrity": "sha512-4docnAcV1a8gE4c4TmYuirZf2PEzS4xHUH4QjHFU6hk6J2M6OMU6YG4iSq9tmlUzQ/2DraVcWNO/fsG8Lt383A==", "dev": true, "license": "MIT", "engines": { "node": ">=20.0.0" }, "peerDependencies": { - "@typespec/compiler": "^1.10.0" + "@typespec/compiler": "^1.11.0" } }, "node_modules/@vitest/coverage-v8": { @@ -2665,7 +2656,6 @@ "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", - "dev": true, "license": "MIT", "engines": { "node": ">= 14" @@ -2902,7 +2892,6 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", - "dev": true, "license": "BSD-3-Clause" }, "node_modules/buffer-from": { @@ -2916,7 +2905,6 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", - "dev": true, "license": "MIT", "dependencies": { "run-applescript": "^7.0.0" @@ -3295,9 +3283,9 @@ } }, "node_modules/content-disposition": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.1.tgz", - "integrity": "sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.1.0.tgz", + "integrity": "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g==", "dev": true, "license": "MIT", "engines": { @@ -3364,7 +3352,6 @@ "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -3425,7 +3412,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.0.tgz", "integrity": "sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==", - "dev": true, "license": "MIT", "dependencies": { "bundle-name": "^4.1.0", @@ -3442,7 +3428,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -3473,7 +3458,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -3546,7 +3530,6 @@ "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "dev": true, "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" @@ -3833,6 +3816,23 @@ "node": ">=8.6.0" } }, + "node_modules/fast-string-truncated-width": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz", + "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-string-width": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz", + "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-string-truncated-width": "^3.0.2" + } + }, "node_modules/fast-uri": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz", @@ -3850,6 +3850,16 @@ ], "license": "BSD-3-Clause" }, + "node_modules/fast-wrap-ansi": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.0.tgz", + "integrity": "sha512-rLV8JHxTyhVmFYhBJuMujcrHqOT2cnO5Zxj37qROj23CP39GXubJRBUFF0z8KFK77Uc0SukZUf7JZhsVEQ6n8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-string-width": "^3.0.2" + } + }, "node_modules/fast-xml-builder": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz", @@ -3867,9 +3877,9 @@ } }, "node_modules/fast-xml-parser": { - "version": "5.5.7", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.7.tgz", - "integrity": "sha512-LteOsISQ2GEiDHZch6L9hB0+MLoYVLToR7xotrzU0opCICBkxOPgHAy1HxAvtxfJNXDJpgAsQN30mkrfpO2Prg==", + "version": "5.5.10", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.10.tgz", + "integrity": "sha512-go2J2xODMc32hT+4Xr/bBGXMaIoiCwrwp2mMtAvKyvEFW6S/v5Gn2pBmE4nvbwNjGhpcAiOwEv7R6/GZ6XRa9w==", "dev": true, "funding": [ { @@ -3880,8 +3890,8 @@ "license": "MIT", "dependencies": { "fast-xml-builder": "^1.1.4", - "path-expression-matcher": "^1.1.3", - "strnum": "^2.2.0" + "path-expression-matcher": "^1.2.1", + "strnum": "^2.2.2" }, "bin": { "fxparser": "src/cli/cli.js" @@ -4167,9 +4177,9 @@ } }, "node_modules/globby": { - "version": "16.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-16.1.0.tgz", - "integrity": "sha512-+A4Hq7m7Ze592k9gZRy4gJ27DrXRNnC1vPjxTt1qQxEY8RxagBkBxivkCwg7FxSTG0iLLEMaUx13oOr0R2/qcQ==", + "version": "16.1.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-16.1.1.tgz", + "integrity": "sha512-dW7vl+yiAJSp6aCekaVnVJxurRv7DCOLyXqEG3RYMYUg7AuJ2jCqPkZTA8ooqC2vtnkaMcV5WfFBMuEnTu1OQg==", "dev": true, "license": "MIT", "dependencies": { @@ -4317,7 +4327,6 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", - "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.0", @@ -4331,7 +4340,6 @@ "version": "7.0.6", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", - "dev": true, "license": "MIT", "dependencies": { "agent-base": "^7.1.2", @@ -4528,7 +4536,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", - "dev": true, "license": "MIT", "bin": { "is-docker": "cli.js" @@ -4577,7 +4584,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", - "dev": true, "license": "MIT", "dependencies": { "is-docker": "^3.0.0" @@ -4795,7 +4801,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", - "dev": true, "license": "MIT", "dependencies": { "is-inside-container": "^1.0.0" @@ -4942,7 +4947,6 @@ "version": "9.0.3", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.3.tgz", "integrity": "sha512-MT/xP0CrubFRNLNKvxJ2BYfy53Zkm++5bX9dtuPbqAeQpTVe0MQTFhao8+Cp//EmJp244xt6Drw/GVEGCUj40g==", - "dev": true, "license": "MIT", "dependencies": { "jws": "^4.0.1", @@ -4965,7 +4969,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", - "dev": true, "license": "MIT", "dependencies": { "buffer-equal-constant-time": "^1.0.1", @@ -4977,7 +4980,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.1.tgz", "integrity": "sha512-EKI/M/yqPncGUUh44xz0PxSidXFr/+r0pA70+gIYhjv+et7yxM+s29Y+VGDkovRofQem0fs7Uvf4+YmAdyRduA==", - "dev": true, "license": "MIT", "dependencies": { "jwa": "^2.0.1", @@ -5021,49 +5023,42 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", - "dev": true, "license": "MIT" }, "node_modules/lodash.isboolean": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", - "dev": true, "license": "MIT" }, "node_modules/lodash.isinteger": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", - "dev": true, "license": "MIT" }, "node_modules/lodash.isnumber": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", - "dev": true, "license": "MIT" }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true, "license": "MIT" }, "node_modules/lodash.isstring": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "dev": true, "license": "MIT" }, "node_modules/lodash.once": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", - "dev": true, "license": "MIT" }, "node_modules/loupe": { @@ -5367,7 +5362,6 @@ "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, "license": "MIT" }, "node_modules/multer": { @@ -5584,7 +5578,6 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/open/-/open-10.2.0.tgz", "integrity": "sha512-YgBpdJHPyQ2UE5x+hlSXcnejzAvD0b22U2OuAP+8OnlJT+PjWPxtgmGqKKc+RgTM63U9gN0YzrYc71R2WT/hTA==", - "dev": true, "license": "MIT", "dependencies": { "default-browser": "^5.2.1", @@ -5659,9 +5652,9 @@ } }, "node_modules/path-expression-matcher": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.1.3.tgz", - "integrity": "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.4.0.tgz", + "integrity": "sha512-s4DQMxIdhj3jLFWd9LxHOplj4p9yQ4ffMGowFf3cpEgrrJjEhN0V5nxw4Ye1EViAGDoL4/1AeO6qHpqYPOzE4Q==", "dev": true, "funding": [ { @@ -5709,9 +5702,9 @@ } }, "node_modules/path-to-regexp": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.3.0.tgz", - "integrity": "sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==", + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", + "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", "dev": true, "license": "MIT", "funding": { @@ -6082,7 +6075,6 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -6119,7 +6111,6 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, "funding": [ { "type": "github", @@ -6162,9 +6153,9 @@ "license": "MIT" }, "node_modules/sax": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.5.0.tgz", - "integrity": "sha512-21IYA3Q5cQf089Z6tgaUTr7lDAyzoTPx5HRtbhsME8Udispad8dC/+sziTNugOEx54ilvatQ9YCzl4KQLPcRHA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz", + "integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -6175,7 +6166,6 @@ "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, "license": "ISC", "dependencies": { "lru-cache": "^6.0.0" @@ -6191,7 +6181,6 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, "license": "ISC", "dependencies": { "yallist": "^4.0.0" @@ -6204,7 +6193,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true, "license": "ISC" }, "node_modules/send": { @@ -6639,9 +6627,9 @@ "license": "MIT" }, "node_modules/strnum": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.0.tgz", - "integrity": "sha512-Y7Bj8XyJxnPAORMZj/xltsfo55uOiyHcU2tnAVzHUnSJR/KsEX+9RoDeXEnsXtl/CX4fAcrt64gZ13aGaWPeBg==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.3.tgz", + "integrity": "sha512-oKx6RUCuHfT3oyVjtnrmn19H1SiCqgJSg+54XqURKp5aCMbrXrhLjRN9TjuwMjiYstZ0MzDrHqkGZ5dFTKd+zg==", "dev": true, "funding": [ { @@ -6681,9 +6669,9 @@ } }, "node_modules/tar": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.9.tgz", - "integrity": "sha512-BTLcK0xsDh2+PUe9F6c2TlRp4zOOBMTkoQHQIWSIzI0R7KG46uEwq4OPk2W7bZcprBMsuaeFsqwYr7pjh6CuHg==", + "version": "7.5.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.13.tgz", + "integrity": "sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -6698,19 +6686,19 @@ } }, "node_modules/temporal-polyfill": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.3.0.tgz", - "integrity": "sha512-qNsTkX9K8hi+FHDfHmf22e/OGuXmfBm9RqNismxBrnSmZVJKegQ+HYYXT+R7Ha8F/YSm2Y34vmzD4cxMu2u95g==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/temporal-polyfill/-/temporal-polyfill-0.3.2.tgz", + "integrity": "sha512-TzHthD/heRK947GNiSu3Y5gSPpeUDH34+LESnfsq8bqpFhsB79HFBX8+Z834IVX68P3EUyRPZK5bL/1fh437Eg==", "dev": true, "license": "MIT", "dependencies": { - "temporal-spec": "0.3.0" + "temporal-spec": "0.3.1" } }, "node_modules/temporal-spec": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.3.0.tgz", - "integrity": "sha512-n+noVpIqz4hYgFSMOSiINNOUOMFtV5cZQNCmmszA6GiVFVRt3G7AqVyhXjhCSmowvQn+NsGn+jMDMKJYHd3bSQ==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/temporal-spec/-/temporal-spec-0.3.1.tgz", + "integrity": "sha512-B4TUhezh9knfSIMwt7RVggApDRJZo73uZdj8AacL2mZ8RP5KtLianh2MXxL06GN9ESYiIsiuoLQhgVfwe55Yhw==", "dev": true, "license": "ISC" }, @@ -7026,7 +7014,6 @@ "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", - "dev": true, "license": "0BSD" }, "node_modules/type-is": { @@ -7176,7 +7163,6 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, "license": "MIT", "bin": { "uuid": "dist/bin/uuid" @@ -7682,7 +7668,6 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.1.0.tgz", "integrity": "sha512-h3Fbisa2nKGPxCpm89Hk33lBLsnaGBvctQopaBSOW/uIs6FTe1ATyAnKFJrzVs9vpGdsTe73WF3V4lIsk4Gacw==", - "dev": true, "license": "MIT", "dependencies": { "is-wsl": "^3.1.0" diff --git a/packages/http-client-csharp/package.json b/packages/http-client-csharp/package.json index d7e2d7198c4..2d02f7cfdb8 100644 --- a/packages/http-client-csharp/package.json +++ b/packages/http-client-csharp/package.json @@ -52,39 +52,42 @@ "emitter/lib/*.tsp" ], "peerDependencies": { - "@azure-tools/typespec-client-generator-core": ">=0.66.3 <0.67.0 || ~0.67.0-0", - "@typespec/compiler": "^1.10.0", - "@typespec/http": "^1.10.0", - "@typespec/openapi": "^1.10.0", - "@typespec/rest": ">=0.80.0 <0.81.0 || ~0.81.0-0", - "@typespec/sse": ">=0.80.0 <0.81.0 || ~0.81.0-0", - "@typespec/streams": ">=0.80.0 <0.81.0 || ~0.81.0-0", - "@typespec/versioning": ">=0.80.0 <0.81.0 || ~0.81.0-0" + "@azure-tools/typespec-client-generator-core": ">=0.67.1 <0.68.0 || ~0.68.0-0", + "@typespec/compiler": "^1.11.0", + "@typespec/http": "^1.11.0", + "@typespec/openapi": "^1.11.0", + "@typespec/rest": ">=0.81.0 <0.82.0 || ~0.82.0-0", + "@typespec/sse": ">=0.81.0 <0.82.0 || ~0.82.0-0", + "@typespec/streams": ">=0.81.0 <0.82.0 || ~0.82.0-0", + "@typespec/versioning": ">=0.81.0 <0.82.0 || ~0.82.0-0" }, "devDependencies": { - "@azure-tools/azure-http-specs": "0.1.0-alpha.38", - "@azure-tools/typespec-azure-core": "0.66.0", - "@azure-tools/typespec-client-generator-core": "0.66.3", + "@azure-tools/azure-http-specs": "0.1.0-alpha.39", + "@azure-tools/typespec-azure-core": "0.67.0", + "@azure-tools/typespec-client-generator-core": "0.67.1", "@microsoft/api-extractor": "^7.52.2", "@types/node": "~22.12.0", - "@typespec/compiler": "1.10.0", - "@typespec/http": "1.10.0", - "@typespec/http-specs": "0.1.0-alpha.35", - "@typespec/json-schema": "1.10.0", - "@typespec/library-linter": "0.80.0", - "@typespec/openapi": "1.10.0", - "@typespec/rest": "0.80.0", - "@typespec/spector": "0.1.0-alpha.24", - "@typespec/sse": "0.80.0", - "@typespec/streams": "0.80.0", + "@typespec/compiler": "1.11.0", + "@typespec/http": "1.11.0", + "@typespec/http-specs": "0.1.0-alpha.36", + "@typespec/json-schema": "1.11.0", + "@typespec/library-linter": "0.81.0", + "@typespec/openapi": "1.11.0", + "@typespec/rest": "0.81.0", + "@typespec/spector": "0.1.0-alpha.25", + "@typespec/sse": "0.81.0", + "@typespec/streams": "0.81.0", "@typespec/tspd": "0.74.1", - "@typespec/versioning": "0.80.0", - "@typespec/xml": "0.80.0", + "@typespec/versioning": "0.81.0", + "@typespec/xml": "0.81.0", "@vitest/coverage-v8": "^3.0.5", "@vitest/ui": "^3.0.5", "c8": "^10.1.2", "rimraf": "~6.0.1", "typescript": "~5.8.2", "vitest": "^3.0.5" + }, + "dependencies": { + "@azure/identity": "^4.13.0" } }