From 4e7b1e3e3adef2489444d7c4f379a984fd7e01af Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Wed, 25 Dec 2024 17:46:48 +0800 Subject: [PATCH] add clientnamespace to relevant types --- .../emitter/src/lib/client-model-builder.ts | 2 +- .../emitter/src/lib/example-converter.ts | 2 +- .../emitter/src/lib/model.ts | 2 +- .../emitter/src/lib/operation-converter.ts | 2 +- .../lib/{converter.ts => type-converter.ts} | 5 +++ .../emitter/src/type/input-type.ts | 4 +++ .../emitter/src/type/literal-type-context.ts | 1 + .../http/client/naming/tspCodeModel.json | 2 ++ .../client-operation-group/tspCodeModel.json | 1 + .../structure/default/tspCodeModel.json | 1 + .../structure/multi-client/tspCodeModel.json | 1 + .../renamed-operation/tspCodeModel.json | 1 + .../two-operation-group/tspCodeModel.json | 1 + .../http/payload/multipart/tspCodeModel.json | 1 + .../srv-driven/v1/tspCodeModel.json | 1 + .../srv-driven/v2/tspCodeModel.json | 1 + .../server/path/multiple/tspCodeModel.json | 1 + .../versions/versioned/tspCodeModel.json | 1 + .../repeatability/tspCodeModel.json | 1 + .../http/type/array/tspCodeModel.json | 15 ++++++--- .../http/type/dictionary/tspCodeModel.json | 3 +- .../type/enum/extensible/tspCodeModel.json | 1 + .../http/type/enum/fixed/tspCodeModel.json | 1 + .../enum-discriminator/tspCodeModel.json | 2 ++ .../type/model/visibility/tspCodeModel.json | 3 +- .../additional-properties/tspCodeModel.json | 9 ++++++ .../type/property/nullable/tspCodeModel.json | 21 ++++++++----- .../property/optionality/tspCodeModel.json | 6 ++++ .../property/value-types/tspCodeModel.json | 9 ++++++ .../http/type/union/tspCodeModel.json | 12 +++++++ .../versioning/added/v1/tspCodeModel.json | 2 ++ .../versioning/added/v2/tspCodeModel.json | 5 +++ .../madeOptional/v1/tspCodeModel.json | 1 + .../madeOptional/v2/tspCodeModel.json | 1 + .../versioning/removed/v1/tspCodeModel.json | 6 ++++ .../versioning/removed/v2/tspCodeModel.json | 4 +++ .../removed/v2Preview/tspCodeModel.json | 5 +++ .../renamedFrom/v1/tspCodeModel.json | 3 ++ .../renamedFrom/v2/tspCodeModel.json | 3 ++ .../v1/tspCodeModel.json | 1 + .../v2/tspCodeModel.json | 1 + .../typeChangedFrom/v1/tspCodeModel.json | 1 + .../typeChangedFrom/v2/tspCodeModel.json | 1 + .../Unbranded-TypeSpec/tspCodeModel.json | 31 ++++++++++++++++--- 44 files changed, 155 insertions(+), 23 deletions(-) rename packages/http-client-csharp/emitter/src/lib/{converter.ts => type-converter.ts} (98%) 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 359a2e7512..fcb7f6be45 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 @@ -19,7 +19,7 @@ import { InputParameter } from "../type/input-parameter.js"; import { InputEnumType, InputModelType, InputType } from "../type/input-type.js"; import { RequestLocation } from "../type/request-location.js"; import { SdkTypeMap } from "../type/sdk-type-map.js"; -import { fromSdkType } from "./converter.js"; +import { fromSdkType } from "./type-converter.js"; import { Logger } from "./logger.js"; import { navigateModels } from "./model.js"; import { fromSdkServiceMethod, getParameterDefaultValue } from "./operation-converter.js"; diff --git a/packages/http-client-csharp/emitter/src/lib/example-converter.ts b/packages/http-client-csharp/emitter/src/lib/example-converter.ts index f5588f43d9..2fcd9cd0d5 100644 --- a/packages/http-client-csharp/emitter/src/lib/example-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/example-converter.ts @@ -46,7 +46,7 @@ import { } from "../type/input-type.js"; import { OperationResponse } from "../type/operation-response.js"; import { SdkTypeMap } from "../type/sdk-type-map.js"; -import { fromSdkType } from "./converter.js"; +import { fromSdkType } from "./type-converter.js"; export function fromSdkHttpExamples( sdkContext: SdkContext, diff --git a/packages/http-client-csharp/emitter/src/lib/model.ts b/packages/http-client-csharp/emitter/src/lib/model.ts index cb082f9a21..7deb0b25d9 100644 --- a/packages/http-client-csharp/emitter/src/lib/model.ts +++ b/packages/http-client-csharp/emitter/src/lib/model.ts @@ -18,7 +18,7 @@ import { NetEmitterOptions } from "../options.js"; import { InputType } from "../type/input-type.js"; import { LiteralTypeContext } from "../type/literal-type-context.js"; import { SdkTypeMap } from "../type/sdk-type-map.js"; -import { fromSdkEnumType, fromSdkModelType, fromSdkType } from "./converter.js"; +import { fromSdkEnumType, fromSdkModelType, fromSdkType } from "./type-converter.js"; import { Logger } from "./logger.js"; /** 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 1d628c58d6..2b63245950 100644 --- a/packages/http-client-csharp/emitter/src/lib/operation-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/operation-converter.ts @@ -36,7 +36,7 @@ import { OperationResponse } from "../type/operation-response.js"; import { RequestLocation } from "../type/request-location.js"; import { parseHttpRequestMethod } from "../type/request-method.js"; import { SdkTypeMap } from "../type/sdk-type-map.js"; -import { fromSdkModelType, fromSdkType } from "./converter.js"; +import { fromSdkModelType, fromSdkType } from "./type-converter.js"; import { getExternalDocs, getOperationId } from "./decorators.js"; import { fromSdkHttpExamples } from "./example-converter.js"; import { Logger } from "./logger.js"; diff --git a/packages/http-client-csharp/emitter/src/lib/converter.ts b/packages/http-client-csharp/emitter/src/lib/type-converter.ts similarity index 98% rename from packages/http-client-csharp/emitter/src/lib/converter.ts rename to packages/http-client-csharp/emitter/src/lib/type-converter.ts index df365062b4..522cfd2b96 100644 --- a/packages/http-client-csharp/emitter/src/lib/converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/type-converter.ts @@ -55,6 +55,7 @@ export function fromSdkType( retVar = { kind: "nullable", type: inputType, + clientNamespace: sdkType.clientNamespace, }; break; case "model": @@ -142,6 +143,7 @@ export function fromSdkModelType( const ourProperty = fromSdkModelProperty(property, { ModelName: modelTypeName, Usage: modelType.usage, + ClientNamespace: modelType.clientNamespace, } as LiteralTypeContext); propertiesDict.set(property, ourProperty); } @@ -226,6 +228,7 @@ export function fromSdkEnumType( context, 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,*/, + clientNamespace: enumType.clientNamespace, deprecation: enumType.deprecation, summary: enumType.summary, doc: enumType.doc, @@ -303,6 +306,7 @@ function fromUnionType( kind: "union", name: union.name, variantTypes: variantTypes, + clientNamespace: union.clientNamespace, decorators: union.decorators, }; } @@ -340,6 +344,7 @@ function fromSdkConstantType( values: values, crossLanguageDefinitionId: "", access: undefined, + clientNamespace: literalTypeContext.ClientNamespace, doc: `The ${enumName}`, // TODO -- what should we put here? isFixed: false, isFlags: false, diff --git a/packages/http-client-csharp/emitter/src/type/input-type.ts b/packages/http-client-csharp/emitter/src/type/input-type.ts index 5009ba1520..39da3f5886 100644 --- a/packages/http-client-csharp/emitter/src/type/input-type.ts +++ b/packages/http-client-csharp/emitter/src/type/input-type.ts @@ -78,6 +78,7 @@ export interface InputUnionType extends InputTypeBase { kind: "union"; name: string; variantTypes: InputType[]; + clientNamespace: string; } export function isInputUnionType(type: InputType): type is InputUnionType { @@ -91,6 +92,7 @@ export interface InputModelType extends InputTypeBase { crossLanguageDefinitionId: string; access?: AccessFlags; usage: UsageFlags; + clientNamespace: string; additionalProperties?: InputType; discriminatorValue?: string; discriminatedSubtypes?: Record; @@ -124,6 +126,7 @@ export interface InputEnumType extends InputTypeBase { isFlags: boolean; usage: UsageFlags; access?: AccessFlags; + clientNamespace: string; } export interface InputEnumTypeValue extends InputTypeBase { @@ -137,6 +140,7 @@ export interface InputEnumTypeValue extends InputTypeBase { export interface InputNullableType extends InputTypeBase { kind: "nullable"; type: InputType; + clientNamespace: string; } export function isInputEnumType(type: InputType): type is InputEnumType { diff --git a/packages/http-client-csharp/emitter/src/type/literal-type-context.ts b/packages/http-client-csharp/emitter/src/type/literal-type-context.ts index 0d46f86e99..7c8b8642ee 100644 --- a/packages/http-client-csharp/emitter/src/type/literal-type-context.ts +++ b/packages/http-client-csharp/emitter/src/type/literal-type-context.ts @@ -7,4 +7,5 @@ export interface LiteralTypeContext { ModelName: string; PropertyName: string; Usage: UsageFlags; + ClientNamespace: string; } 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 b45cd859a4..81bff7a183 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 @@ -34,6 +34,7 @@ "decorators": [] } ], + "clientNamespace": "Client.Naming.UnionEnum", "isFixed": false, "isFlags": false, "usage": "Input,Json", @@ -87,6 +88,7 @@ "decorators": [] } ], + "clientNamespace": "Client.Naming.UnionEnum", "isFixed": false, "isFlags": false, "usage": "Input,Json", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/client-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/client-operation-group/tspCodeModel.json index 84895c53c2..efd02bd71a 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/client-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/client-operation-group/tspCodeModel.json @@ -102,6 +102,7 @@ "decorators": [] } ], + "clientNamespace": "Client.Structure.Service", "isFixed": true, "isFlags": false, "usage": "Input", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/default/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/default/tspCodeModel.json index a96d186132..10dd5d102e 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/default/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/default/tspCodeModel.json @@ -102,6 +102,7 @@ "decorators": [] } ], + "clientNamespace": "Client.Structure.Service", "isFixed": true, "isFlags": false, "usage": "Input", 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 5cf7a1ba21..e13e767ac7 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 @@ -102,6 +102,7 @@ "decorators": [] } ], + "clientNamespace": "Client.Structure.Service", "isFixed": true, "isFlags": false, "usage": "Input", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/renamed-operation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/renamed-operation/tspCodeModel.json index bf93610953..5ac3ab98cb 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/renamed-operation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/renamed-operation/tspCodeModel.json @@ -102,6 +102,7 @@ "decorators": [] } ], + "clientNamespace": "Client.Structure.Service", "isFixed": true, "isFlags": false, "usage": "Input", diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/two-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/two-operation-group/tspCodeModel.json index 3d6903520a..61001a7a6e 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/two-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/client/structure/two-operation-group/tspCodeModel.json @@ -102,6 +102,7 @@ "decorators": [] } ], + "clientNamespace": "Client.Structure.Service", "isFixed": true, "isFlags": false, "usage": "Input", 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 f134fc4e36..6fadc83aa7 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 @@ -30,6 +30,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Payload.MultiPart", "doc": "The FileSpecificContentType_contentType", "isFixed": false, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v1/tspCodeModel.json index d850374c8e..7db07d82ec 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v1/tspCodeModel.json @@ -37,6 +37,7 @@ "decorators": [] } ], + "clientNamespace": "Resiliency.ServiceDriven", "doc": "Service versions.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v2/tspCodeModel.json index 6e9845b930..5f6bd9fb0a 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/resiliency/srv-driven/v2/tspCodeModel.json @@ -56,6 +56,7 @@ "decorators": [] } ], + "clientNamespace": "Resiliency.ServiceDriven", "doc": "Service versions", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/path/multiple/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/path/multiple/tspCodeModel.json index 198f6ce797..2a6ada134c 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/path/multiple/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/path/multiple/tspCodeModel.json @@ -37,6 +37,7 @@ "decorators": [] } ], + "clientNamespace": "Server.Path.Multiple", "doc": "Service versions", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/versions/versioned/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/versions/versioned/tspCodeModel.json index a9eb23eb2f..5c116cd14f 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/versions/versioned/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/server/versions/versioned/tspCodeModel.json @@ -56,6 +56,7 @@ "decorators": [] } ], + "clientNamespace": "Server.Versions.Versioned", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/special-headers/repeatability/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/special-headers/repeatability/tspCodeModel.json index 0827f4750f..d862f3b3db 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/special-headers/repeatability/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/special-headers/repeatability/tspCodeModel.json @@ -51,6 +51,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Output", 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 d6e1378995..5621b15392 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 @@ -2020,7 +2020,8 @@ "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] - } + }, + "clientNamespace": "" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2224,7 +2225,8 @@ "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] - } + }, + "clientNamespace": "" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2428,7 +2430,8 @@ "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", "decorators": [] - } + }, + "clientNamespace": "" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2632,7 +2635,8 @@ "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] - } + }, + "clientNamespace": "" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -2832,7 +2836,8 @@ "kind": "nullable", "type": { "$ref": "2" - } + }, + "clientNamespace": "" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] 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 66058bb59c..e2033d2379 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 @@ -2327,7 +2327,8 @@ "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", "decorators": [] - } + }, + "clientNamespace": "" }, "decorators": [] }, 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 8cc09068b1..8589e6fda2 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 @@ -143,6 +143,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Enum.Extensible", "doc": "Days of the week", "isFixed": false, "isFlags": false, 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 3487706435..15aace14bc 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 @@ -143,6 +143,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Enum.Fixed", "doc": "Days of the week", "isFixed": true, "isFlags": false, 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 ffb18ff353..5eb13e279d 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 @@ -35,6 +35,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Model.Inheritance.EnumDiscriminator", "doc": "extensible enum type for discriminator", "isFixed": false, "isFlags": false, @@ -73,6 +74,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Model.Inheritance.EnumDiscriminator", "doc": "fixed enum type for discriminator", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/visibility/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/visibility/tspCodeModel.json index 5f3b9906f0..4616b7dcf2 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/visibility/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/type/model/visibility/tspCodeModel.json @@ -160,7 +160,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": true, "readOnly": true, 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 ada137f848..47ab1f7d8a 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 @@ -30,6 +30,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.AdditionalProperties", "doc": "The WidgetData2_kind", "isFixed": false, "isFlags": false, @@ -63,6 +64,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.AdditionalProperties", "doc": "The WidgetData1_kind", "isFixed": false, "isFlags": false, @@ -96,6 +98,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.AdditionalProperties", "doc": "The WidgetData0_kind", "isFixed": false, "isFlags": false, @@ -260,6 +263,7 @@ ] } ], + "clientNamespace": "", "decorators": [] }, "properties": [ @@ -311,6 +315,7 @@ "$ref": "19" } ], + "clientNamespace": "", "decorators": [] }, "properties": [ @@ -403,6 +408,7 @@ "$ref": "19" } ], + "clientNamespace": "", "decorators": [] }, "properties": [ @@ -451,6 +457,7 @@ "$ref": "19" } ], + "clientNamespace": "Type.Property.AdditionalProperties", "decorators": [] }, "properties": [ @@ -504,6 +511,7 @@ "decorators": [] } ], + "clientNamespace": "", "decorators": [] }, "properties": [ @@ -557,6 +565,7 @@ "decorators": [] } ], + "clientNamespace": "", "decorators": [] }, "properties": [ 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 0eda49a27f..60ac1058d0 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 @@ -55,7 +55,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -141,7 +142,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -207,7 +209,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -270,7 +273,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.duration", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -333,7 +337,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -389,7 +394,8 @@ "encode": "base64", "crossLanguageDefinitionId": "TypeSpec.bytes", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -444,7 +450,8 @@ "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, 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 7b966d8806..9e92a8bf83 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 @@ -51,6 +51,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -104,6 +105,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -157,6 +159,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -189,6 +192,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.Optional", "doc": "The FloatLiteralProperty_property", "isFixed": false, "isFlags": false, @@ -222,6 +226,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.Optional", "doc": "The IntLiteralProperty_property", "isFixed": false, "isFlags": false, @@ -255,6 +260,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.Optional", "doc": "The StringLiteralProperty_property", "isFixed": false, "isFlags": false, 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 f8b7d62a32..5cbc567688 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 @@ -34,6 +34,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Property.ValueTypes", "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", @@ -87,6 +88,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -140,6 +142,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -193,6 +196,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -225,6 +229,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.ValueTypes", "doc": "The FloatLiteralProperty_property", "isFixed": false, "isFlags": false, @@ -258,6 +263,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.ValueTypes", "doc": "The IntLiteralProperty_property", "isFixed": false, "isFlags": false, @@ -291,6 +297,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "Type.Property.ValueTypes", "doc": "The StringLiteralProperty_property", "isFixed": false, "isFlags": false, @@ -347,6 +354,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Property.ValueTypes", "doc": "Enum that will be used as a property for model EnumProperty. Extensible.", "isFixed": false, "isFlags": false, @@ -403,6 +411,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Property.ValueTypes", "doc": "Enum that will be used as a property for model EnumProperty. Non-extensible.", "isFixed": true, "isFlags": false, 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 00194b0024..f2bcd98b15 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 @@ -85,6 +85,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -138,6 +139,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -208,6 +210,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -278,6 +281,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -331,6 +335,7 @@ "decorators": [] } ], + "clientNamespace": "Type.Union", "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", @@ -384,6 +389,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", @@ -454,6 +460,7 @@ "decorators": [] } ], + "clientNamespace": "", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -550,6 +557,7 @@ "decorators": [] } ], + "clientNamespace": "", "decorators": [] }, "optional": false, @@ -757,6 +765,7 @@ "decorators": [] } ], + "clientNamespace": "", "decorators": [] }, "optional": false, @@ -907,6 +916,7 @@ "decorators": [] } ], + "clientNamespace": "", "decorators": [] }, "optional": false, @@ -949,6 +959,7 @@ "decorators": [] } ], + "clientNamespace": "", "decorators": [] }, "optional": false, @@ -1140,6 +1151,7 @@ ] } ], + "clientNamespace": "", "decorators": [] }, "optional": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v1/tspCodeModel.json index be11956d49..cdc212d671 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v1/tspCodeModel.json @@ -36,6 +36,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Added", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -73,6 +74,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Added", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v2/tspCodeModel.json index ba760d0ccf..5161d41e64 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/added/v2/tspCodeModel.json @@ -54,6 +54,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Added", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -90,6 +91,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Added", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -145,6 +147,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Added", "doc": "The version of the API.", "isFixed": true, "isFlags": false, @@ -227,6 +230,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Added", "decorators": [] }, "optional": false, @@ -305,6 +309,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Added", "decorators": [] }, "optional": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v1/tspCodeModel.json index 39b9405121..f5e8526484 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v1/tspCodeModel.json @@ -37,6 +37,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.MadeOptional", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v2/tspCodeModel.json index 507d20ed59..9cc15d5893 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/madeOptional/v2/tspCodeModel.json @@ -56,6 +56,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.MadeOptional", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v1/tspCodeModel.json index 4797d81bd8..c4488040c4 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v1/tspCodeModel.json @@ -36,6 +36,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -89,6 +90,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -142,6 +144,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -179,6 +182,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "doc": "The version of the API.", "isFixed": true, "isFlags": false, @@ -254,6 +258,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "decorators": [] }, "optional": false, @@ -365,6 +370,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "decorators": [] }, "optional": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2/tspCodeModel.json index 6ad893e635..12aa91b895 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2/tspCodeModel.json @@ -38,6 +38,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -91,6 +92,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -164,6 +166,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "doc": "The version of the API.", "isFixed": true, "isFlags": false, @@ -239,6 +242,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "decorators": [] }, "optional": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2Preview/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2Preview/tspCodeModel.json index adf4820b22..685c5f188b 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2Preview/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/removed/v2Preview/tspCodeModel.json @@ -37,6 +37,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -90,6 +91,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -145,6 +147,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "doc": "The version of the API.", "isFixed": true, "isFlags": false, @@ -220,6 +223,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "decorators": [] }, "optional": false, @@ -331,6 +335,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.Removed", "decorators": [] }, "optional": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v1/tspCodeModel.json index d4ed27d954..a086a75feb 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v1/tspCodeModel.json @@ -36,6 +36,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.RenamedFrom", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -73,6 +74,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.RenamedFrom", "doc": "The version of the API.", "isFixed": true, "isFlags": false, @@ -155,6 +157,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.RenamedFrom", "decorators": [] }, "optional": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v2/tspCodeModel.json index 835e4b2823..68065dde26 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/renamedFrom/v2/tspCodeModel.json @@ -37,6 +37,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.RenamedFrom", "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", @@ -92,6 +93,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.RenamedFrom", "doc": "The version of the API.", "isFixed": true, "isFlags": false, @@ -174,6 +176,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.RenamedFrom", "decorators": [] }, "optional": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json index 4e0e15a35b..61ddb511fd 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json @@ -37,6 +37,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.ReturnTypeChangedFrom", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json index 7202d682cd..986c0ea6ca 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json @@ -56,6 +56,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.ReturnTypeChangedFrom", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v1/tspCodeModel.json index 1af3d4380d..52716f4b05 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v1/tspCodeModel.json @@ -37,6 +37,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.TypeChangedFrom", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v2/tspCodeModel.json index 4211c92207..1700f43b4c 100644 --- a/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/CadlRanch/http/versioning/typeChangedFrom/v2/tspCodeModel.json @@ -56,6 +56,7 @@ "decorators": [] } ], + "clientNamespace": "Versioning.TypeChangedFrom", "doc": "The version of the API.", "isFixed": true, "isFlags": false, diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Unbranded-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Unbranded-TypeSpec/tspCodeModel.json index 4633b09745..71938aed74 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Unbranded-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Unbranded-TypeSpec/tspCodeModel.json @@ -33,6 +33,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "UnbrandedTypeSpec", "doc": "The Thing_requiredLiteralString", "isFixed": false, "isFlags": false, @@ -66,6 +67,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "UnbrandedTypeSpec", "doc": "The Thing_requiredLiteralInt", "isFixed": false, "isFlags": false, @@ -99,6 +101,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "UnbrandedTypeSpec", "doc": "The Thing_requiredLiteralFloat", "isFixed": false, "isFlags": false, @@ -132,6 +135,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "UnbrandedTypeSpec", "doc": "The Thing_optionalLiteralString", "isFixed": false, "isFlags": false, @@ -165,6 +169,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "UnbrandedTypeSpec", "doc": "The Thing_optionalLiteralInt", "isFixed": false, "isFlags": false, @@ -198,6 +203,7 @@ } ], "crossLanguageDefinitionId": "", + "clientNamespace": "UnbrandedTypeSpec", "doc": "The Thing_optionalLiteralFloat", "isFixed": false, "isFlags": false, @@ -269,6 +275,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "Simple enum", "isFixed": true, "isFlags": false, @@ -340,6 +347,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "Extensible enum", "isFixed": false, "isFlags": false, @@ -411,6 +419,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "Int based extensible enum", "isFixed": false, "isFlags": false, @@ -482,6 +491,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "Float based extensible enum", "isFixed": false, "isFlags": false, @@ -553,6 +563,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "float fixed enum", "isFixed": false, "isFlags": false, @@ -624,6 +635,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "float fixed enum", "isFixed": true, "isFlags": false, @@ -695,6 +707,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "float fixed enum", "isFixed": true, "isFlags": false, @@ -766,6 +779,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "doc": "int fixed enum", "isFixed": true, "isFlags": false, @@ -820,6 +834,7 @@ "decorators": [] } ], + "clientNamespace": "UnbrandedTypeSpec", "isFixed": true, "isFlags": false, "usage": "ApiVersionEnum", @@ -896,6 +911,7 @@ "decorators": [] } ], + "clientNamespace": "", "decorators": [] }, "optional": false, @@ -1131,7 +1147,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": true, "readOnly": false, @@ -1162,7 +1179,8 @@ }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -1692,7 +1710,8 @@ "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", "decorators": [] - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -1712,7 +1731,8 @@ "kind": "nullable", "type": { "$ref": "28" - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false, @@ -1732,7 +1752,8 @@ "kind": "nullable", "type": { "$ref": "20" - } + }, + "clientNamespace": "" }, "optional": false, "readOnly": false,