diff --git a/packages/http-client-csharp/emitter/src/lib/client-model-builder.ts b/packages/http-client-csharp/emitter/src/lib/client-model-builder.ts index 880631124a..3a0c00cfd3 100644 --- a/packages/http-client-csharp/emitter/src/lib/client-model-builder.ts +++ b/packages/http-client-csharp/emitter/src/lib/client-model-builder.ts @@ -11,7 +11,6 @@ import { SdkType, UsageFlags, } from "@azure-tools/typespec-client-generator-core"; -import { getDoc } from "@typespec/compiler"; import { NetEmitterOptions, resolveOptions } from "../options.js"; import { CodeModel } from "../type/code-model.js"; import { InputClient } from "../type/input-client.js"; @@ -86,7 +85,7 @@ export function createModel(sdkContext: SdkContext): CodeMode const clientParameters = fromSdkEndpointParameter(endpointParameter); return { Name: getClientName(client, parentNames), - Description: client.description, + Description: client.summary ?? client.doc, Operations: client.methods .filter((m) => m.kind !== "clientaccessor") .map((m) => @@ -158,8 +157,7 @@ export function createModel(sdkContext: SdkContext): CodeMode parameters.push({ Name: parameter.name, NameInRequest: parameter.serializedName, - // TODO: remove this workaround after https://github.com/Azure/typespec-azure/issues/1212 is fixed - Description: parameter.__raw ? getDoc(sdkContext.program, parameter.__raw) : undefined, + Description: parameter.doc, // TODO: we should do the magic in generator Type: parameterType, Location: RequestLocation.Uri, diff --git a/packages/http-client-csharp/emitter/src/lib/converter.ts b/packages/http-client-csharp/emitter/src/lib/converter.ts index 9e49a27aea..5961fcba1c 100644 --- a/packages/http-client-csharp/emitter/src/lib/converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/converter.ts @@ -122,7 +122,7 @@ export function fromSdkModelType( ) /* when tcgc provide a way to identify if the access is override or not, we can get the accessibility from the modelType.access */, usage: modelType.usage, deprecation: modelType.deprecation, - description: modelType.description, + description: modelType.summary ?? modelType.doc, discriminatorValue: modelType.discriminatorValue, decorators: modelType.decorators, } as InputModelType; @@ -185,7 +185,7 @@ export function fromSdkModelType( kind: property.kind, name: property.name, serializedName: serializedName, - description: property.description, + description: property.summary ?? property.doc, type: fromSdkType( targetType, context, @@ -225,7 +225,7 @@ export function fromSdkEnumType( enumType.__raw as any, ) /* when tcgc provide a way to identify if the access is override or not, we can get the accessibility from the enumType.access,*/, deprecation: enumType.deprecation, - description: enumType.description, + description: enumType.summary ?? enumType.doc, isFixed: enumType.isFixed, isFlags: enumType.isFlags, usage: enumType.usage, @@ -386,7 +386,7 @@ function fromSdkEnumValueType( value: enumValueType.value, valueType: fromSdkBuiltInType(enumValueType.valueType), enumType: fromSdkEnumType(enumValueType.enumType, context, typeMap), - description: enumValueType.description, + description: enumValueType.summary ?? enumValueType.doc, decorators: enumValueType.decorators, }; } diff --git a/packages/http-client-csharp/emitter/src/lib/operation-converter.ts b/packages/http-client-csharp/emitter/src/lib/operation-converter.ts index 92bc515e78..bf311ad930 100644 --- a/packages/http-client-csharp/emitter/src/lib/operation-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/operation-converter.ts @@ -17,7 +17,7 @@ import { shouldGenerateConvenient, shouldGenerateProtocol, } from "@azure-tools/typespec-client-generator-core"; -import { getDeprecated, getDoc, getSummary, isErrorModel } from "@typespec/compiler"; +import { getDeprecated, isErrorModel } from "@typespec/compiler"; import { HttpStatusCodeRange } from "@typespec/http"; import { getResourceOperation } from "@typespec/rest"; import { NetEmitterOptions } from "../options.js"; @@ -76,10 +76,8 @@ export function fromSdkServiceMethod( .name ?? getOperationGroupName(sdkContext, method.operation, sdkContext.sdkPackage.rootNamespace), Deprecated: getDeprecated(sdkContext.program, method.__raw!), - // TODO: we need to figure out how we want to handle summary and description - // Right now, we generate garbage for some APIs like `Platform-OpenAI-TypeSpec` - Summary: getSummary(sdkContext.program, method.__raw!), - Description: getDoc(sdkContext.program, method.__raw!), + Summary: method.summary, + Description: method.doc, Accessibility: method.access, Parameters: [...clientParameters, ...parameterMap.values()], Responses: [...responseMap.values()], @@ -185,7 +183,7 @@ function fromSdkHttpOperationParameter( return { Name: p.name, NameInRequest: p.kind === "header" ? normalizeHeaderName(serializedName) : serializedName, - Description: p.description, + Description: p.summary ?? p.doc, Type: parameterType, Location: getParameterLocation(p), IsApiVersion: @@ -273,7 +271,7 @@ function fromSdkServiceResponseHeaders( ({ Name: h.__raw!.name, NameInResponse: h.serializedName, - Description: h.description, + Description: h.summary ?? h.doc, Type: fromSdkType(h.type, sdkContext, typeMap), }) as HttpResponseHeader, ); diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/api-key/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/api-key/tspCodeModel.json index 2b05e6e1b2..07259e1855 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/api-key/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/api-key/tspCodeModel.json @@ -51,6 +51,7 @@ "$id": "7", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "8", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/http/custom/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/http/custom/tspCodeModel.json index 072db5ad25..953b9f7105 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/http/custom/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/http/custom/tspCodeModel.json @@ -51,6 +51,7 @@ "$id": "7", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "8", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/oauth2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/oauth2/tspCodeModel.json index d2ffcd3be7..f0574f0322 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/oauth2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/oauth2/tspCodeModel.json @@ -51,6 +51,7 @@ "$id": "7", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "8", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/union/tspCodeModel.json index e3f41a9e09..80f3d21326 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/authentication/union/tspCodeModel.json @@ -21,6 +21,7 @@ "$id": "4", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "5", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/naming/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/naming/tspCodeModel.json index fb5538c0d4..4afbde3323 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/naming/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/naming/tspCodeModel.json @@ -261,6 +261,7 @@ "$id": "29", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "30", "kind": "url", @@ -719,6 +720,7 @@ "$id": "67", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "68", "kind": "url", @@ -920,6 +922,7 @@ "$id": "85", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "86", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/src/Generated/Models/ClientType.cs b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/src/Generated/Models/ClientType.cs index 9fd3a0751a..6cb5138ad1 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/src/Generated/Models/ClientType.cs +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/src/Generated/Models/ClientType.cs @@ -13,6 +13,8 @@ public enum ClientType /// RenamedOperation. RenamedOperation, /// TwoOperationGroup. - TwoOperationGroup + TwoOperationGroup, + /// ClientOperationGroup. + ClientOperationGroup } } diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/tspCodeModel.json index 0f084e570f..b34a0d349f 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/multi-client/tspCodeModel.json @@ -83,6 +83,23 @@ "$ref": "2" }, "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "ClientOperationGroup", + "value": "client-operation-group", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "decorators": [] } ], "isFixed": true, @@ -94,22 +111,22 @@ "Models": [], "Clients": [ { - "$id": "12", + "$id": "14", "Name": "ClientAClient", "Operations": [ { - "$id": "13", + "$id": "15", "Name": "renamedOne", "ResourceName": "ClientA", "Accessibility": "public", "Parameters": [ { - "$id": "14", + "$id": "16", "Name": "endpoint", "NameInRequest": "endpoint", "Description": "Need to be set as 'http://localhost:3000' in client.", "Type": { - "$id": "15", + "$id": "17", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -125,7 +142,7 @@ "Kind": "Client" }, { - "$id": "16", + "$id": "18", "Name": "client", "NameInRequest": "client", "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", @@ -145,7 +162,7 @@ ], "Responses": [ { - "$id": "17", + "$id": "19", "StatusCodes": [ 204 ], @@ -165,21 +182,21 @@ "Decorators": [] }, { - "$id": "18", + "$id": "20", "Name": "renamedThree", "ResourceName": "ClientA", "Accessibility": "public", "Parameters": [ { - "$ref": "14" + "$ref": "16" }, { - "$ref": "16" + "$ref": "18" } ], "Responses": [ { - "$id": "19", + "$id": "21", "StatusCodes": [ 204 ], @@ -199,21 +216,21 @@ "Decorators": [] }, { - "$id": "20", + "$id": "22", "Name": "renamedFive", "ResourceName": "ClientA", "Accessibility": "public", "Parameters": [ { - "$ref": "14" + "$ref": "16" }, { - "$ref": "16" + "$ref": "18" } ], "Responses": [ { - "$id": "21", + "$id": "23", "StatusCodes": [ 204 ], @@ -234,35 +251,35 @@ } ], "Protocol": { - "$id": "22" + "$id": "24" }, "Parameters": [ { - "$ref": "14" + "$ref": "16" }, { - "$ref": "16" + "$ref": "18" } ], "Decorators": [] }, { - "$id": "23", + "$id": "25", "Name": "ClientBClient", "Operations": [ { - "$id": "24", + "$id": "26", "Name": "renamedTwo", "ResourceName": "ClientB", "Accessibility": "public", "Parameters": [ { - "$id": "25", + "$id": "27", "Name": "endpoint", "NameInRequest": "endpoint", "Description": "Need to be set as 'http://localhost:3000' in client.", "Type": { - "$id": "26", + "$id": "28", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url" @@ -278,7 +295,7 @@ "Kind": "Client" }, { - "$id": "27", + "$id": "29", "Name": "client", "NameInRequest": "client", "Description": "Need to be set as 'default', 'multi-client', 'renamed-operation', 'two-operation-group' in client.", @@ -298,7 +315,7 @@ ], "Responses": [ { - "$id": "28", + "$id": "30", "StatusCodes": [ 204 ], @@ -318,21 +335,21 @@ "Decorators": [] }, { - "$id": "29", + "$id": "31", "Name": "renamedFour", "ResourceName": "ClientB", "Accessibility": "public", "Parameters": [ { - "$ref": "25" + "$ref": "27" }, { - "$ref": "27" + "$ref": "29" } ], "Responses": [ { - "$id": "30", + "$id": "32", "StatusCodes": [ 204 ], @@ -352,21 +369,21 @@ "Decorators": [] }, { - "$id": "31", + "$id": "33", "Name": "renamedSix", "ResourceName": "ClientB", "Accessibility": "public", "Parameters": [ { - "$ref": "25" + "$ref": "27" }, { - "$ref": "27" + "$ref": "29" } ], "Responses": [ { - "$id": "32", + "$id": "34", "StatusCodes": [ 204 ], @@ -387,14 +404,14 @@ } ], "Protocol": { - "$id": "33" + "$id": "35" }, "Parameters": [ { - "$ref": "25" + "$ref": "27" }, { - "$ref": "27" + "$ref": "29" } ], "Decorators": [] diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/bytes/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/bytes/tspCodeModel.json index f5bc01960d..864718c777 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/bytes/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/bytes/tspCodeModel.json @@ -154,6 +154,7 @@ "$id": "18", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "19", "kind": "url", @@ -197,6 +198,7 @@ "$id": "24", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "25", "kind": "url", @@ -468,6 +470,7 @@ "$id": "48", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "49", "kind": "url", @@ -959,6 +962,7 @@ "$id": "90", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "91", "kind": "url", @@ -1230,6 +1234,7 @@ "$id": "114", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "115", "kind": "url", @@ -1689,6 +1694,7 @@ "$id": "155", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "156", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/datetime/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/datetime/tspCodeModel.json index 0b5ace378b..b8b048c8ff 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/datetime/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/datetime/tspCodeModel.json @@ -226,6 +226,7 @@ "$id": "27", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "28", "kind": "url", @@ -269,6 +270,7 @@ "$id": "33", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "34", "kind": "url", @@ -635,6 +637,7 @@ "$id": "67", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "68", "kind": "url", @@ -1238,6 +1241,7 @@ "$id": "118", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "119", "kind": "url", @@ -1604,6 +1608,7 @@ "$id": "152", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "153", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/duration/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/duration/tspCodeModel.json index 756e645c6e..223000e519 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/duration/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/encode/duration/tspCodeModel.json @@ -263,6 +263,7 @@ "$id": "31", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "32", "kind": "url", @@ -306,6 +307,7 @@ "$id": "37", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "38", "kind": "url", @@ -732,6 +734,7 @@ "$id": "76", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "77", "kind": "url", @@ -1447,6 +1450,7 @@ "$id": "136", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "137", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/basic/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/basic/tspCodeModel.json index d814c4776a..d592a78fa0 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/basic/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/basic/tspCodeModel.json @@ -78,6 +78,7 @@ "$id": "10", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "11", "kind": "url", @@ -121,6 +122,7 @@ "$id": "16", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "17", "kind": "url", @@ -243,6 +245,7 @@ "$id": "28", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "29", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/spread/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/spread/tspCodeModel.json index cfe31e60fb..65c3268444 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/spread/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/parameters/spread/tspCodeModel.json @@ -319,6 +319,7 @@ "$id": "35", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "36", "kind": "url", @@ -362,6 +363,7 @@ "$id": "41", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "42", "kind": "url", @@ -878,6 +880,7 @@ "$id": "85", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "86", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/media-type/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/media-type/tspCodeModel.json index 4cd7efa4d9..8aa7f42a5c 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/media-type/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/media-type/tspCodeModel.json @@ -18,6 +18,7 @@ "$id": "4", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "5", "kind": "url", @@ -61,6 +62,7 @@ "$id": "10", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "11", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/multipart/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/multipart/tspCodeModel.json index 784d80176f..09c32bb00a 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/multipart/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/multipart/tspCodeModel.json @@ -823,6 +823,7 @@ "$id": "81", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "82", "kind": "url", @@ -867,6 +868,7 @@ "$id": "87", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "88", "kind": "url", @@ -1463,6 +1465,7 @@ "$id": "135", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "136", "kind": "url", @@ -1585,6 +1588,7 @@ "$id": "147", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "148", "kind": "url", @@ -1865,6 +1869,7 @@ "$id": "171", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "172", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/xml/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/xml/tspCodeModel.json index 98d2fe338c..84ac7be4a6 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/xml/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/payload/xml/tspCodeModel.json @@ -716,6 +716,7 @@ "$id": "88", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "89", "kind": "url", @@ -760,6 +761,7 @@ "$id": "94", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "95", "kind": "url", @@ -965,6 +967,7 @@ "$id": "114", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "115", "kind": "url", @@ -1170,6 +1173,7 @@ "$id": "134", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "135", "kind": "url", @@ -1375,6 +1379,7 @@ "$id": "154", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "155", "kind": "url", @@ -1580,6 +1585,7 @@ "$id": "174", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "175", "kind": "url", @@ -1785,6 +1791,7 @@ "$id": "194", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "195", "kind": "url", @@ -1990,6 +1997,7 @@ "$id": "214", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "215", "kind": "url", @@ -2195,6 +2203,7 @@ "$id": "234", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "235", "kind": "url", @@ -2400,6 +2409,7 @@ "$id": "254", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "255", "kind": "url", @@ -2605,6 +2615,7 @@ "$id": "274", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "275", "kind": "url", @@ -2810,6 +2821,7 @@ "$id": "294", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "295", "kind": "url", @@ -3015,6 +3027,7 @@ "$id": "314", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "315", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/array/tspCodeModel.json index bf6453be34..8867dfccfa 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/array/tspCodeModel.json @@ -72,6 +72,7 @@ "$id": "9", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "10", "kind": "url", @@ -116,6 +117,7 @@ "$id": "15", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "16", "kind": "url", @@ -325,6 +327,7 @@ "$id": "36", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "37", "kind": "url", @@ -534,6 +537,7 @@ "$id": "57", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "58", "kind": "url", @@ -743,6 +747,7 @@ "$id": "78", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "79", "kind": "url", @@ -952,6 +957,7 @@ "$id": "99", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "100", "kind": "url", @@ -1161,6 +1167,7 @@ "$id": "120", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "121", "kind": "url", @@ -1386,6 +1393,7 @@ "$id": "143", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "144", "kind": "url", @@ -1611,6 +1619,7 @@ "$id": "166", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "167", "kind": "url", @@ -1820,6 +1829,7 @@ "$id": "187", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "188", "kind": "url", @@ -2021,6 +2031,7 @@ "$id": "206", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "207", "kind": "url", @@ -2238,6 +2249,7 @@ "$id": "229", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "230", "kind": "url", @@ -2455,6 +2467,7 @@ "$id": "252", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "253", "kind": "url", @@ -2672,6 +2685,7 @@ "$id": "275", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "276", "kind": "url", @@ -2889,6 +2903,7 @@ "$id": "298", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "299", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/dictionary/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/dictionary/tspCodeModel.json index 1ad143cb41..644587fe5d 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/dictionary/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/dictionary/tspCodeModel.json @@ -77,6 +77,7 @@ "$id": "10", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "11", "kind": "url", @@ -121,6 +122,7 @@ "$id": "16", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "17", "kind": "url", @@ -340,6 +342,7 @@ "$id": "39", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "40", "kind": "url", @@ -559,6 +562,7 @@ "$id": "62", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "63", "kind": "url", @@ -778,6 +782,7 @@ "$id": "85", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "86", "kind": "url", @@ -997,6 +1002,7 @@ "$id": "108", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "109", "kind": "url", @@ -1216,6 +1222,7 @@ "$id": "131", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "132", "kind": "url", @@ -1451,6 +1458,7 @@ "$id": "156", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "157", "kind": "url", @@ -1686,6 +1694,7 @@ "$id": "181", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "182", "kind": "url", @@ -1905,6 +1914,7 @@ "$id": "204", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "205", "kind": "url", @@ -2116,6 +2126,7 @@ "$id": "225", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "226", "kind": "url", @@ -2327,6 +2338,7 @@ "$id": "246", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "247", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/extensible/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/extensible/tspCodeModel.json index b61aa20709..89cd047d03 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/extensible/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/extensible/tspCodeModel.json @@ -164,6 +164,7 @@ "$id": "20", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "21", "kind": "url", @@ -207,6 +208,7 @@ "$id": "26", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "27", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/fixed/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/fixed/tspCodeModel.json index b9914ea7e1..2382b81ae0 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/fixed/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/enum/fixed/tspCodeModel.json @@ -164,6 +164,7 @@ "$id": "20", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "21", "kind": "url", @@ -208,6 +209,7 @@ "$id": "26", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "27", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/empty/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/empty/tspCodeModel.json index 020e9c2b3e..fd0aadac7b 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/empty/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/empty/tspCodeModel.json @@ -51,6 +51,7 @@ "$id": "7", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "8", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/enum-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/enum-discriminator/tspCodeModel.json index fd6a4b1e53..d5f1153304 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -293,6 +293,7 @@ "$id": "30", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "31", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/single-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/single-discriminator/tspCodeModel.json index f2f757a85b..4ed19f4c7c 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -411,6 +411,7 @@ "$id": "42", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "43", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/usage/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/usage/tspCodeModel.json index e081f12a51..f4138204fe 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/usage/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/usage/tspCodeModel.json @@ -111,6 +111,7 @@ "$id": "13", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "14", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/additional-properties/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/additional-properties/tspCodeModel.json index 46bbbab792..b542522433 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/additional-properties/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/additional-properties/tspCodeModel.json @@ -1833,6 +1833,7 @@ "$id": "180", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "181", "kind": "url", @@ -1877,6 +1878,7 @@ "$id": "186", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "187", "kind": "url", @@ -2066,6 +2068,7 @@ "$id": "203", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "204", "kind": "url", @@ -2255,6 +2258,7 @@ "$id": "220", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "221", "kind": "url", @@ -2444,6 +2448,7 @@ "$id": "237", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "238", "kind": "url", @@ -2633,6 +2638,7 @@ "$id": "254", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "255", "kind": "url", @@ -2822,6 +2828,7 @@ "$id": "271", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "272", "kind": "url", @@ -3011,6 +3018,7 @@ "$id": "288", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "289", "kind": "url", @@ -3200,6 +3208,7 @@ "$id": "305", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "306", "kind": "url", @@ -3389,6 +3398,7 @@ "$id": "322", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "323", "kind": "url", @@ -3578,6 +3588,7 @@ "$id": "339", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "340", "kind": "url", @@ -3767,6 +3778,7 @@ "$id": "356", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "357", "kind": "url", @@ -3956,6 +3968,7 @@ "$id": "373", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "374", "kind": "url", @@ -4145,6 +4158,7 @@ "$id": "390", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "391", "kind": "url", @@ -4334,6 +4348,7 @@ "$id": "407", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "408", "kind": "url", @@ -4523,6 +4538,7 @@ "$id": "424", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "425", "kind": "url", @@ -4712,6 +4728,7 @@ "$id": "441", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "442", "kind": "url", @@ -4901,6 +4918,7 @@ "$id": "458", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "459", "kind": "url", @@ -5090,6 +5108,7 @@ "$id": "475", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "476", "kind": "url", @@ -5279,6 +5298,7 @@ "$id": "492", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "493", "kind": "url", @@ -5468,6 +5488,7 @@ "$id": "509", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "510", "kind": "url", @@ -5657,6 +5678,7 @@ "$id": "526", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "527", "kind": "url", @@ -5846,6 +5868,7 @@ "$id": "543", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "544", "kind": "url", @@ -6035,6 +6058,7 @@ "$id": "560", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "561", "kind": "url", @@ -6224,6 +6248,7 @@ "$id": "577", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "578", "kind": "url", @@ -6413,6 +6438,7 @@ "$id": "594", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "595", "kind": "url", @@ -6602,6 +6628,7 @@ "$id": "611", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "612", "kind": "url", @@ -6791,6 +6818,7 @@ "$id": "628", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "629", "kind": "url", @@ -6980,6 +7008,7 @@ "$id": "645", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "646", "kind": "url", @@ -7169,6 +7198,7 @@ "$id": "662", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "663", "kind": "url", @@ -7358,6 +7388,7 @@ "$id": "679", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "680", "kind": "url", @@ -7547,6 +7578,7 @@ "$id": "696", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "697", "kind": "url", @@ -7736,6 +7768,7 @@ "$id": "713", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "714", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/nullable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/nullable/tspCodeModel.json index 357d8269d3..6237886656 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/nullable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/nullable/tspCodeModel.json @@ -470,6 +470,7 @@ "$id": "53", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "54", "kind": "url", @@ -514,6 +515,7 @@ "$id": "59", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "60", "kind": "url", @@ -847,6 +849,7 @@ "$id": "87", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "88", "kind": "url", @@ -1180,6 +1183,7 @@ "$id": "115", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "116", "kind": "url", @@ -1513,6 +1517,7 @@ "$id": "143", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "144", "kind": "url", @@ -1846,6 +1851,7 @@ "$id": "171", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "172", "kind": "url", @@ -2179,6 +2185,7 @@ "$id": "199", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "200", "kind": "url", @@ -2512,6 +2519,7 @@ "$id": "227", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "228", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/optionality/tspCodeModel.json index d79bec1424..807e031246 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/optionality/tspCodeModel.json @@ -822,6 +822,7 @@ "$id": "82", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "83", "kind": "url", @@ -866,6 +867,7 @@ "$id": "88", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "89", "kind": "url", @@ -1199,6 +1201,7 @@ "$id": "116", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "117", "kind": "url", @@ -1532,6 +1535,7 @@ "$id": "144", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "145", "kind": "url", @@ -1865,6 +1869,7 @@ "$id": "172", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "173", "kind": "url", @@ -2198,6 +2203,7 @@ "$id": "200", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "201", "kind": "url", @@ -2531,6 +2537,7 @@ "$id": "228", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "229", "kind": "url", @@ -2864,6 +2871,7 @@ "$id": "256", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "257", "kind": "url", @@ -3197,6 +3205,7 @@ "$id": "284", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "285", "kind": "url", @@ -3530,6 +3539,7 @@ "$id": "312", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "313", "kind": "url", @@ -3863,6 +3873,7 @@ "$id": "340", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "341", "kind": "url", @@ -4196,6 +4207,7 @@ "$id": "368", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "369", "kind": "url", @@ -4529,6 +4541,7 @@ "$id": "396", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "397", "kind": "url", @@ -4862,6 +4875,7 @@ "$id": "424", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "425", "kind": "url", @@ -5195,6 +5209,7 @@ "$id": "452", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "453", "kind": "url", @@ -5528,6 +5543,7 @@ "$id": "480", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "481", "kind": "url", @@ -5862,6 +5878,7 @@ "$id": "508", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "509", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/value-types/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/value-types/tspCodeModel.json index b516e8718f..ad6bf7fc6f 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/value-types/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/property/value-types/tspCodeModel.json @@ -1371,6 +1371,7 @@ "$id": "136", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "137", "kind": "url", @@ -1415,6 +1416,7 @@ "$id": "142", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "143", "kind": "url", @@ -1604,6 +1606,7 @@ "$id": "159", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "160", "kind": "url", @@ -1793,6 +1796,7 @@ "$id": "176", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "177", "kind": "url", @@ -1982,6 +1986,7 @@ "$id": "193", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "194", "kind": "url", @@ -2171,6 +2176,7 @@ "$id": "210", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "211", "kind": "url", @@ -2360,6 +2366,7 @@ "$id": "227", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "228", "kind": "url", @@ -2549,6 +2556,7 @@ "$id": "244", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "245", "kind": "url", @@ -2738,6 +2746,7 @@ "$id": "261", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "262", "kind": "url", @@ -2927,6 +2936,7 @@ "$id": "278", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "279", "kind": "url", @@ -3116,6 +3126,7 @@ "$id": "295", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "296", "kind": "url", @@ -3305,6 +3316,7 @@ "$id": "312", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "313", "kind": "url", @@ -3494,6 +3506,7 @@ "$id": "329", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "330", "kind": "url", @@ -3683,6 +3696,7 @@ "$id": "346", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "347", "kind": "url", @@ -3872,6 +3886,7 @@ "$id": "363", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "364", "kind": "url", @@ -4061,6 +4076,7 @@ "$id": "380", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "381", "kind": "url", @@ -4250,6 +4266,7 @@ "$id": "397", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "398", "kind": "url", @@ -4439,6 +4456,7 @@ "$id": "414", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "415", "kind": "url", @@ -4628,6 +4646,7 @@ "$id": "431", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "432", "kind": "url", @@ -4817,6 +4836,7 @@ "$id": "448", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "449", "kind": "url", @@ -5006,6 +5026,7 @@ "$id": "465", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "466", "kind": "url", @@ -5195,6 +5216,7 @@ "$id": "482", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "483", "kind": "url", @@ -5384,6 +5406,7 @@ "$id": "499", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "500", "kind": "url", @@ -5573,6 +5596,7 @@ "$id": "516", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "517", "kind": "url", @@ -5762,6 +5786,7 @@ "$id": "533", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "534", "kind": "url", @@ -5951,6 +5976,7 @@ "$id": "550", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "551", "kind": "url", @@ -6140,6 +6166,7 @@ "$id": "567", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "568", "kind": "url", @@ -6329,6 +6356,7 @@ "$id": "584", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "585", "kind": "url", @@ -6518,6 +6546,7 @@ "$id": "601", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "602", "kind": "url", @@ -6707,6 +6736,7 @@ "$id": "618", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "619", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/scalar/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/scalar/tspCodeModel.json index 311593d648..a0333f12eb 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/scalar/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/scalar/tspCodeModel.json @@ -17,6 +17,7 @@ "$id": "4", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "5", "kind": "url", @@ -61,6 +62,7 @@ "$id": "10", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "11", "kind": "url", @@ -258,6 +260,7 @@ "$id": "29", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "30", "kind": "url", @@ -455,6 +458,7 @@ "$id": "48", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "49", "kind": "url", @@ -652,6 +656,7 @@ "$id": "67", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "68", "kind": "url", @@ -899,6 +904,7 @@ "$id": "90", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "91", "kind": "url", @@ -1146,6 +1152,7 @@ "$id": "113", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "114", "kind": "url", @@ -1348,6 +1355,7 @@ "$id": "133", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "134", "kind": "url", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/union/tspCodeModel.json index 130cc0db5b..14640ed17f 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/union/tspCodeModel.json @@ -1766,6 +1766,7 @@ "$id": "191", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "192", "kind": "url", @@ -1810,6 +1811,7 @@ "$id": "197", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "198", "kind": "url", @@ -1997,6 +1999,7 @@ "$id": "214", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "215", "kind": "url", @@ -2184,6 +2187,7 @@ "$id": "231", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "232", "kind": "url", @@ -2371,6 +2375,7 @@ "$id": "248", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "249", "kind": "url", @@ -2558,6 +2563,7 @@ "$id": "265", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "266", "kind": "url", @@ -2745,6 +2751,7 @@ "$id": "282", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "283", "kind": "url", @@ -2932,6 +2939,7 @@ "$id": "299", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "300", "kind": "url", @@ -3119,6 +3127,7 @@ "$id": "316", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "317", "kind": "url", @@ -3306,6 +3315,7 @@ "$id": "333", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "334", "kind": "url", @@ -3493,6 +3503,7 @@ "$id": "350", "Name": "endpoint", "NameInRequest": "endpoint", + "Description": "Service host", "Type": { "$id": "351", "kind": "url", diff --git a/packages/http-client-csharp/package-lock.json b/packages/http-client-csharp/package-lock.json index 662404207b..e61600755d 100644 --- a/packages/http-client-csharp/package-lock.json +++ b/packages/http-client-csharp/package-lock.json @@ -12,35 +12,35 @@ "json-serialize-refs": "0.1.0-0" }, "devDependencies": { - "@azure-tools/cadl-ranch": "0.14.5", - "@azure-tools/cadl-ranch-specs": "0.37.2", - "@azure-tools/typespec-azure-core": "0.46.0", - "@azure-tools/typespec-client-generator-core": "0.46.2", - "@microsoft/api-extractor": "^7.40.3", - "@types/node": "~18.13.0", - "@typespec/compiler": "0.60.0", - "@typespec/http": "0.60.0", - "@typespec/json-schema": "0.60.0", - "@typespec/library-linter": "0.60.0", - "@typespec/openapi": "0.60.0", - "@typespec/rest": "0.60.0", - "@typespec/versioning": "0.60.0", - "@typespec/xml": "^0.60.0", + "@azure-tools/cadl-ranch": "0.14.7", + "@azure-tools/cadl-ranch-specs": "0.37.7", + "@azure-tools/typespec-azure-core": "0.47.0", + "@azure-tools/typespec-client-generator-core": "0.47.1", + "@microsoft/api-extractor": "^7.47.9", + "@types/node": "~22.7.5", + "@typespec/compiler": "0.61.2", + "@typespec/http": "0.61.0", + "@typespec/json-schema": "0.61.0", + "@typespec/library-linter": "0.61.0", + "@typespec/openapi": "0.61.0", + "@typespec/rest": "0.61.0", + "@typespec/versioning": "0.61.0", + "@typespec/xml": "^0.61.0", "@vitest/coverage-v8": "^1.4.0", "@vitest/ui": "^1.4.0", "c8": "^9.1.0", "rimraf": "~5.0.5", - "typescript": "~5.4.3", + "typescript": "~5.6.3", "vitest": "^1.4.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": ">=0.46.0 <1.0.0 || ~0.47.0-0", - "@azure-tools/typespec-client-generator-core": ">=0.46.0 <1.0.0 || ~0.47.0-0", - "@typespec/compiler": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/http": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/openapi": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/rest": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/versioning": ">=0.60.0 <1.0.0 || ~0.61.0-0" + "@azure-tools/typespec-azure-core": ">=0.47.0 <1.0.0 || ~0.48.0-0", + "@azure-tools/typespec-client-generator-core": ">=0.47.1 <1.0.0 || ~0.48.0-0", + "@typespec/compiler": ">=0.61.2 <1.0.0 || ~0.62.0-0", + "@typespec/http": ">=0.61.0 <1.0.0 || ~0.62.0-0", + "@typespec/openapi": ">=0.61.0 <1.0.0 || ~0.62.0-0", + "@typespec/rest": ">=0.61.0 <1.0.0 || ~0.62.0-0", + "@typespec/versioning": ">=0.61.0 <1.0.0 || ~0.62.0-0" } }, "../http-client-csharp-generator/artifacts/bin/Microsoft.Generator.CSharp.ClientModel/Debug/net8.0": { @@ -63,24 +63,27 @@ } }, "node_modules/@azure-tools/cadl-ranch": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch/-/cadl-ranch-0.14.5.tgz", - "integrity": "sha512-vF98b9ru49YvzcFnuSW6A/gpDOSZcTd/0S42XnmTyTVuF+fp3XOatXTvoUlKnQ25du8hZTm7JFzcZeOova7Xbw==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch/-/cadl-ranch-0.14.7.tgz", + "integrity": "sha512-vJrHpLT797aelIYJlFchKsFffmhWyC+zeQ8xlt6NVjdU6xhHdYjFcVVBCTrccCAfOtI2StL3ethK119RAvjWOQ==", "dev": true, + "license": "MIT", "dependencies": { - "@azure-tools/cadl-ranch-api": "~0.4.6", + "@azure-tools/cadl-ranch-api": "~0.4.7", "@azure-tools/cadl-ranch-coverage-sdk": "~0.8.4", - "@azure-tools/cadl-ranch-expect": "~0.15.3", + "@azure-tools/cadl-ranch-expect": "~0.15.5", "@azure/identity": "^4.4.1", "@types/js-yaml": "^4.0.5", - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/rest": "~0.59.0", + "@typespec/compiler": "~0.61.0", + "@typespec/http": "~0.61.0", + "@typespec/rest": "~0.61.0", "ajv": "8.17.1", + "axios": "^1.7.5", "body-parser": "^1.20.2", "deep-equal": "^2.2.0", "express": "^4.19.2", "express-promise-router": "^4.1.1", + "form-data": "^3.0.1", "glob": "^11.0.0", "jackspeak": "4.0.1", "js-yaml": "^4.1.0", @@ -101,10 +104,11 @@ } }, "node_modules/@azure-tools/cadl-ranch-api": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch-api/-/cadl-ranch-api-0.4.6.tgz", - "integrity": "sha512-IwIpl+wZYXWdDuY3hoI81n7rkm90CcjMWxQLhUYjBhppvc4o1YYgkV9jfxMBaclrDgS1R2TrAq2Xul/+kY99lg==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch-api/-/cadl-ranch-api-0.4.7.tgz", + "integrity": "sha512-eSl2RStE1Vbbe09jITyGyScXdDGO9hwKojBc+QVnpYARsF+m2J55D8ImJBZ8HNB7iURxgi1psx+oQy5PsHkFKw==", "dev": true, + "license": "MIT", "dependencies": { "body-parser": "^1.20.2", "deep-equal": "^2.2.0", @@ -148,9 +152,9 @@ } }, "node_modules/@azure-tools/cadl-ranch-api/node_modules/jackspeak": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz", - "integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.2.tgz", + "integrity": "sha512-bZsjR/iRjl1Nk1UkjGpAzLNfQtzuijhn2g+pbZb98HQ1Gk8vM9hfbxeMBP+M2/UUdwj0RqGG3mlvk2MsAqwvEw==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -161,15 +165,12 @@ }, "funding": { "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" } }, "node_modules/@azure-tools/cadl-ranch-api/node_modules/lru-cache": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.0.tgz", - "integrity": "sha512-Qv32eSV1RSCfhY3fpPE2GNZ8jgM9X7rdAfemLWqTUxwiyIC4jJ6Sy0fZ8H+oLWevO6i4/bizg7c8d8i6bxrzbA==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.1.tgz", + "integrity": "sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==", "dev": true, "license": "ISC", "engines": { @@ -223,223 +224,43 @@ "node": ">=16.0.0" } }, - "node_modules/@azure-tools/cadl-ranch-coverage-sdk/node_modules/@types/node": { - "version": "22.5.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", - "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", - "dev": true, - "dependencies": { - "undici-types": "~6.19.2" - } - }, "node_modules/@azure-tools/cadl-ranch-expect": { - "version": "0.15.4", - "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch-expect/-/cadl-ranch-expect-0.15.4.tgz", - "integrity": "sha512-dluMUSFgANVyNhFT/uMst+lpxeh0DUcw0IiLmy8ZCgps+xJ5UEGCV0XIDzACbZb4JUJXgDxlLpsCUWXdL/ARlg==", + "version": "0.15.5", + "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch-expect/-/cadl-ranch-expect-0.15.5.tgz", + "integrity": "sha512-7tr/FIDeFCJnDjEQ7J/A2MKmnmYrJBlTS7y9XjsWpJLC/fpB3lyvDvVYlsFmeO5dmnRc3+B4eEoWgWx46r3auA==", "dev": true, + "license": "MIT", "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0", - "@typespec/http": "~0.60.0", - "@typespec/rest": "~0.60.0", - "@typespec/versioning": "~0.60.0" + "@typespec/compiler": "~0.61.0", + "@typespec/http": "~0.61.0", + "@typespec/rest": "~0.61.0", + "@typespec/versioning": "~0.61.0" } }, "node_modules/@azure-tools/cadl-ranch-specs": { - "version": "0.37.2", - "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch-specs/-/cadl-ranch-specs-0.37.2.tgz", - "integrity": "sha512-C8WBSIHR4IMVZ/s8iDlD8LRSYDcid7pgsslim+ddZeJ8Yp/D7FayIIxXxR4t9SsP9SG0l7lJ6eS29MPMY0DlJw==", + "version": "0.37.7", + "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch-specs/-/cadl-ranch-specs-0.37.7.tgz", + "integrity": "sha512-Zqe5AAadPb4qa34vUlJBw5oPELlcvCwC3sMeqap6gsw1dvuFD80YrskgS0bnHtTjEERtTsFSLtjuvu74KK2b+Q==", "dev": true, + "license": "MIT", "dependencies": { - "@azure-tools/cadl-ranch": "~0.14.6", - "@azure-tools/cadl-ranch-api": "~0.4.6" + "@azure-tools/cadl-ranch": "~0.14.7", + "@azure-tools/cadl-ranch-api": "~0.4.7" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@azure-tools/cadl-ranch-expect": "~0.15.4", - "@azure-tools/typespec-azure-core": "~0.46.0", - "@typespec/compiler": "~0.60.0", - "@typespec/http": "~0.60.0", - "@typespec/rest": "~0.60.0", - "@typespec/versioning": "~0.60.0", - "@typespec/xml": "~0.60.0" - } - }, - "node_modules/@azure-tools/cadl-ranch-specs/node_modules/@azure-tools/cadl-ranch": { - "version": "0.14.6", - "resolved": "https://registry.npmjs.org/@azure-tools/cadl-ranch/-/cadl-ranch-0.14.6.tgz", - "integrity": "sha512-FSI0REbSzLEqkvoes/SoAHw4TTYKNkigghwVqPWF6kTlOJW1bwYzVnRDZJFS4A3jSUxXkCpVSM2MD00nwI1IKw==", - "dev": true, - "dependencies": { - "@azure-tools/cadl-ranch-api": "~0.4.6", - "@azure-tools/cadl-ranch-coverage-sdk": "~0.8.4", - "@azure-tools/cadl-ranch-expect": "~0.15.4", - "@azure/identity": "^4.4.1", - "@types/js-yaml": "^4.0.5", - "@typespec/compiler": "~0.60.0", - "@typespec/http": "~0.60.0", - "@typespec/rest": "~0.60.0", - "ajv": "8.17.1", - "body-parser": "^1.20.2", - "deep-equal": "^2.2.0", - "express": "^4.19.2", - "express-promise-router": "^4.1.1", - "glob": "^11.0.0", - "jackspeak": "4.0.1", - "js-yaml": "^4.1.0", - "morgan": "^1.10.0", - "multer": "^1.4.5-lts.1", - "node-fetch": "^3.3.1", - "picocolors": "^1.0.0", - "source-map-support": "^0.5.21", - "winston": "^3.14.0", - "xml2js": "^0.6.2", - "yargs": "^17.7.1" - }, - "bin": { - "cadl-ranch": "cmd/cli.mjs" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@azure-tools/cadl-ranch-specs/node_modules/glob": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.0.tgz", - "integrity": "sha512-9UiX/Bl6J2yaBbxKoEBRm4Cipxgok8kQYcOPEhScPwebu2I0HoQOuYdIO6S3hLuWoZgpDpwQZMzTFxgpkyT76g==", - "dev": true, - "dependencies": { - "foreground-child": "^3.1.0", - "jackspeak": "^4.0.1", - "minimatch": "^10.0.0", - "minipass": "^7.1.2", - "package-json-from-dist": "^1.0.0", - "path-scurry": "^2.0.0" - }, - "bin": { - "glob": "dist/esm/bin.mjs" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@azure-tools/cadl-ranch-specs/node_modules/jackspeak": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.0.1.tgz", - "integrity": "sha512-cub8rahkh0Q/bw1+GxP7aeSe29hHHn2V4m29nnDlvCdlgU+3UGxkZp7Z53jLUdpX3jdTO0nJZUDl3xvbWc2Xog==", - "dev": true, - "dependencies": { - "@isaacs/cliui": "^8.0.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - }, - "optionalDependencies": { - "@pkgjs/parseargs": "^0.11.0" - } - }, - "node_modules/@azure-tools/cadl-ranch-specs/node_modules/lru-cache": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.1.tgz", - "integrity": "sha512-CgeuL5uom6j/ZVrg7G/+1IXqRY8JXX4Hghfy5YE0EhoYQWvndP1kufu58cmZLNIDKnRhZrXfdS9urVWx98AipQ==", - "dev": true, - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@azure-tools/cadl-ranch-specs/node_modules/minimatch": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz", - "integrity": "sha512-ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@azure-tools/cadl-ranch-specs/node_modules/path-scurry": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", - "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", - "dev": true, - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@azure-tools/cadl-ranch/node_modules/@typespec/compiler": { - "version": "0.59.1", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.59.1.tgz", - "integrity": "sha512-O2ljgr6YoFaIH6a8lWc90/czdv4B2X6N9wz4WsnQnVvgO0Tj0s+3xkvp4Tv59RKMhT0f3fK6dL8oEGO32FYk1A==", - "dev": true, - "dependencies": { - "@babel/code-frame": "~7.24.7", - "ajv": "~8.17.1", - "change-case": "~5.4.4", - "globby": "~14.0.2", - "mustache": "~4.2.0", - "picocolors": "~1.0.1", - "prettier": "~3.3.3", - "prompts": "~2.4.2", - "semver": "^7.6.3", - "temporal-polyfill": "^0.2.5", - "vscode-languageserver": "~9.0.1", - "vscode-languageserver-textdocument": "~1.0.11", - "yaml": "~2.4.5", - "yargs": "~17.7.2" - }, - "bin": { - "tsp": "cmd/tsp.js", - "tsp-server": "cmd/tsp-server.js" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@azure-tools/cadl-ranch/node_modules/@typespec/http": { - "version": "0.59.1", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.59.1.tgz", - "integrity": "sha512-Ai8oCAO+Bw1HMSZ9gOI5Od4fNn/ul4HrVtTB01xFuLK6FQj854pxhzao8ylPnr7gIRQ327FV12/QfXR87yCiYQ==", - "dev": true, - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "@typespec/compiler": "~0.59.0" - } - }, - "node_modules/@azure-tools/cadl-ranch/node_modules/@typespec/rest": { - "version": "0.59.1", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.59.1.tgz", - "integrity": "sha512-uKU431jBYL2tVQWG5THA75+OtXDa1e8cMAafYK/JJRRiVRd8D/Epd8fp07dzlB8tFGrhCaGlekRMqFPFrHh2/A==", - "dev": true, - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.1" + "@azure-tools/cadl-ranch-expect": "~0.15.5", + "@azure-tools/typespec-azure-core": "~0.47.0", + "@typespec/compiler": "~0.61.0", + "@typespec/http": "~0.61.0", + "@typespec/rest": "~0.61.0", + "@typespec/versioning": "~0.61.0", + "@typespec/xml": "~0.61.0" } }, "node_modules/@azure-tools/cadl-ranch/node_modules/glob": { @@ -529,23 +350,24 @@ } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.46.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.46.0.tgz", - "integrity": "sha512-BNE31enSHWtWlrdIKShBS6CNFGk3OYmHSBnWqobcFJkTGXC090EoV2u6otn4BMI99fZRSR4gpwp/kYU9KLE9Jw==", + "version": "0.47.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.47.0.tgz", + "integrity": "sha512-RcBC5+dE1BVXTrUkkKULTImGxzM/ea3P3IL2kr9pk7r1uqF7D4CGqEKHFTg5L6QUtqc1f+zgTgQTNn6t4gI92w==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0", - "@typespec/http": "~0.60.0", - "@typespec/rest": "~0.60.0" + "@typespec/compiler": "~0.61.0", + "@typespec/http": "~0.61.0", + "@typespec/rest": "~0.61.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.46.2", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.46.2.tgz", - "integrity": "sha512-/HKeehCNDeylouOHMe7IwpcDcGJHRAuEy3a5FBnSY51m4EpMq4VMQzW9tka/8brFO2m5LLj7tyhOL/xnzi2fLg==", + "version": "0.47.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.47.1.tgz", + "integrity": "sha512-kgjGnnOaHewa8PjmZcEY4+UrEMBrXhOpMxDuhlMnFfOvCo3uZc3FVryoNrDHkZ8weCn6sjxo8zHcj1lpCg4/uw==", "dev": true, "license": "MIT", "dependencies": { @@ -556,12 +378,12 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.46.0", - "@typespec/compiler": "~0.60.0", - "@typespec/http": "~0.60.0", - "@typespec/openapi": "~0.60.0", - "@typespec/rest": "~0.60.0", - "@typespec/versioning": "~0.60.0" + "@azure-tools/typespec-azure-core": "~0.47.0", + "@typespec/compiler": "~0.61.0", + "@typespec/http": "~0.61.0", + "@typespec/openapi": "~0.61.0", + "@typespec/rest": "~0.61.0", + "@typespec/versioning": "~0.61.0" } }, "node_modules/@azure/abort-controller": { @@ -1508,18 +1330,19 @@ } }, "node_modules/@microsoft/api-extractor": { - "version": "7.43.3", - "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.43.3.tgz", - "integrity": "sha512-F9jYo/CPrBLeDUUFma36sDmLy0WsvJfLs2an6P+NSruths020fLUFZE3YOH/mlpt3QOhzu+026B9PjFVC83dIQ==", - "dev": true, - "dependencies": { - "@microsoft/api-extractor-model": "7.28.15", - "@microsoft/tsdoc": "0.14.2", - "@microsoft/tsdoc-config": "~0.16.1", - "@rushstack/node-core-library": "4.2.0", - "@rushstack/rig-package": "0.5.2", - "@rushstack/terminal": "0.10.2", - "@rushstack/ts-command-line": "4.19.4", + "version": "7.47.9", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.47.9.tgz", + "integrity": "sha512-TTq30M1rikVsO5wZVToQT/dGyJY7UXJmjiRtkHPLb74Prx3Etw8+bX7Bv7iLuby6ysb7fuu1NFWqma+csym8Jw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@microsoft/api-extractor-model": "7.29.8", + "@microsoft/tsdoc": "~0.15.0", + "@microsoft/tsdoc-config": "~0.17.0", + "@rushstack/node-core-library": "5.9.0", + "@rushstack/rig-package": "0.5.3", + "@rushstack/terminal": "0.14.2", + "@rushstack/ts-command-line": "4.22.8", "lodash": "~4.17.15", "minimatch": "~3.0.3", "resolve": "~1.22.1", @@ -1531,15 +1354,16 @@ "api-extractor": "bin/api-extractor" } }, - "node_modules/@microsoft/api-extractor/node_modules/@microsoft/api-extractor-model": { - "version": "7.28.15", - "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.28.15.tgz", - "integrity": "sha512-kAFX0c1+N+2WpZaiksy8H4RZ1sytJb2ZFVEmil5Rt6IK8UExU80f0/4kegXIs1KF8a/YyRW0Pybc7svlT9j/wQ==", + "node_modules/@microsoft/api-extractor-model": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.29.8.tgz", + "integrity": "sha512-t3Z/xcO6TRbMcnKGVMs4uMzv/gd5j0NhMiJIGjD4cJMeFJ1Hf8wnLSx37vxlRlL0GWlGJhnFgxvnaL6JlS+73g==", "dev": true, + "license": "MIT", "dependencies": { - "@microsoft/tsdoc": "0.14.2", - "@microsoft/tsdoc-config": "~0.16.1", - "@rushstack/node-core-library": "4.2.0" + "@microsoft/tsdoc": "~0.15.0", + "@microsoft/tsdoc-config": "~0.17.0", + "@rushstack/node-core-library": "5.9.0" } }, "node_modules/@microsoft/api-extractor/node_modules/brace-expansion": { @@ -1593,32 +1417,35 @@ } }, "node_modules/@microsoft/tsdoc": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.14.2.tgz", - "integrity": "sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==", - "dev": true + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.15.0.tgz", + "integrity": "sha512-HZpPoABogPvjeJOdzCOSJsXeL/SMCBgBZMVC3X3d7YYp2gf31MfxhUoYUNwf1ERPJOnQc0wkFn9trqI6ZEdZuA==", + "dev": true, + "license": "MIT" }, "node_modules/@microsoft/tsdoc-config": { - "version": "0.16.2", - "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.16.2.tgz", - "integrity": "sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==", + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.17.0.tgz", + "integrity": "sha512-v/EYRXnCAIHxOHW+Plb6OWuUoMotxTN0GLatnpOb1xq0KuTNw/WI3pamJx/UbsoJP5k9MCw1QxvvhPcF9pH3Zg==", "dev": true, + "license": "MIT", "dependencies": { - "@microsoft/tsdoc": "0.14.2", - "ajv": "~6.12.6", + "@microsoft/tsdoc": "0.15.0", + "ajv": "~8.12.0", "jju": "~1.4.0", - "resolve": "~1.19.0" + "resolve": "~1.22.2" } }, "node_modules/@microsoft/tsdoc-config/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", "uri-js": "^4.2.2" }, "funding": { @@ -1626,25 +1453,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@microsoft/tsdoc-config/node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/@microsoft/tsdoc-config/node_modules/resolve": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", - "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", - "dev": true, - "dependencies": { - "is-core-module": "^2.1.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -1892,17 +1700,20 @@ ] }, "node_modules/@rushstack/node-core-library": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-4.2.0.tgz", - "integrity": "sha512-y2+m9bbkl1Xe5pt+8gouzRXtXoA2r7B2xkGDT4lpSCpiAU7HNHmhmqxOz+vTmoCamuTj1zqQbgyuoZ1z9cGdag==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.9.0.tgz", + "integrity": "sha512-MMsshEWkTbXqxqFxD4gcIUWQOCeBChlGczdZbHfqmNZQFLHB3yWxDFSMHFUdu2/OB9NUk7Awn5qRL+rws4HQNg==", "dev": true, + "license": "MIT", "dependencies": { + "ajv": "~8.13.0", + "ajv-draft-04": "~1.0.0", + "ajv-formats": "~3.0.1", "fs-extra": "~7.0.1", "import-lazy": "~4.0.0", "jju": "~1.4.0", "resolve": "~1.22.1", - "semver": "~7.5.4", - "z-schema": "~5.0.2" + "semver": "~7.5.4" }, "peerDependencies": { "@types/node": "*" @@ -1913,11 +1724,29 @@ } } }, + "node_modules/@rushstack/node-core-library/node_modules/ajv": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", + "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/@rushstack/node-core-library/node_modules/semver": { "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" }, @@ -1929,22 +1758,24 @@ } }, "node_modules/@rushstack/rig-package": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/@rushstack/rig-package/-/rig-package-0.5.2.tgz", - "integrity": "sha512-mUDecIJeH3yYGZs2a48k+pbhM6JYwWlgjs2Ca5f2n1G2/kgdgP9D/07oglEGf6mRyXEnazhEENeYTSNDRCwdqA==", + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@rushstack/rig-package/-/rig-package-0.5.3.tgz", + "integrity": "sha512-olzSSjYrvCNxUFZowevC3uz8gvKr3WTpHQ7BkpjtRpA3wK+T0ybep/SRUMfr195gBzJm5gaXw0ZMgjIyHqJUow==", "dev": true, + "license": "MIT", "dependencies": { "resolve": "~1.22.1", "strip-json-comments": "~3.1.1" } }, "node_modules/@rushstack/terminal": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.10.2.tgz", - "integrity": "sha512-oMN4uoz6WUeLR9yWHSR4gEEii+8vjIJXPLp7U0k6zccgmOCJXYPKBK30FGpWfDRmqrcCIJi828SKV9V5FB1a0Q==", + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.14.2.tgz", + "integrity": "sha512-2fC1wqu1VCExKC0/L+0noVcFQEXEnoBOtCIex1TOjBzEDWcw8KzJjjj7aTP6mLxepG0XIyn9OufeFb6SFsa+sg==", "dev": true, + "license": "MIT", "dependencies": { - "@rushstack/node-core-library": "4.2.0", + "@rushstack/node-core-library": "5.9.0", "supports-color": "~8.1.1" }, "peerDependencies": { @@ -1961,6 +1792,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1970,6 +1802,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -1981,12 +1814,13 @@ } }, "node_modules/@rushstack/ts-command-line": { - "version": "4.19.4", - "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.19.4.tgz", - "integrity": "sha512-OH7SPCTjEus/KNDBZ2RbsbVQZ9/H/TJI+TcuiiQjxZ3beMTcQLGaPt5BuXk/c0AS0FQbOGT+2+AJmTZZq6Fhtw==", + "version": "4.22.8", + "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.22.8.tgz", + "integrity": "sha512-XbFjOoV7qZHJnSuFUHv0pKaFA4ixyCuki+xMjsMfDwfvQjs5MYG0IK5COal3tRnG7KCDe2l/G+9LrzYE/RJhgg==", "dev": true, + "license": "MIT", "dependencies": { - "@rushstack/terminal": "0.10.2", + "@rushstack/terminal": "0.14.2", "@types/argparse": "1.0.38", "argparse": "~1.0.9", "string-argv": "~0.3.1" @@ -2014,7 +1848,8 @@ "version": "1.0.38", "resolved": "https://registry.npmjs.org/@types/argparse/-/argparse-1.0.38.tgz", "integrity": "sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/estree": { "version": "1.0.5", @@ -2035,10 +1870,14 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.13.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.13.0.tgz", - "integrity": "sha512-gC3TazRzGoOnoKAhUx+Q0t8S9Tzs74z7m0ipwGpSqQrleP14hKxP4/JUeEQcD3W1/aIpnWl8pHowI7WokuZpXg==", - "dev": true + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/@types/triple-beam": { "version": "1.3.5", @@ -2048,24 +1887,25 @@ "license": "MIT" }, "node_modules/@typespec/compiler": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.60.0.tgz", - "integrity": "sha512-qAS99tJv6RvxSescfxRVal4QWSfdf3BzIOgE8+Az6emL68aTE/W8zQ0Ijpgmhax7sC2AnLTxCK1tM9kj1YguRw==", + "version": "0.61.2", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.61.2.tgz", + "integrity": "sha512-6QxYJd09VWssd/BvY+8eBxTVv085s1UNK63FdPrgT2lgI+j8VMMcpNR9m5l1zWlgGDM7sniA/Or8VCdVA6jerg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "~7.24.7", "ajv": "~8.17.1", "change-case": "~5.4.4", "globby": "~14.0.2", "mustache": "~4.2.0", - "picocolors": "~1.0.1", + "picocolors": "~1.1.0", "prettier": "~3.3.3", "prompts": "~2.4.2", "semver": "^7.6.3", "temporal-polyfill": "^0.2.5", "vscode-languageserver": "~9.0.1", - "vscode-languageserver-textdocument": "~1.0.11", - "yaml": "~2.4.5", + "vscode-languageserver-textdocument": "~1.0.12", + "yaml": "~2.5.1", "yargs": "~17.7.2" }, "bin": { @@ -2077,92 +1917,105 @@ } }, "node_modules/@typespec/http": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.60.0.tgz", - "integrity": "sha512-ktfS9vpHfltyeAaQLNAZdqrn6Per3vmB/HDH/iyudYLA5wWblT1siKvpFCMWq53CJorRO7yeOKv+Q/M26zwEtg==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.61.0.tgz", + "integrity": "sha512-7+AYHkzkc+p652GY9BcEbXY4OZa1fTr03MVmZeafvmbQbXfyzUU9eJld13M3v6NaUWqXWZ7nBNMISyKiXp/kSw==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0" + "@typespec/compiler": "~0.61.0", + "@typespec/streams": "~0.61.0" + }, + "peerDependenciesMeta": { + "@typespec/streams": { + "optional": true + } } }, "node_modules/@typespec/json-schema": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-0.60.0.tgz", - "integrity": "sha512-TXtQH82CVtrDjiHjTCE/hHeizC/4DmvTFMmB/64cgC8QIp+C32tmyAv4/iXT6l8ovwB32btL9pAfczKiIxUIZw==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@typespec/json-schema/-/json-schema-0.61.0.tgz", + "integrity": "sha512-BoId8WRo4iLFJUbXIRX26OdHWaUqJIFYmRUvDnlUJmYtcKbMRMkfYajJM3L+b7AdXjLbHwh4ACjwIuZVU90N/Q==", "dev": true, + "license": "MIT", "dependencies": { - "yaml": "~2.4.5" + "yaml": "~2.5.1" }, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0" + "@typespec/compiler": "~0.61.0" } }, "node_modules/@typespec/library-linter": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.60.0.tgz", - "integrity": "sha512-PGcC+x7T/uq4KvbSm2uv/Eq7jZ6p1N0XynOjJZYx/+GjtB4M7mjAsmcQpuU7yKHfLJz3lfNmtXoAUgKKpC4FDw==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.61.0.tgz", + "integrity": "sha512-T9M4/OFPkRzM8pQco981Wwq2U30M18+S3VzrAocjUzq00Doewhoa4d9+AcdgTeiS/H/0RsmNDXdlAb2Eleg40w==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0" + "@typespec/compiler": "~0.61.0" } }, "node_modules/@typespec/openapi": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.60.0.tgz", - "integrity": "sha512-YVwLppgHY8r/MudHNSLSUXzdw+CIpjmb31gI2a0KDGnI6sWDwY7LSWfjGU4TY/ubt0+X0Tjoy330mTvw71YBTg==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.61.0.tgz", + "integrity": "sha512-3AF319Ae4yGVOscsCLQeedXUJJcL/NdGOR2/e/nFiL/AOVdgLfIRnpR0Ad9Zj9XAESh1fq9XSu4Mi7N1k4V7rw==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0", - "@typespec/http": "~0.60.0" + "@typespec/compiler": "~0.61.0", + "@typespec/http": "~0.61.0" } }, "node_modules/@typespec/rest": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.60.0.tgz", - "integrity": "sha512-mHYubyuBvwdV2xkHrJfPwV7b/Ksyb9lA1Q/AQwpVFa7Qu1X075TBVALmH+hK3V0EdUG1CGJZ5Sw4BWgl8ZS0BA==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.61.0.tgz", + "integrity": "sha512-L9Oyor+l42p6S8GE+UvaZTi+dcu6WubGZKmaBRpX8mCZGsa69EgIK8DQoyxrfMcxAO4I5U0sfkzCKwCVFtRr9g==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0", - "@typespec/http": "~0.60.0" + "@typespec/compiler": "~0.61.0", + "@typespec/http": "~0.61.0" } }, "node_modules/@typespec/versioning": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.60.0.tgz", - "integrity": "sha512-SqxCQ9qMw5fdR7WP6/GFLzwcFwxhv+uHlzJGVcTd1GtIAu5qj2X4VmzFuNQyu+QenI+5uOSrEEywEXn0YRTZSg==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.61.0.tgz", + "integrity": "sha512-PIIug6eg3zc7E+BBHyNHHQD+OBq3FU465nhKrLEp35iVji/sYFuPc1ywnELDuwJVRWm6nvqNL1vtnc+4lEk+oA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0" + "@typespec/compiler": "~0.61.0" } }, "node_modules/@typespec/xml": { - "version": "0.60.0", - "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.60.0.tgz", - "integrity": "sha512-Cr1Vih4ovB1OKHJNrXf23Bq4IiVNGlf7F6kN5Yfc7UDqxy+hiCfuwXfjlu3ida/bYTalGPd4/KL9EAx+m41Bxw==", + "version": "0.61.0", + "resolved": "https://registry.npmjs.org/@typespec/xml/-/xml-0.61.0.tgz", + "integrity": "sha512-LnMYyzB7f6C8rBZmQwhKyJOJ8mUTFls6aVKXw4EAaO2+HPsm73GN16lj1bt2ffbWR3izCGnz911K2wGtUrtSpA==", "dev": true, + "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.60.0" + "@typespec/compiler": "~0.61.0" } }, "node_modules/@vitest/coverage-v8": { @@ -2373,6 +2226,39 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^8.0.0" + }, + "peerDependencies": { + "ajv": "^8.0.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -2405,6 +2291,7 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } @@ -2447,6 +2334,13 @@ "dev": true, "license": "MIT" }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", @@ -2462,6 +2356,33 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/axios": { + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.1.tgz", + "integrity": "sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -2744,14 +2665,17 @@ "text-hex": "1.0.x" } }, - "node_modules/commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, - "optional": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, "engines": { - "node": "^12.20.0 || >=14" + "node": ">= 0.8" } }, "node_modules/concat-map": { @@ -2950,6 +2874,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", @@ -3300,12 +3234,6 @@ "node": ">= 6" } }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, "node_modules/fast-uri": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", @@ -3454,6 +3382,27 @@ "dev": true, "license": "MIT" }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, "node_modules/for-each": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", @@ -3479,6 +3428,21 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/form-data": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.2.tgz", + "integrity": "sha512-sJe+TQb2vIaIyO783qN6BlMYWMw3WBOHA1Ay2qxsnjuafEOQFJ2JakedOQirT6D5XPRxDvS7AHYyem9fTpb4LQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/formdata-polyfill": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", @@ -3514,6 +3478,7 @@ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "jsonfile": "^4.0.0", @@ -3688,7 +3653,8 @@ "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/has-bigints": { "version": "1.0.2", @@ -3854,6 +3820,7 @@ "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz", "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -3977,12 +3944,16 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, + "license": "MIT", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4321,7 +4292,8 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz", "integrity": "sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/js-tokens": { "version": "4.0.0", @@ -4370,6 +4342,7 @@ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "dev": true, + "license": "MIT", "optionalDependencies": { "graceful-fs": "^4.1.6" } @@ -4497,12 +4470,6 @@ "integrity": "sha512-uHaJFihxmJcEX3kT4I23ABqKKalJ/zDrDg0lsFtc1h+3uw49SIJ5beyhx5ExVRti3AvKoOJngIj7xz3oylPdWQ==", "dev": true }, - "node_modules/lodash.get": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", - "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==", - "dev": true - }, "node_modules/lodash.includes": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", @@ -4515,12 +4482,6 @@ "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", "dev": true }, - "node_modules/lodash.isequal": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", - "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==", - "dev": true - }, "node_modules/lodash.isinteger": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", @@ -5153,7 +5114,8 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-scurry": { "version": "1.11.1", @@ -5214,10 +5176,11 @@ } }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", - "dev": true + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "dev": true, + "license": "ISC" }, "node_modules/picomatch": { "version": "2.3.1", @@ -5379,11 +5342,19 @@ "node": ">= 0.10" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true, + "license": "MIT" + }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -5522,6 +5493,7 @@ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", "dev": true, + "license": "MIT", "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", @@ -5926,7 +5898,8 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/stack-trace": { "version": "0.0.10", @@ -6010,6 +5983,7 @@ "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.6.19" } @@ -6085,6 +6059,7 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -6133,6 +6108,7 @@ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -6306,10 +6282,11 @@ "dev": true }, "node_modules/typescript": { - "version": "5.4.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.4.tgz", - "integrity": "sha512-dGE2Vv8cpVvw28v8HCPqyb08EzbBURxDpuhJvTrusShUfGnhHBafDsLdS1EhhxyL6BJQE+2cT3dDPAv+MQ6oLw==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6347,6 +6324,7 @@ "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4.0.0" } @@ -6365,6 +6343,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -6407,15 +6386,6 @@ "node": ">=10.12.0" } }, - "node_modules/validator": { - "version": "13.12.0", - "resolved": "https://registry.npmjs.org/validator/-/validator-13.12.0.tgz", - "integrity": "sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==", - "dev": true, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -6599,10 +6569,11 @@ } }, "node_modules/vscode-languageserver-textdocument": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz", - "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==", - "dev": true + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz", + "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==", + "dev": true, + "license": "MIT" }, "node_modules/vscode-languageserver-types": { "version": "3.17.5", @@ -6950,10 +6921,11 @@ "dev": true }, "node_modules/yaml": { - "version": "2.4.5", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", - "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz", + "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==", "dev": true, + "license": "ISC", "bin": { "yaml": "bin.mjs" }, @@ -6999,26 +6971,6 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } - }, - "node_modules/z-schema": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/z-schema/-/z-schema-5.0.5.tgz", - "integrity": "sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q==", - "dev": true, - "dependencies": { - "lodash.get": "^4.4.2", - "lodash.isequal": "^4.5.0", - "validator": "^13.7.0" - }, - "bin": { - "z-schema": "bin/z-schema" - }, - "engines": { - "node": ">=8.0.0" - }, - "optionalDependencies": { - "commander": "^9.4.1" - } } } } diff --git a/packages/http-client-csharp/package.json b/packages/http-client-csharp/package.json index 6015417303..221cd9c232 100644 --- a/packages/http-client-csharp/package.json +++ b/packages/http-client-csharp/package.json @@ -46,34 +46,34 @@ "json-serialize-refs": "0.1.0-0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": ">=0.46.0 <1.0.0 || ~0.47.0-0", - "@azure-tools/typespec-client-generator-core": ">=0.46.0 <1.0.0 || ~0.47.0-0", - "@typespec/compiler": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/http": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/openapi": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/rest": ">=0.60.0 <1.0.0 || ~0.61.0-0", - "@typespec/versioning": ">=0.60.0 <1.0.0 || ~0.61.0-0" + "@azure-tools/typespec-azure-core": ">=0.47.0 <1.0.0 || ~0.48.0-0", + "@azure-tools/typespec-client-generator-core": ">=0.47.1 <1.0.0 || ~0.48.0-0", + "@typespec/compiler": ">=0.61.2 <1.0.0 || ~0.62.0-0", + "@typespec/http": ">=0.61.0 <1.0.0 || ~0.62.0-0", + "@typespec/openapi": ">=0.61.0 <1.0.0 || ~0.62.0-0", + "@typespec/rest": ">=0.61.0 <1.0.0 || ~0.62.0-0", + "@typespec/versioning": ">=0.61.0 <1.0.0 || ~0.62.0-0" }, "devDependencies": { - "@azure-tools/cadl-ranch": "0.14.5", - "@azure-tools/cadl-ranch-specs": "0.37.2", - "@azure-tools/typespec-azure-core": "0.46.0", - "@azure-tools/typespec-client-generator-core": "0.46.2", - "@microsoft/api-extractor": "^7.40.3", - "@types/node": "~18.13.0", - "@typespec/compiler": "0.60.0", - "@typespec/http": "0.60.0", - "@typespec/json-schema": "0.60.0", - "@typespec/library-linter": "0.60.0", - "@typespec/openapi": "0.60.0", - "@typespec/rest": "0.60.0", - "@typespec/versioning": "0.60.0", - "@typespec/xml": "^0.60.0", + "@azure-tools/cadl-ranch": "0.14.7", + "@azure-tools/cadl-ranch-specs": "0.37.7", + "@azure-tools/typespec-azure-core": "0.47.0", + "@azure-tools/typespec-client-generator-core": "0.47.1", + "@microsoft/api-extractor": "^7.47.9", + "@types/node": "~22.7.5", + "@typespec/compiler": "0.61.2", + "@typespec/http": "0.61.0", + "@typespec/json-schema": "0.61.0", + "@typespec/library-linter": "0.61.0", + "@typespec/openapi": "0.61.0", + "@typespec/rest": "0.61.0", + "@typespec/versioning": "0.61.0", + "@typespec/xml": "^0.61.0", "@vitest/coverage-v8": "^1.4.0", "@vitest/ui": "^1.4.0", "c8": "^9.1.0", "rimraf": "~5.0.5", - "typescript": "~5.4.3", + "typescript": "~5.6.3", "vitest": "^1.4.0" } }