From 4bc78a7c5dd1daef7a3f566a310898bd0a8128f0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 15:19:51 +0000 Subject: [PATCH 01/15] Initial plan From 327c2c71c275e8c8f5000cb947095ae59d429e89 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 May 2026 15:45:12 +0000 Subject: [PATCH 02/15] Support exact client name (TCGC 0.68.0) Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/b465cdf8-5db5-43ea-97f0-f615be72ddc1 Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../emitter/src/lib/client-converter.ts | 1 + .../emitter/src/lib/operation-converter.ts | 5 ++ .../emitter/src/lib/type-converter.ts | 5 ++ .../emitter/src/type/input-type.ts | 10 +++ .../emitter/test/Unit/model-type.test.ts | 75 +++++++++++++++++++ .../src/InputTypes/InputProperty.cs | 4 + .../src/InputTypes/InputType.cs | 4 + .../InputBodyParameterConverter.cs | 5 +- .../InputEndpointParameterConverter.cs | 5 +- .../Serialization/InputEnumTypeConverter.cs | 5 +- .../InputHeaderParameterConverter.cs | 5 +- .../InputLiteralTypeConverter.cs | 7 +- .../InputMethodParameterConverter.cs | 5 +- .../InputModelPropertyConverter.cs | 5 +- .../Serialization/InputModelTypeConverter.cs | 3 + .../InputPathParameterConverter.cs | 5 +- .../InputQueryParameterConverter.cs | 5 +- .../Serialization/InputUnionTypeConverter.cs | 5 +- .../src/Providers/EnumProvider.cs | 2 +- .../src/Providers/ModelProvider.cs | 2 +- .../src/Providers/PropertyProvider.cs | 2 +- .../test/Providers/PropertyProviderTests.cs | 24 ++++++ .../test/common/InputFactory.cs | 16 +++- 23 files changed, 187 insertions(+), 18 deletions(-) diff --git a/packages/http-client-csharp/emitter/src/lib/client-converter.ts b/packages/http-client-csharp/emitter/src/lib/client-converter.ts index 52586f2ddf0..6c0e7774a15 100644 --- a/packages/http-client-csharp/emitter/src/lib/client-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/client-converter.ts @@ -204,6 +204,7 @@ function fromSdkClient( methodParameterSegments: diagnostics.pipe( getMethodParameterSegments(sdkContext, parameter), ), + isExactName: parameter.isExactName, }); } return diagnostics.wrap(parameters); 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 decc442eb79..456c6a92f6b 100644 --- a/packages/http-client-csharp/emitter/src/lib/operation-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/operation-converter.ts @@ -504,6 +504,7 @@ function fromQueryParameter( crossLanguageDefinitionId: p.crossLanguageDefinitionId, readOnly: isReadOnly(p), methodParameterSegments: diagnostics.pipe(getMethodParameterSegments(sdkContext, p)), + isExactName: p.isExactName, }; sdkContext.__typeCache.updateSdkOperationParameterReferences(p, retVar); @@ -539,6 +540,7 @@ function fromPathParameter( readOnly: isReadOnly(p), crossLanguageDefinitionId: p.crossLanguageDefinitionId, methodParameterSegments: diagnostics.pipe(getMethodParameterSegments(sdkContext, p)), + isExactName: p.isExactName, }; sdkContext.__typeCache.updateSdkOperationParameterReferences(p, retVar); @@ -574,6 +576,7 @@ function fromHeaderParameter( crossLanguageDefinitionId: p.crossLanguageDefinitionId, methodParameterSegments: diagnostics.pipe(getMethodParameterSegments(sdkContext, p)), collectionHeaderPrefix: diagnostics.pipe(getCollectionHeaderPrefix(sdkContext, p)), + isExactName: p.isExactName, }; sdkContext.__typeCache.updateSdkOperationParameterReferences(p, retVar); @@ -604,6 +607,7 @@ function fromBodyParameter( readOnly: isReadOnly(p), crossLanguageDefinitionId: p.crossLanguageDefinitionId, methodParameterSegments: diagnostics.pipe(getMethodParameterSegments(sdkContext, p)), + isExactName: p.isExactName, }; sdkContext.__typeCache.updateSdkOperationParameterReferences(p, retVar); @@ -645,6 +649,7 @@ export function fromMethodParameter( access: p.access, decorators: p.decorators, paramAlias, + isExactName: p.isExactName, }; sdkContext.__typeCache.updateSdkMethodParameterReferences(p, retVar); diff --git a/packages/http-client-csharp/emitter/src/lib/type-converter.ts b/packages/http-client-csharp/emitter/src/lib/type-converter.ts index 10ca931a054..af58a55c234 100644 --- a/packages/http-client-csharp/emitter/src/lib/type-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/type-converter.ts @@ -215,6 +215,7 @@ function fromSdkModelType( decorators: decorators, external: fromSdkExternalTypeInfo(modelType), serializationOptions: modelType.serializationOptions, + isExactName: modelType.isExactName, } as InputModelType; sdkContext.__typeCache.updateSdkTypeReferences(modelType, inputModelType); @@ -291,6 +292,7 @@ function fromSdkModelProperty( // A property is defined to be metadata if it is marked `@header`, `@cookie`, `@query`, `@path`. isHttpMetadata: isHttpMetadata(sdkContext, sdkProperty), encode: sdkProperty.encode, + isExactName: sdkProperty.isExactName, } as InputModelProperty; if (property) { @@ -342,6 +344,7 @@ function createEnumType( usage: sdkType.kind === "enum" ? sdkType.usage : UsageFlags.None, decorators: sdkType.decorators, external: fromSdkExternalTypeInfo(sdkType), + isExactName: sdkType.isExactName, }; sdkContext.__typeCache.updateSdkTypeReferences(sdkType, inputEnumType); @@ -431,6 +434,7 @@ function fromUnionType( namespace: union.namespace, decorators: union.decorators, external: fromSdkExternalTypeInfo(union), + isExactName: union.isExactName, }); } @@ -448,6 +452,7 @@ function fromSdkConstantType( valueType: diagnostics.pipe(fromSdkType(sdkContext, constantType.valueType)), value: constantType.value, decorators: constantType.decorators, + isExactName: constantType.isExactName, }; sdkContext.__typeCache.updateConstantCache(constantType, literalType); 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 96189e1a161..08279c3dff4 100644 --- a/packages/http-client-csharp/emitter/src/type/input-type.ts +++ b/packages/http-client-csharp/emitter/src/type/input-type.ts @@ -97,6 +97,8 @@ export interface InputLiteralType extends InputTypeBase { namespace: string; valueType: InputPrimitiveType; value: string | number | boolean | null; + /** Whether the name should be used exactly as-is, without casing transformations. */ + isExactName?: boolean; } export function isInputLiteralType(type: InputType): type is InputLiteralType { @@ -135,6 +137,8 @@ export interface InputUnionType extends InputTypeBase { name: string; variantTypes: InputType[]; namespace: string; + /** Whether the name should be used exactly as-is, without casing transformations. */ + isExactName?: boolean; } export function isInputUnionType(type: InputType): type is InputUnionType { @@ -159,6 +163,8 @@ export interface InputModelType extends InputTypeBase { discriminatorProperty?: InputModelProperty; baseModel?: InputModelType; serializationOptions: SerializationOptions; + /** Whether the name should be used exactly as-is, without casing transformations. */ + isExactName?: boolean; } export interface InputPropertyTypeBase extends DecoratedType { @@ -172,6 +178,8 @@ export interface InputPropertyTypeBase extends DecoratedType { crossLanguageDefinitionId: string; readOnly: boolean; access?: AccessFlags; + /** Whether the name should be used exactly as-is, without casing transformations. */ + isExactName?: boolean; } export interface InputModelProperty extends InputPropertyTypeBase { @@ -265,6 +273,8 @@ export interface InputEnumType extends InputTypeBase { usage: UsageFlags; access?: AccessFlags; namespace: string; + /** Whether the name should be used exactly as-is, without casing transformations. */ + isExactName?: boolean; } export interface InputEnumValueType extends InputTypeBase { diff --git a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts index 025e8f5ef91..d2aa49b4a5e 100644 --- a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts @@ -1095,3 +1095,78 @@ describe("XML serialization options", () => { strictEqual(itemsProperty.serializationOptions.xml.itemsName, "Item"); }); }); + +describe("Test isExactName propagation", () => { + let runner: TestHost; + + beforeEach(async () => { + runner = await createEmitterTestHost(); + }); + + it("propagates isExactName from @clientName decorator with exact() on property", async () => { + const program = await typeSpecCompile( + ` + model Book { + @clientName(Azure.ClientGenerator.Core.exact("snake_case_name"), "csharp") + name: string; + } + + op test(@body input: Book): Book; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const bookModel = root.models.find((m) => m.name === "Book"); + ok(bookModel); + const nameProp = bookModel.properties.find((p) => p.name === "snake_case_name"); + ok(nameProp); + strictEqual(nameProp.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on model", async () => { + const program = await typeSpecCompile( + ` + @clientName(Azure.ClientGenerator.Core.exact("my_exact_model"), "csharp") + model Book { + name: string; + } + + op test(@body input: Book): Book; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const bookModel = root.models.find((m) => m.name === "my_exact_model"); + ok(bookModel); + strictEqual(bookModel.isExactName, true); + }); + + it("does not set isExactName when @clientName decorator does not use exact()", async () => { + const program = await typeSpecCompile( + ` + model Book { + @clientName("regularName") + name: string; + } + + op test(@body input: Book): Book; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const bookModel = root.models.find((m) => m.name === "Book"); + ok(bookModel); + const nameProp = bookModel.properties.find((p) => p.name === "regularName"); + ok(nameProp); + strictEqual(nameProp.isExactName, false); + }); +}); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputProperty.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputProperty.cs index 529bd88dc99..6a402bc5485 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputProperty.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputProperty.cs @@ -33,5 +33,9 @@ protected InputProperty(string name, string? summary, string? doc, InputType typ public InputModelType? EnclosingType { get; internal set; } public bool IsApiVersion { get; internal set; } public InputConstant? DefaultValue { get; internal set; } + /// + /// Whether the name should be used exactly as-is, without casing transformations. + /// + public bool IsExactName { get; internal set; } } } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputType.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputType.cs index f29410ac780..d7b779b4996 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputType.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputType.cs @@ -22,6 +22,10 @@ protected InputType(string name) public string Name { get; internal set; } public IReadOnlyList Decorators { get; internal set; } = new List(); public InputExternalTypeMetadata? External { get; internal set; } + /// + /// Whether the name should be used exactly as-is, without casing transformations. + /// + public bool IsExactName { get; internal set; } internal InputType GetCollectionEquivalent(InputType inputType) { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBodyParameterConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBodyParameterConverter.cs index 1e9330c069d..4a190049d43 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBodyParameterConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBodyParameterConverter.cs @@ -63,6 +63,7 @@ internal static InputBodyParameter ReadInputBodyParameter(ref Utf8JsonReader rea string? defaultContentType = null; IReadOnlyList? decorators = null; IReadOnlyList? methodParameterSegments = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -81,7 +82,8 @@ internal static InputBodyParameter ReadInputBodyParameter(ref Utf8JsonReader rea || reader.TryReadComplexType("contentTypes",options, ref contentTypes) || reader.TryReadComplexType("defaultContentType", options, ref defaultContentType) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments); + || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -104,6 +106,7 @@ internal static InputBodyParameter ReadInputBodyParameter(ref Utf8JsonReader rea parameter.ContentTypes = contentTypes ?? throw new JsonException($"{nameof(InputBodyParameter)} must have a contentTypes."); parameter.DefaultContentType = defaultContentType ?? throw new JsonException($"{nameof(InputBodyParameter)} must have a defaultContentType."); parameter.MethodParameterSegments = methodParameterSegments; + parameter.IsExactName = isExactName; return parameter; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEndpointParameterConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEndpointParameterConverter.cs index f77af62a9fa..8a184d6e344 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEndpointParameterConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEndpointParameterConverter.cs @@ -65,6 +65,7 @@ internal static InputEndpointParameter ReadInputEndpointParameter(ref Utf8JsonRe bool isEndpoint = false; IReadOnlyList? decorators = null; IReadOnlyList? methodParameterSegments = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -84,7 +85,8 @@ internal static InputEndpointParameter ReadInputEndpointParameter(ref Utf8JsonRe || reader.TryReadBoolean("skipUrlEncoding", ref skipUrlEncoding) || reader.TryReadBoolean("isEndpoint", ref isEndpoint) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments); + || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -108,6 +110,7 @@ internal static InputEndpointParameter ReadInputEndpointParameter(ref Utf8JsonRe parameter.Scope = InputParameter.ParseScope(type, name, scope); parameter.SkipUrlEncoding = skipUrlEncoding; parameter.MethodParameterSegments = methodParameterSegments; + parameter.IsExactName = isExactName; return parameter; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeConverter.cs index 028ee85c25f..a01a716fd57 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeConverter.cs @@ -61,6 +61,7 @@ public static InputEnumType CreateEnumType(ref Utf8JsonReader reader, string? id IReadOnlyList? values = null; IReadOnlyList? decorators = null; InputExternalTypeMetadata? external = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { var isKnownProperty = reader.TryReadString("name", ref name) @@ -75,7 +76,8 @@ public static InputEnumType CreateEnumType(ref Utf8JsonReader reader, string? id || reader.TryReadComplexType("valueType", options, ref valueType) || reader.TryReadComplexType("values", options, ref values) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadComplexType("external", options, ref external); + || reader.TryReadComplexType("external", options, ref external) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -100,6 +102,7 @@ public static InputEnumType CreateEnumType(ref Utf8JsonReader reader, string? id enumType.IsExtensible = !isFixed; enumType.Decorators = decorators ?? []; enumType.External = external; + enumType.IsExactName = isExactName; return enumType; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputHeaderParameterConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputHeaderParameterConverter.cs index 63dfdc14ef9..3ebca194946 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputHeaderParameterConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputHeaderParameterConverter.cs @@ -67,6 +67,7 @@ internal static InputHeaderParameter ReadInputHeaderParameter(ref Utf8JsonReader string? collectionFormat = null; IReadOnlyList? decorators = null; IReadOnlyList? methodParameterSegments = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -87,7 +88,8 @@ internal static InputHeaderParameter ReadInputHeaderParameter(ref Utf8JsonReader || reader.TryReadBoolean("isContentType", ref isContentType) || reader.TryReadString("collectionHeaderPrefix", ref collectionHeaderPrefix) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments); + || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -112,6 +114,7 @@ internal static InputHeaderParameter ReadInputHeaderParameter(ref Utf8JsonReader parameter.IsContentType = isContentType; parameter.CollectionHeaderPrefix = collectionHeaderPrefix; parameter.MethodParameterSegments = methodParameterSegments; + parameter.IsExactName = isExactName; return parameter; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLiteralTypeConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLiteralTypeConverter.cs index 138e2567674..61062c9ea45 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLiteralTypeConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLiteralTypeConverter.cs @@ -28,6 +28,7 @@ public static InputLiteralType CreateInputLiteralType(ref Utf8JsonReader reader, JsonElement? rawValue = null; InputPrimitiveType? valueType = null; IReadOnlyList? decorators = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -36,7 +37,8 @@ public static InputLiteralType CreateInputLiteralType(ref Utf8JsonReader reader, || reader.TryReadString("namespace", ref ns) || reader.TryReadComplexType("value", options, ref rawValue) || reader.TryReadComplexType("valueType", options, ref valueType) - || reader.TryReadComplexType("decorators", options, ref decorators); + || reader.TryReadComplexType("decorators", options, ref decorators) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -65,7 +67,8 @@ public static InputLiteralType CreateInputLiteralType(ref Utf8JsonReader reader, var literalType = new InputLiteralType(name, ns, valueType, value) { - Decorators = decorators ?? [] + Decorators = decorators ?? [], + IsExactName = isExactName }; if (id != null) diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputMethodParameterConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputMethodParameterConverter.cs index 3e61c3d629a..7b2e78ac8a3 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputMethodParameterConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputMethodParameterConverter.cs @@ -63,6 +63,7 @@ internal static InputMethodParameter ReadInputMethodParameter(ref Utf8JsonReader IReadOnlyList? decorators = null; string? location = null; string? paramAlias = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -82,7 +83,8 @@ internal static InputMethodParameter ReadInputMethodParameter(ref Utf8JsonReader || reader.TryReadComplexType("defaultContentType", options, ref defaultContentType) || reader.TryReadString("location", ref location) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadString("paramAlias", ref paramAlias); + || reader.TryReadString("paramAlias", ref paramAlias) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -102,6 +104,7 @@ internal static InputMethodParameter ReadInputMethodParameter(ref Utf8JsonReader parameter.IsApiVersion = isApiVersion; parameter.DefaultValue = defaultValue; parameter.Scope = InputParameter.ParseScope(type, name, scope);; + parameter.IsExactName = isExactName; if (location == null) { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelPropertyConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelPropertyConverter.cs index 28c24a8d666..4fb7f0b4629 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelPropertyConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelPropertyConverter.cs @@ -65,6 +65,7 @@ internal static InputModelProperty ReadInputModelProperty(ref Utf8JsonReader rea IReadOnlyList? decorators = null; InputSerializationOptions? serializationOptions = null; string? encodeString = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -84,7 +85,8 @@ internal static InputModelProperty ReadInputModelProperty(ref Utf8JsonReader rea || reader.TryReadBoolean("isApiVersion", ref isApiVersion) || reader.TryReadComplexType("defaultValue", options, ref defaultValue) || reader.TryReadComplexType("serializationOptions", options, ref serializationOptions) - || reader.TryReadString("encode", ref encodeString); + || reader.TryReadString("encode", ref encodeString) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -107,6 +109,7 @@ internal static InputModelProperty ReadInputModelProperty(ref Utf8JsonReader rea property.IsApiVersion = isApiVersion; property.DefaultValue = defaultValue; property.Encode = Enum.TryParse(encodeString, ignoreCase: true, out var encode) ? encode : null; + property.IsExactName = isExactName; return property; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelTypeConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelTypeConverter.cs index 6b6a4e4acca..c7a143ca4e1 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelTypeConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputModelTypeConverter.cs @@ -73,6 +73,7 @@ internal static InputModelType CreateModelType(ref Utf8JsonReader reader, string IReadOnlyList? decorators = null; InputSerializationOptions? serializationOptions = null; InputExternalTypeMetadata? external = null; + bool isExactName = false; // read all possible properties and throw away the unknown properties while (reader.TokenType != JsonTokenType.EndObject) @@ -94,6 +95,7 @@ internal static InputModelType CreateModelType(ref Utf8JsonReader reader, string || reader.TryReadComplexType("decorators", options, ref decorators) || reader.TryReadComplexType("serializationOptions", options, ref serializationOptions) || reader.TryReadComplexType("external", options, ref external) + || reader.TryReadBoolean("isExactName", ref isExactName) || reader.TryReadBoolean(nameof(InputModelType.ModelAsStruct), ref modelAsStruct); // TODO -- change this to fetch from the decorator list instead when the decorator is ready if (!isKnownProperty) @@ -134,6 +136,7 @@ internal static InputModelType CreateModelType(ref Utf8JsonReader reader, string model.DiscriminatedSubtypes = new Dictionary(); } model.ModelAsStruct = modelAsStruct; + model.IsExactName = isExactName; if (decorators != null) { model.Decorators = decorators; diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPathParameterConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPathParameterConverter.cs index 28b58bb7bd8..901df2bb056 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPathParameterConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPathParameterConverter.cs @@ -67,6 +67,7 @@ internal static InputPathParameter ReadInputPathParameter(ref Utf8JsonReader rea bool allowReserved = false; IReadOnlyList? decorators = null; IReadOnlyList? methodParameterSegments = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -87,7 +88,8 @@ internal static InputPathParameter ReadInputPathParameter(ref Utf8JsonReader rea || reader.TryReadBoolean("explode", ref explode) || reader.TryReadBoolean("skipUrlEncoding", ref skipUrlEncoding) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments); + || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -112,6 +114,7 @@ internal static InputPathParameter ReadInputPathParameter(ref Utf8JsonReader rea parameter.Explode = explode; parameter.SkipUrlEncoding = skipUrlEncoding; parameter.MethodParameterSegments = methodParameterSegments; + parameter.IsExactName = isExactName; return parameter; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputQueryParameterConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputQueryParameterConverter.cs index a05f70408f5..78d4babfb4c 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputQueryParameterConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputQueryParameterConverter.cs @@ -65,6 +65,7 @@ internal static InputQueryParameter ReadInputQueryParameter(ref Utf8JsonReader r bool explode = false; IReadOnlyList? decorators = null; IReadOnlyList? methodParameterSegments = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { @@ -84,7 +85,8 @@ internal static InputQueryParameter ReadInputQueryParameter(ref Utf8JsonReader r || reader.TryReadString("arraySerializationDelimiter", ref arraySerializationDelimiter) || reader.TryReadBoolean("explode", ref explode) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments); + || reader.TryReadComplexType("methodParameterSegments", options, ref methodParameterSegments) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -108,6 +110,7 @@ internal static InputQueryParameter ReadInputQueryParameter(ref Utf8JsonReader r parameter.Scope = InputParameter.ParseScope(type, name, scope); parameter.ArraySerializationDelimiter = arraySerializationDelimiter; parameter.MethodParameterSegments = methodParameterSegments; + parameter.IsExactName = isExactName; return parameter; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputUnionTypeConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputUnionTypeConverter.cs index 23c8cb8b31a..55e95f9f06f 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputUnionTypeConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputUnionTypeConverter.cs @@ -38,12 +38,14 @@ public static InputUnionType CreateInputUnionType(ref Utf8JsonReader reader, str IReadOnlyList? variantTypes = null; IReadOnlyList? decorators = null; InputExternalTypeMetadata? external = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { var isKnownProperty = reader.TryReadString("name", ref name) || reader.TryReadComplexType("variantTypes", options, ref variantTypes) || reader.TryReadComplexType("decorators", options, ref decorators) - || reader.TryReadComplexType("external", options, ref external); + || reader.TryReadComplexType("external", options, ref external) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -59,6 +61,7 @@ public static InputUnionType CreateInputUnionType(ref Utf8JsonReader reader, str union.VariantTypes = variantTypes; union.Decorators = decorators ?? []; union.External = external; + union.IsExactName = isExactName; return union; } } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/EnumProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/EnumProvider.cs index 027fa93e408..f15a2741167 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/EnumProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/EnumProvider.cs @@ -51,7 +51,7 @@ protected EnumProvider(InputEnumType? input) protected override string BuildRelativeFilePath() => Path.Combine("src", "Generated", "Models", $"{Name}.cs"); - protected override string BuildName() => _inputType!.Name.ToIdentifierName(); + protected override string BuildName() => _inputType!.IsExactName ? _inputType.Name : _inputType.Name.ToIdentifierName(); protected override FormattableString BuildDescription() => DocHelpers.GetFormattableDescription(_inputType!.Summary, _inputType.Doc) ?? FormattableStringHelpers.Empty; protected override TypeProvider[] BuildSerializationProviders() diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ModelProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ModelProvider.cs index d763e6c14c9..e4cecc2bc40 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ModelProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ModelProvider.cs @@ -254,7 +254,7 @@ protected override TypeProvider[] BuildSerializationProviders() protected override string BuildRelativeFilePath() => Path.Combine("src", "Generated", "Models", $"{Name}.cs"); - protected override string BuildName() => _inputModel.Name.ToIdentifierName(); + protected override string BuildName() => _inputModel.IsExactName ? _inputModel.Name : _inputModel.Name.ToIdentifierName(); protected override TypeSignatureModifiers BuildDeclarationModifiers() { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/PropertyProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/PropertyProvider.cs index a7cd7e1a6cc..a6cbd9e3a74 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/PropertyProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/PropertyProvider.cs @@ -101,7 +101,7 @@ private PropertyProvider(InputProperty inputProperty, CSharpType propertyType, T IsDiscriminator = IsDiscriminatorProperty(inputProperty); var hasOutputUsage = inputProperty.EnclosingType?.Usage.HasFlag(InputModelTypeUsage.Output) ?? false; Modifiers = IsDiscriminator || (!hasOutputUsage && _isRequiredNonNullableConstant) ? MethodSignatureModifiers.Internal : MethodSignatureModifiers.Public; - var identifierName = inputProperty.Name.ToIdentifierName(); + var identifierName = inputProperty.IsExactName ? inputProperty.Name : inputProperty.Name.ToIdentifierName(); Name = identifierName == enclosingType.Name ? $"{identifierName}Property" : identifierName; diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/PropertyProviderTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/PropertyProviderTests.cs index cb95a6cb497..ac8972bc820 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/PropertyProviderTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/PropertyProviderTests.cs @@ -79,6 +79,30 @@ public void TestKebabCaseProperty() Assert.AreEqual("Description for kebab-case", property.Description!.ToString()); } + [Test] + public void TestExactNamePropertySkipsCasingTransformation() + { + // When isExactName is true, the property name should be used as-is without casing transformations. + InputModelProperty inputModelProperty = InputFactory.Property("snake_case", InputPrimitiveType.String, wireName: "snake_case", isRequired: true, isExactName: true); + InputFactory.Model("TestModel", properties: [inputModelProperty]); + + var property = new PropertyProvider(inputModelProperty, new TestTypeProvider()); + + Assert.AreEqual("snake_case", property.Name); + Assert.AreEqual("snake_case", property.WireInfo?.SerializedName); + } + + [Test] + public void TestExactNameModelSkipsCasingTransformation() + { + // When isExactName is true on a model, the model name should be used as-is. + var inputModel = InputFactory.Model("my_model", isExactName: true); + + var modelProvider = new ModelProvider(inputModel); + + Assert.AreEqual("my_model", modelProvider.Name); + } + [TestCaseSource(nameof(CollectionPropertyTestCases))] public void CollectionProperty(CSharpType coreType, InputModelProperty collectionProperty, CSharpType expectedType) { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs index 2881aceeaa6..4cd24422f52 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs @@ -279,7 +279,8 @@ public static InputModelProperty Property( string? serializedName = null, string? doc = null, InputSerializationOptions? serializationOptions = null, - ArrayKnownEncoding? encode = null) + ArrayKnownEncoding? encode = null, + bool isExactName = false) { serializationOptions ??= new InputSerializationOptions(); return new InputModelProperty( @@ -296,7 +297,10 @@ public static InputModelProperty Property( isDiscriminator: isDiscriminator, serializedName: serializedName ?? wireName ?? name.ToVariableName(), serializationOptions: serializationOptions, - encode: encode); + encode: encode) + { + IsExactName = isExactName, + }; } public static InputHeaderParameter HeaderParameter( @@ -509,7 +513,8 @@ public static InputModelType Model( InputModelProperty? discriminatorProperty = null, bool isDynamicModel = false, InputExternalTypeMetadata? external = null, - InputSerializationOptions? serializationOptions = null) + InputSerializationOptions? serializationOptions = null, + bool isExactName = false) { IEnumerable propertiesList = properties ?? [Property("StringProperty", InputPrimitiveType.String)]; @@ -534,7 +539,10 @@ discriminatedModels is null additionalProperties, modelAsStruct, serializationOptions ?? new(), - isDynamicModel); + isDynamicModel) + { + IsExactName = isExactName, + }; if (baseModel is not null) { _addDerivedModelMethod.Invoke(baseModel, new object[] { model }); From 43ccb465c25526d1cdd7131a035c1b85a63a7d79 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 17:18:21 +0000 Subject: [PATCH 03/15] Add exact-name tests for all targets + custom-code priority Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/d49e2964-d8d7-4d25-a10c-3ed3b2380518 Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../emitter/test/Unit/model-type.test.ts | 141 ++++++++++++++++++ .../src/Providers/CanonicalTypeProvider.cs | 2 +- .../ModelProviders/ModelCustomizationTests.cs | 39 +++++ .../MockInputModel.cs | 14 ++ 4 files changed, 195 insertions(+), 1 deletion(-) create mode 100644 packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs diff --git a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts index d2aa49b4a5e..d037f0a142d 100644 --- a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts @@ -1169,4 +1169,145 @@ describe("Test isExactName propagation", () => { ok(nameProp); strictEqual(nameProp.isExactName, false); }); + + it("propagates isExactName from @clientName decorator with exact() on enum", async () => { + const program = await typeSpecCompile( + ` + @clientName(Azure.ClientGenerator.Core.exact("my_exact_enum"), "csharp") + enum Color { + Red, + Green, + Blue, + } + + op test(@body input: Color): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const colorEnum = root.enums.find((e) => e.name === "my_exact_enum"); + ok(colorEnum); + strictEqual(colorEnum.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on union", async () => { + const program = await typeSpecCompile( + ` + @clientName(Azure.ClientGenerator.Core.exact("my_exact_union"), "csharp") + union Color { + string, + "red", + "green", + } + + op test(@body input: Color): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const colorEnum = root.enums.find((e) => e.name === "my_exact_union"); + ok(colorEnum); + strictEqual(colorEnum.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a method parameter", async () => { + const program = await typeSpecCompile( + ` + op test(@clientName(Azure.ClientGenerator.Core.exact("snake_case_param"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const methodParams = root.clients[0].methods[0].parameters; + const param = methodParams.find((p) => p.name === "snake_case_param"); + ok(param); + strictEqual(param.kind, "method"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a query parameter", async () => { + const program = await typeSpecCompile( + ` + op test(@query @clientName(Azure.ClientGenerator.Core.exact("snake_case_query"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const params = root.clients[0].methods[0].operation.parameters; + const param = params.find((p) => p.name === "snake_case_query"); + ok(param); + strictEqual(param.kind, "query"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a header parameter", async () => { + const program = await typeSpecCompile( + ` + op test(@header @clientName(Azure.ClientGenerator.Core.exact("snake_case_header"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const params = root.clients[0].methods[0].operation.parameters; + const param = params.find((p) => p.name === "snake_case_header"); + ok(param); + strictEqual(param.kind, "header"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a path parameter", async () => { + const program = await typeSpecCompile( + ` + @route("/{regularName}") + op test(@path @clientName(Azure.ClientGenerator.Core.exact("snake_case_path"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const params = root.clients[0].methods[0].operation.parameters; + const param = params.find((p) => p.name === "snake_case_path"); + ok(param); + strictEqual(param.kind, "path"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a body parameter", async () => { + const program = await typeSpecCompile( + ` + model Book { + name: string; + } + op test(@body @clientName(Azure.ClientGenerator.Core.exact("snake_case_body"), "csharp") regularName: Book): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const bodyParam = root.clients[0].methods[0].operation.parameters.find( + (p) => p.name === "snake_case_body", + ); + ok(bodyParam); + strictEqual(bodyParam.kind, "body"); + strictEqual(bodyParam.isExactName, true); + }); }); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/CanonicalTypeProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/CanonicalTypeProvider.cs index df3ec03a1b4..b2c2915f915 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/CanonicalTypeProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/CanonicalTypeProvider.cs @@ -29,7 +29,7 @@ public CanonicalTypeProvider(TypeProvider generatedTypeProvider, InputType? inpu _generatedTypeProvider = generatedTypeProvider; var inputModel = inputType as InputModelType; _specProperties = inputModel?.Properties ?? []; - _specPropertiesMap = _specProperties.ToDictionary(p => p.Name.ToIdentifierName(), p => p); + _specPropertiesMap = _specProperties.ToDictionary(p => p.IsExactName ? p.Name : p.Name.ToIdentifierName(), p => p); _serializedNameMap = BuildSerializationNameMap(); _renamedProperties = (_generatedTypeProvider.CustomCodeView?.Properties ?? []) .Where(p => p.OriginalName != null).Select(p => p.OriginalName!).ToHashSet(); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs index 7a98d5fbf4a..4c393e06a9d 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs @@ -114,6 +114,45 @@ public async Task CanChangePropertyNameAndRedefineOriginal() Assert.AreEqual(0, modelTypeProvider.Properties.Count); } + [Test] + public async Task CustomCodeWinsOverIsExactName() + { + // A spec property marked with IsExactName has its exact-cased name preserved. + // If custom code renames that property via [CodeGenMember], the custom code + // rename should still win — the generated property is filtered out and the + // custom property's name is used. + var props = new[] + { + InputFactory.Property("snake_case_name", InputPrimitiveType.String, wireName: "snake_case_name", isExactName: true), + }; + + var inputModel = InputFactory.Model("mockInputModel", properties: props); + + var mockGenerator = await MockHelpers.LoadMockGeneratorAsync( + inputModelTypes: new[] { inputModel }, + compilation: async () => await Helpers.GetCompilationFromDirectoryAsync()); + + var modelTypeProvider = mockGenerator.Object.OutputLibrary.TypeProviders.Single(t => t.Name == "MockInputModel"); + + AssertCommon(modelTypeProvider, "Sample.Models", "MockInputModel"); + + // the property should be added to the custom code view with its custom name + Assert.AreEqual(1, modelTypeProvider.CustomCodeView!.Properties.Count); + Assert.AreEqual("CustomRenamedProp", modelTypeProvider.CustomCodeView.Properties[0].Name); + + // serialized name from the spec must be preserved on the custom property + var wireInfo = modelTypeProvider.CustomCodeView.Properties[0].WireInfo; + Assert.IsNotNull(wireInfo); + Assert.AreEqual("snake_case_name", wireInfo!.SerializedName); + + // the generated property should be filtered out + Assert.AreEqual(0, modelTypeProvider.Properties.Count); + + // canonical view should expose only the custom rename + Assert.AreEqual(1, modelTypeProvider.CanonicalView!.Properties.Count); + Assert.AreEqual("CustomRenamedProp", modelTypeProvider.CanonicalView.Properties[0].Name); + } + [Test] public async Task CanChangePropertyType() { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs new file mode 100644 index 00000000000..4ea1d41171d --- /dev/null +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs @@ -0,0 +1,14 @@ +#nullable disable + +using Sample; +using SampleTypeSpec; +using Microsoft.TypeSpec.Generator.Customizations; + +namespace Sample.Models +{ + public partial class MockInputModel + { + [CodeGenMember("snake_case_name")] + public string CustomRenamedProp { get; set; } + } +} From a846ba921b5f328c7dfe0b36e05ccb0660f2f632 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 17:33:05 +0000 Subject: [PATCH 04/15] Regenerate test libraries after IsExactName plumbing Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/e393b22c-6092-402e-b27d-2042b1f51026 Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../Local/Sample-TypeSpec/tspCodeModel.json | 1391 +++++++++++------ .../authentication/api-key/tspCodeModel.json | 7 +- .../http/custom/tspCodeModel.json | 7 +- .../authentication/oauth2/tspCodeModel.json | 7 +- .../authentication/union/tspCodeModel.json | 3 +- .../client-operation-group/tspCodeModel.json | 33 +- .../structure/default/tspCodeModel.json | 45 +- .../structure/multi-client/tspCodeModel.json | 15 +- .../renamed-operation/tspCodeModel.json | 15 +- .../two-operation-group/tspCodeModel.json | 21 +- .../http/documentation/tspCodeModel.json | 35 +- .../http/encode/array/tspCodeModel.json | 348 +++-- .../http/encode/bytes/tspCodeModel.json | 322 ++-- .../http/encode/datetime/tspCodeModel.json | 215 ++- .../http/encode/duration/tspCodeModel.json | 572 ++++--- .../http/encode/numeric/tspCodeModel.json | 90 +- .../http/parameters/basic/tspCodeModel.json | 47 +- .../body-optionality/tspCodeModel.json | 70 +- .../collection-format/tspCodeModel.json | 39 +- .../http/parameters/path/tspCodeModel.json | 15 +- .../http/parameters/query/tspCodeModel.json | 18 +- .../http/parameters/spread/tspCodeModel.json | 280 ++-- .../content-negotiation/tspCodeModel.json | 79 +- .../http/payload/head/tspCodeModel.json | 3 +- .../json-merge-patch/tspCodeModel.json | 135 +- .../http/payload/media-type/tspCodeModel.json | 66 +- .../http/payload/multipart/tspCodeModel.json | 479 ++++-- .../http/payload/pageable/tspCodeModel.json | 413 +++-- .../http/payload/xml/tspCodeModel.json | 1012 ++++++++---- .../srv-driven/v1/tspCodeModel.json | 24 +- .../srv-driven/v2/tspCodeModel.json | 42 +- .../status-code-range/tspCodeModel.json | 25 +- .../Spector/http/routes/tspCodeModel.json | 333 ++-- .../encoded-name/json/tspCodeModel.json | 34 +- .../endpoint/not-defined/tspCodeModel.json | 3 +- .../server/path/multiple/tspCodeModel.json | 15 +- .../http/server/path/single/tspCodeModel.json | 3 +- .../versions/not-versioned/tspCodeModel.json | 15 +- .../versions/versioned/tspCodeModel.json | 18 +- .../multiple-services/tspCodeModel.json | 48 +- .../conditional-request/tspCodeModel.json | 27 +- .../repeatability/tspCodeModel.json | 18 +- .../http/special-words/tspCodeModel.json | 988 ++++++++---- .../Spector/http/type/array/tspCodeModel.json | 388 +++-- .../http/type/dictionary/tspCodeModel.json | 307 ++-- .../type/enum/extensible/tspCodeModel.json | 69 +- .../http/type/enum/fixed/tspCodeModel.json | 57 +- .../http/type/model/empty/tspCodeModel.json | 54 +- .../enum-discriminator/tspCodeModel.json | 115 +- .../nested-discriminator/tspCodeModel.json | 116 +- .../not-discriminated/tspCodeModel.json | 63 +- .../inheritance/recursive/tspCodeModel.json | 35 +- .../single-discriminator/tspCodeModel.json | 136 +- .../http/type/model/usage/tspCodeModel.json | 63 +- .../type/model/visibility/tspCodeModel.json | 158 +- .../additional-properties/tspCodeModel.json | 1054 +++++++++---- .../type/property/nullable/tspCodeModel.json | 455 ++++-- .../property/optionality/tspCodeModel.json | 907 +++++++---- .../property/value-types/tspCodeModel.json | 933 +++++++---- .../http/type/scalar/tspCodeModel.json | 231 ++- .../Spector/http/type/union/tspCodeModel.json | 455 ++++-- .../versioning/added/v1/tspCodeModel.json | 43 +- .../versioning/added/v2/tspCodeModel.json | 125 +- .../madeOptional/v1/tspCodeModel.json | 46 +- .../madeOptional/v2/tspCodeModel.json | 46 +- .../versioning/removed/v1/tspCodeModel.json | 162 +- .../versioning/removed/v2/tspCodeModel.json | 83 +- .../removed/v2Preview/tspCodeModel.json | 156 +- .../renamedFrom/v1/tspCodeModel.json | 85 +- .../renamedFrom/v2/tspCodeModel.json | 85 +- .../v1/tspCodeModel.json | 39 +- .../v2/tspCodeModel.json | 39 +- .../typeChangedFrom/v1/tspCodeModel.json | 46 +- .../typeChangedFrom/v2/tspCodeModel.json | 46 +- 74 files changed, 9436 insertions(+), 4536 deletions(-) diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json index 70c5753ed1e..09bd6024b60 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json @@ -41,7 +41,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Spread,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -79,7 +80,8 @@ "isFixed": false, "isFlags": false, "usage": "None", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -117,7 +119,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Spread,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -155,7 +158,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Spread,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -215,7 +219,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json,Xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "22", @@ -275,7 +280,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json,Xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -335,7 +341,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json,Xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "32", @@ -395,7 +402,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -455,7 +463,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "42", @@ -515,7 +524,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -575,7 +585,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "52", @@ -635,7 +646,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json,Xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "57", @@ -746,7 +758,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "66", @@ -792,7 +805,8 @@ "isFixed": true, "isFlags": false, "usage": "ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -810,7 +824,8 @@ "decorators": [] }, "value": "accept", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "72", @@ -826,7 +841,8 @@ "decorators": [] }, "value": 123, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "74", @@ -842,7 +858,8 @@ "decorators": [] }, "value": 1.23, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "76", @@ -858,7 +875,8 @@ "decorators": [] }, "value": false, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "78", @@ -874,7 +892,8 @@ "decorators": [] }, "value": true, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "80", @@ -890,7 +909,8 @@ "decorators": [] }, "value": "pet", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "82", @@ -906,7 +926,8 @@ "decorators": [] }, "value": "dog", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "84", @@ -922,7 +943,8 @@ "decorators": [] }, "value": "tree", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "86", @@ -938,7 +960,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "88", @@ -954,7 +977,8 @@ "decorators": [] }, "value": "text/plain", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "90", @@ -970,7 +994,8 @@ "decorators": [] }, "value": "text/plain", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "92", @@ -986,7 +1011,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "94", @@ -1002,7 +1028,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "96", @@ -1018,7 +1045,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "98", @@ -1034,7 +1062,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "100", @@ -1050,7 +1079,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "102", @@ -1066,7 +1096,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "104", @@ -1082,7 +1113,8 @@ "decorators": [] }, "value": "test", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "106", @@ -1098,7 +1130,8 @@ "decorators": [] }, "value": "test", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "108", @@ -1114,7 +1147,8 @@ "decorators": [] }, "value": 123, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "110", @@ -1130,7 +1164,8 @@ "decorators": [] }, "value": 123, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "112", @@ -1146,7 +1181,8 @@ "decorators": [] }, "value": true, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "114", @@ -1162,7 +1198,8 @@ "decorators": [] }, "value": true, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "116", @@ -1178,7 +1215,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "118", @@ -1194,7 +1232,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "120", @@ -1210,7 +1249,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "122", @@ -1226,7 +1266,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "124", @@ -1242,7 +1283,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "126", @@ -1258,7 +1300,8 @@ "decorators": [] }, "value": "someRequiredLiteralQueryParam", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "128", @@ -1274,7 +1317,8 @@ "decorators": [] }, "value": "someRequiredLiteralQueryParam", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "130", @@ -1290,7 +1334,8 @@ "decorators": [] }, "value": "someRequiredLiteralHeader", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "132", @@ -1306,7 +1351,8 @@ "decorators": [] }, "value": "someRequiredLiteralHeader", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "134", @@ -1322,7 +1368,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "136", @@ -1338,7 +1385,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "138", @@ -1354,7 +1402,8 @@ "decorators": [] }, "value": "accept", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "140", @@ -1370,7 +1419,8 @@ "decorators": [] }, "value": 123, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "142", @@ -1386,7 +1436,8 @@ "decorators": [] }, "value": 1.23, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "144", @@ -1402,7 +1453,8 @@ "decorators": [] }, "value": false, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "146", @@ -1418,7 +1470,8 @@ "decorators": [] }, "value": true, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "148", @@ -1434,7 +1487,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "150", @@ -1450,7 +1504,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "152", @@ -1466,7 +1521,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "154", @@ -1482,7 +1538,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "156", @@ -1498,7 +1555,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "158", @@ -1514,7 +1572,8 @@ "decorators": [] }, "value": "text/plain", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "160", @@ -1530,7 +1589,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "162", @@ -1546,7 +1606,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "164", @@ -1562,7 +1623,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "166", @@ -1578,7 +1640,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "168", @@ -1594,7 +1657,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "170", @@ -1610,7 +1674,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "172", @@ -1626,7 +1691,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "174", @@ -1642,7 +1708,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "176", @@ -1658,7 +1725,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "178", @@ -1674,7 +1742,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "180", @@ -1690,7 +1759,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "182", @@ -1706,7 +1776,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "184", @@ -1722,7 +1793,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "186", @@ -1738,7 +1810,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "188", @@ -1754,7 +1827,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "190", @@ -1770,7 +1844,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "192", @@ -1786,7 +1861,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "194", @@ -1802,7 +1878,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "196", @@ -1818,7 +1895,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "198", @@ -1834,7 +1912,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "200", @@ -1850,7 +1929,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "202", @@ -1866,7 +1946,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "204", @@ -1882,7 +1963,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "206", @@ -1898,7 +1980,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "208", @@ -1914,7 +1997,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "210", @@ -1930,7 +2014,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "212", @@ -1946,7 +2031,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "214", @@ -1962,7 +2048,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "216", @@ -1978,7 +2065,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "218", @@ -1994,7 +2082,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "220", @@ -2010,7 +2099,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "222", @@ -2026,7 +2116,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "224", @@ -2042,7 +2133,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "226", @@ -2058,7 +2150,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "228", @@ -2074,7 +2167,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "230", @@ -2090,7 +2184,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "232", @@ -2106,7 +2201,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "234", @@ -2122,7 +2218,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "236", @@ -2138,7 +2235,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -2156,6 +2254,7 @@ "name": "Thing" } }, + "isExactName": false, "properties": [ { "$id": "239", @@ -2181,7 +2280,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "241", @@ -2224,7 +2324,8 @@ } ], "namespace": "SampleTypeSpec", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -2237,7 +2338,8 @@ "name": "requiredUnion" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "247", @@ -2259,7 +2361,8 @@ "name": "requiredLiteralString" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "248", @@ -2290,7 +2393,8 @@ "name": "requiredNullableString" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "251", @@ -2321,7 +2425,8 @@ "name": "optionalNullableString" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "254", @@ -2343,7 +2448,8 @@ "name": "requiredLiteralInt" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "255", @@ -2365,7 +2471,8 @@ "name": "requiredLiteralFloat" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "256", @@ -2387,7 +2494,8 @@ "name": "requiredLiteralBool" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "257", @@ -2409,7 +2517,8 @@ "name": "optionalLiteralString" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "258", @@ -2436,7 +2545,8 @@ "name": "requiredNullableLiteralString" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "260", @@ -2458,7 +2568,8 @@ "name": "optionalLiteralInt" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "261", @@ -2480,7 +2591,8 @@ "name": "optionalLiteralFloat" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "262", @@ -2502,7 +2614,8 @@ "name": "optionalLiteralBool" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "263", @@ -2528,7 +2641,8 @@ "name": "requiredBadDescription" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "265", @@ -2566,7 +2680,8 @@ "name": "optionalNullableList" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "269", @@ -2593,7 +2708,8 @@ "name": "requiredNullableList" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "271", @@ -2619,7 +2735,8 @@ "name": "propertyWithSpecialDocs" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2637,6 +2754,7 @@ "name": "RoundTripModel" } }, + "isExactName": false, "properties": [ { "$id": "274", @@ -2662,7 +2780,8 @@ "name": "requiredString" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "276", @@ -2689,7 +2808,8 @@ "name": "requiredInt" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "278", @@ -2718,7 +2838,8 @@ "name": "requiredCollection" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "280", @@ -2752,7 +2873,8 @@ "name": "requiredDictionary" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "283", @@ -2774,7 +2896,8 @@ "name": "requiredModel" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "284", @@ -2796,7 +2919,8 @@ "name": "intExtensibleEnum" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "285", @@ -2825,7 +2949,8 @@ "name": "intExtensibleEnumCollection" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "287", @@ -2847,7 +2972,8 @@ "name": "floatExtensibleEnum" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "288", @@ -2869,7 +2995,8 @@ "name": "floatExtensibleEnumWithIntValue" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "289", @@ -2898,7 +3025,8 @@ "name": "floatExtensibleEnumCollection" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "291", @@ -2920,7 +3048,8 @@ "name": "floatFixedEnum" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "292", @@ -2942,7 +3071,8 @@ "name": "floatFixedEnumWithIntValue" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "293", @@ -2971,7 +3101,8 @@ "name": "floatFixedEnumCollection" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "295", @@ -2993,7 +3124,8 @@ "name": "intFixedEnum" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "296", @@ -3022,7 +3154,8 @@ "name": "intFixedEnumCollection" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "298", @@ -3044,7 +3177,8 @@ "name": "stringFixedEnum" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "299", @@ -3070,7 +3204,8 @@ "name": "requiredUnknown" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "301", @@ -3096,7 +3231,8 @@ "name": "optionalUnknown" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "303", @@ -3134,7 +3270,8 @@ "name": "requiredRecordUnknown" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "307", @@ -3156,7 +3293,8 @@ "name": "optionalRecordUnknown" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "308", @@ -3178,7 +3316,8 @@ "name": "readOnlyRequiredRecordUnknown" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "309", @@ -3200,7 +3339,8 @@ "name": "readOnlyOptionalRecordUnknown" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "310", @@ -3222,6 +3362,7 @@ "name": "ModelWithRequiredNullableProperties" } }, + "isExactName": false, "properties": [ { "$id": "312", @@ -3252,7 +3393,8 @@ "name": "requiredNullablePrimitive" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "315", @@ -3279,7 +3421,8 @@ "name": "requiredExtensibleEnum" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "317", @@ -3306,7 +3449,8 @@ "name": "requiredFixedEnum" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3321,7 +3465,8 @@ "name": "modelWithRequiredNullable" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "319", @@ -3348,7 +3493,8 @@ "name": "requiredBytes" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3364,6 +3510,7 @@ "usage": "Input", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "322", @@ -3384,7 +3531,8 @@ "decorators": [], "crossLanguageDefinitionId": "SampleTypeSpec.Wrapper.p1", "serializationOptions": {}, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false }, { "$id": "324", @@ -3401,7 +3549,8 @@ "decorators": [], "crossLanguageDefinitionId": "SampleTypeSpec.Wrapper.action", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "325", @@ -3422,7 +3571,8 @@ "decorators": [], "crossLanguageDefinitionId": "SampleTypeSpec.Wrapper.p2", "serializationOptions": {}, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false } ] }, @@ -3440,6 +3590,7 @@ "name": "NotFriend" } }, + "isExactName": false, "properties": [ { "$id": "328", @@ -3465,7 +3616,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3483,6 +3635,7 @@ "name": "ModelWithClientName" } }, + "isExactName": false, "properties": [ { "$id": "331", @@ -3508,7 +3661,8 @@ "name": "otherName" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3525,6 +3679,7 @@ "name": "" } }, + "isExactName": false, "properties": [] }, { @@ -3540,6 +3695,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "335", @@ -3567,7 +3723,8 @@ "name": "things" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "337", @@ -3592,7 +3749,8 @@ "name": "next" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3609,6 +3767,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "340", @@ -3629,7 +3788,8 @@ "name": "things" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "341", @@ -3654,7 +3814,8 @@ "name": "next" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3671,6 +3832,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "344", @@ -3691,7 +3853,8 @@ "name": "things" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "345", @@ -3716,7 +3879,8 @@ "name": "nextToken" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3733,6 +3897,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "348", @@ -3753,7 +3918,8 @@ "name": "things" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3770,6 +3936,7 @@ "name": "Page" } }, + "isExactName": false, "properties": [ { "$id": "350", @@ -3790,7 +3957,8 @@ "name": "items" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3807,6 +3975,7 @@ "name": "ModelWithEmbeddedNonBodyParameters" } }, + "isExactName": false, "properties": [ { "$id": "352", @@ -3832,7 +4001,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "354", @@ -3858,7 +4028,8 @@ "name": "requiredHeader" } }, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false }, { "$id": "356", @@ -3884,7 +4055,8 @@ "name": "optionalHeader" } }, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false }, { "$id": "358", @@ -3910,7 +4082,8 @@ "name": "requiredQuery" } }, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false }, { "$id": "360", @@ -3936,7 +4109,8 @@ "name": "optionalQuery" } }, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false } ] }, @@ -3959,6 +4133,7 @@ "name": "DynamicModel" } }, + "isExactName": false, "properties": [ { "$id": "363", @@ -3983,7 +4158,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "365", @@ -4008,7 +4184,8 @@ "name": "optionalUnknown" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "367", @@ -4033,7 +4210,8 @@ "name": "optionalInt" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "369", @@ -4059,7 +4237,8 @@ "name": "optionalNullableList" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "371", @@ -4085,7 +4264,8 @@ "name": "requiredNullableList" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "373", @@ -4127,7 +4307,8 @@ "name": "optionalNullableDictionary" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "378", @@ -4153,7 +4334,8 @@ "name": "requiredNullableDictionary" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "380", @@ -4174,7 +4356,8 @@ "name": "primitiveDictionary" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "381", @@ -4200,6 +4383,7 @@ "name": "AnotherDynamicModel" } }, + "isExactName": false, "properties": [ { "$id": "383", @@ -4224,7 +4408,8 @@ "name": "bar" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -4239,7 +4424,8 @@ "name": "foo" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "385", @@ -4267,7 +4453,8 @@ "name": "listFoo" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "387", @@ -4295,7 +4482,8 @@ "name": "listOfListFoo" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "389", @@ -4328,7 +4516,8 @@ "name": "dictionaryFoo" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "392", @@ -4361,7 +4550,8 @@ "name": "dictionaryOfDictionaryFoo" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "395", @@ -4394,7 +4584,8 @@ "name": "dictionaryListFoo" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "398", @@ -4422,7 +4613,8 @@ "name": "listOfDictionaryFoo" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -4452,6 +4644,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "401", @@ -4479,7 +4672,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "403", @@ -4507,7 +4701,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "405", @@ -4535,7 +4730,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "407", @@ -4563,7 +4759,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "409", @@ -4591,7 +4788,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "411", @@ -4619,7 +4817,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "413", @@ -4652,7 +4851,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "416", @@ -4685,7 +4885,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "418", @@ -4718,7 +4919,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "420", @@ -4751,7 +4953,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "422", @@ -4786,7 +4989,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "424", @@ -4825,7 +5029,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "426", @@ -4858,7 +5063,8 @@ "unwrapped": true } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "428", @@ -4888,7 +5094,8 @@ "itemsName": "unwrappedStrings" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "429", @@ -4918,7 +5125,8 @@ "itemsName": "unwrappedCounts" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "430", @@ -4953,6 +5161,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "433", @@ -4980,7 +5189,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "435", @@ -5008,7 +5218,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "437", @@ -5041,7 +5252,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -5067,7 +5279,8 @@ "itemsName": "unwrappedItems" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "439", @@ -5092,7 +5305,8 @@ "itemsName": "string" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "440", @@ -5124,7 +5338,8 @@ "itemsName": "Item" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "441", @@ -5148,6 +5363,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "443", @@ -5175,7 +5391,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "445", @@ -5208,7 +5425,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -5225,7 +5443,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "447", @@ -5249,7 +5468,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "448", @@ -5289,7 +5509,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "452", @@ -5325,7 +5546,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "455", @@ -5361,7 +5583,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "458", @@ -5390,7 +5613,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "460", @@ -5414,7 +5638,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "461", @@ -5438,7 +5663,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "462", @@ -5462,7 +5688,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "463", @@ -5486,7 +5713,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "464", @@ -5510,7 +5738,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "465", @@ -5625,7 +5854,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "472", @@ -5676,7 +5906,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "475", @@ -5712,7 +5943,8 @@ "itemsName": "string" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "476", @@ -5747,7 +5979,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "477", @@ -5785,6 +6018,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "480", @@ -5811,7 +6045,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -5836,7 +6071,8 @@ } } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "482", @@ -5865,7 +6101,8 @@ "itemsName": "unwrappedModelsWithNamespaces" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "483", @@ -5896,7 +6133,8 @@ "itemsName": "Array" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "485", @@ -5931,7 +6169,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "488", @@ -5966,7 +6205,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "491", @@ -6001,7 +6241,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "494", @@ -6032,7 +6273,8 @@ "itemsName": "Record" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -6059,6 +6301,7 @@ "name": "Animal" } }, + "isExactName": false, "discriminatorProperty": { "$id": "497", "kind": "property", @@ -6083,7 +6326,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -6113,7 +6357,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -6132,6 +6377,7 @@ "name": "Pet" } }, + "isExactName": false, "discriminatorProperty": { "$id": "502", "kind": "property", @@ -6151,7 +6397,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "baseModel": { "$ref": "496" @@ -6184,7 +6431,8 @@ "name": "trained" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -6203,6 +6451,7 @@ "name": "Dog" } }, + "isExactName": false, "baseModel": { "$ref": "501" }, @@ -6226,7 +6475,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "507", @@ -6252,7 +6502,8 @@ "name": "breed" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -6289,6 +6540,7 @@ "name": "Tree" } }, + "isExactName": false, "baseModel": { "$id": "510", "kind": "model", @@ -6308,6 +6560,7 @@ "name": "Plant" } }, + "isExactName": false, "discriminatorProperty": { "$id": "511", "kind": "property", @@ -6337,7 +6590,8 @@ "name": "species" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -6372,7 +6626,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "515", @@ -6403,7 +6658,8 @@ "name": "height" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -6437,7 +6693,8 @@ "name": "species" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "518", @@ -6468,7 +6725,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -6488,6 +6746,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "521", @@ -6512,7 +6771,8 @@ "name": "numSold" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "523", @@ -6537,7 +6797,8 @@ "name": "averagePrice" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -6554,6 +6815,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "526", @@ -6578,7 +6840,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "528", @@ -6603,7 +6866,8 @@ "name": "content" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -6672,9 +6936,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.headParameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "537", @@ -6715,9 +6981,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.queryParameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "541", @@ -6758,9 +7026,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.optionalQuery", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "545", @@ -6793,9 +7063,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6903,9 +7175,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.p1", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "553", @@ -6938,9 +7212,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "555", @@ -6984,9 +7260,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.p2", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "559", @@ -7019,9 +7297,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "561", @@ -7057,9 +7337,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.action", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7169,7 +7451,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec..anonymous.info", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "568", @@ -7187,9 +7470,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Wrapper.p1", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "569", @@ -7233,9 +7518,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Wrapper.p2", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "572", @@ -7270,9 +7557,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "574", @@ -7305,9 +7594,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "576", @@ -7347,9 +7638,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Wrapper.action", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7449,9 +7742,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloDemo2.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7544,9 +7839,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "586", @@ -7579,9 +7876,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "588", @@ -7617,9 +7916,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7719,9 +8020,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.p1", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "594", @@ -7757,9 +8060,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.p2", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "596", @@ -7792,9 +8097,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.p3", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "598", @@ -7827,9 +8134,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7956,9 +8265,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction.action", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "608", @@ -7991,9 +8302,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8087,9 +8400,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction2.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8182,9 +8497,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "618", @@ -8217,9 +8534,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "620", @@ -8255,9 +8574,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8357,9 +8678,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredQueryParam", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "626", @@ -8392,9 +8715,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredHeader", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "628", @@ -8429,9 +8754,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "630", @@ -8464,9 +8791,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "632", @@ -8507,9 +8836,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8560,7 +8891,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredUnion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "636", @@ -8578,7 +8910,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredLiteralString", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "637", @@ -8596,7 +8929,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredNullableString", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "638", @@ -8614,7 +8948,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.optionalNullableString", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "639", @@ -8632,7 +8967,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredLiteralInt", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "640", @@ -8650,7 +8986,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredLiteralFloat", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "641", @@ -8668,7 +9005,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredLiteralBool", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "642", @@ -8712,7 +9050,8 @@ "isFixed": false, "isFlags": false, "usage": "None", - "decorators": [] + "decorators": [], + "isExactName": false }, "location": "Body", "isApiVersion": false, @@ -8721,7 +9060,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.optionalLiteralString", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "647", @@ -8739,7 +9079,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredNullableLiteralString", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "648", @@ -8783,7 +9124,8 @@ "isFixed": false, "isFlags": false, "usage": "None", - "decorators": [] + "decorators": [], + "isExactName": false }, "location": "Body", "isApiVersion": false, @@ -8792,7 +9134,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.optionalLiteralInt", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "653", @@ -8836,7 +9179,8 @@ "isFixed": false, "isFlags": false, "usage": "None", - "decorators": [] + "decorators": [], + "isExactName": false }, "location": "Body", "isApiVersion": false, @@ -8845,7 +9189,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.optionalLiteralFloat", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "658", @@ -8863,7 +9208,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.optionalLiteralBool", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "659", @@ -8885,7 +9231,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredBadDescription", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "661", @@ -8903,7 +9250,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.optionalNullableList", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "662", @@ -8921,7 +9269,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredNullableList", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "663", @@ -8943,7 +9292,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.propertyWithSpecialDocs", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$ref": "625" @@ -9018,9 +9368,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "669", @@ -9053,9 +9405,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "671", @@ -9096,9 +9450,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9220,9 +9576,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.addTimeHeader.repeatabilityFirstSent", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9305,9 +9663,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "686", @@ -9340,9 +9700,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "688", @@ -9383,9 +9745,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.otherName", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9485,9 +9849,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.returnsAnonymousModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9578,9 +9944,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9673,9 +10041,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "703", @@ -9708,9 +10078,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "705", @@ -9746,9 +10118,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9902,9 +10276,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.headAsBoolean.id", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9993,9 +10369,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion.p1", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "721", @@ -10054,9 +10432,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10137,9 +10517,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithNextLink.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10245,9 +10627,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithStringNextLink.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10361,9 +10745,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationToken.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "741", @@ -10396,9 +10782,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationToken.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10518,9 +10906,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationTokenHeaderResponse.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "749", @@ -10553,9 +10943,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationTokenHeaderResponse.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10679,9 +11071,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithPaging.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10786,7 +11180,8 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "761", @@ -10804,9 +11199,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.requiredHeader", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "762", @@ -10848,9 +11245,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.optionalHeader", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "765", @@ -10892,9 +11291,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.requiredQuery", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "768", @@ -10936,9 +11337,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.optionalQuery", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "771", @@ -10973,9 +11376,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "773", @@ -10999,7 +11404,8 @@ { "$ref": "760" } - ] + ], + "isExactName": false } ], "responses": [ @@ -11088,9 +11494,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "778", @@ -11126,9 +11534,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11215,9 +11625,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.GetXmlAdvancedModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11316,9 +11728,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "788", @@ -11351,9 +11765,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "790", @@ -11389,9 +11805,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11471,7 +11889,8 @@ "serverUrlTemplate": "{sampleTypeSpecUrl}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SampleTypeSpec.sampleTypeSpecUrl" + "crossLanguageDefinitionId": "SampleTypeSpec.sampleTypeSpecUrl", + "isExactName": false }, { "$ref": "724" @@ -11541,9 +11960,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "799", @@ -11576,9 +11997,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "801", @@ -11614,9 +12037,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.animal", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11718,9 +12143,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "807", @@ -11753,9 +12180,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "809", @@ -11791,9 +12220,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.animal", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11865,7 +12296,8 @@ "serverUrlTemplate": "{sampleTypeSpecUrl}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.sampleTypeSpecUrl" + "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.sampleTypeSpecUrl", + "isExactName": false } ], "initializedBy": 0, @@ -11936,9 +12368,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "818", @@ -11971,9 +12405,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "820", @@ -12009,9 +12445,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.pet", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12113,9 +12551,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "826", @@ -12148,9 +12588,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "828", @@ -12186,9 +12628,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.pet", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12260,7 +12704,8 @@ "serverUrlTemplate": "{sampleTypeSpecUrl}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.sampleTypeSpecUrl" + "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.sampleTypeSpecUrl", + "isExactName": false } ], "initializedBy": 0, @@ -12331,9 +12776,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "837", @@ -12366,9 +12813,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "839", @@ -12404,9 +12853,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.dog", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12478,7 +12929,8 @@ "serverUrlTemplate": "{sampleTypeSpecUrl}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.sampleTypeSpecUrl" + "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.sampleTypeSpecUrl", + "isExactName": false } ], "initializedBy": 0, @@ -12547,9 +12999,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTree.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12648,9 +13102,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTreeAsJson.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12749,9 +13205,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "856", @@ -12784,9 +13242,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "858", @@ -12822,9 +13282,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.tree", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12932,9 +13394,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "864", @@ -12967,9 +13431,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "866", @@ -13005,9 +13471,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.tree", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -13087,7 +13555,8 @@ "serverUrlTemplate": "{sampleTypeSpecUrl}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.sampleTypeSpecUrl" + "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.sampleTypeSpecUrl", + "isExactName": false } ], "initializedBy": 0, @@ -13167,9 +13636,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.MetricsClientParams.metricsNamespace", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "877", @@ -13205,9 +13676,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.day", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "879", @@ -13240,9 +13713,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -13308,7 +13783,8 @@ "serverUrlTemplate": "{sampleTypeSpecUrl}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.sampleTypeSpecUrl" + "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.sampleTypeSpecUrl", + "isExactName": false }, { "$ref": "875" @@ -13392,9 +13868,11 @@ "readOnly": false, "access": "public", "decorators": [], - "paramAlias": "notebookName" + "paramAlias": "notebookName", + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "890", @@ -13427,9 +13905,11 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.getNotebook.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -13492,7 +13972,8 @@ "serverUrlTemplate": "{sampleTypeSpecUrl}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.sampleTypeSpecUrl" + "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.sampleTypeSpecUrl", + "isExactName": false }, { "$ref": "888" diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json index 6dcf0c35202..96297d55fff 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json @@ -17,6 +17,7 @@ "name": "InvalidAuth" } }, + "isExactName": false, "properties": [ { "$id": "2", @@ -41,7 +42,8 @@ "name": "error" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -164,7 +166,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Authentication.ApiKey.endpoint" + "crossLanguageDefinitionId": "Authentication.ApiKey.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json index aaee9f7681f..74c24ae04cb 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json @@ -17,6 +17,7 @@ "name": "InvalidAuth" } }, + "isExactName": false, "properties": [ { "$id": "2", @@ -41,7 +42,8 @@ "name": "error" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -164,7 +166,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Authentication.Http.Custom.endpoint" + "crossLanguageDefinitionId": "Authentication.Http.Custom.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json index f4ef47b8189..07cf9f16415 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json @@ -17,6 +17,7 @@ "name": "InvalidAuth" } }, + "isExactName": false, "properties": [ { "$id": "2", @@ -41,7 +42,8 @@ "name": "error" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -164,7 +166,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Authentication.OAuth2.endpoint" + "crossLanguageDefinitionId": "Authentication.OAuth2.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json index 67bd167b1d8..88e22af9ecc 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json @@ -122,7 +122,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Authentication.Union.endpoint" + "crossLanguageDefinitionId": "Authentication.Union.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json index b3a51c7a82d..5d4b5d4c691 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json @@ -85,7 +85,8 @@ "isFixed": true, "isFlags": false, "usage": "Input", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -156,7 +157,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.endpoint" + "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.endpoint", + "isExactName": false }, { "$id": "13", @@ -174,7 +176,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.client" + "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.client", + "isExactName": false } ], "initializedBy": 1, @@ -285,7 +288,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group3.endpoint" + "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group3.endpoint", + "isExactName": false }, { "$id": "21", @@ -303,7 +307,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group3.client" + "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group3.client", + "isExactName": false } ], "initializedBy": 0, @@ -380,7 +385,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group4.endpoint" + "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group4.endpoint", + "isExactName": false }, { "$id": "27", @@ -398,7 +404,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group4.client" + "crossLanguageDefinitionId": "Client.Structure.ClientOperationGroup.Group4.client", + "isExactName": false } ], "initializedBy": 0, @@ -478,7 +485,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.endpoint" + "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.endpoint", + "isExactName": false }, { "$id": "33", @@ -496,7 +504,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.client" + "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.client", + "isExactName": false } ], "initializedBy": 1, @@ -569,7 +578,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.Group5.endpoint" + "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.Group5.endpoint", + "isExactName": false }, { "$id": "39", @@ -587,7 +597,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.Group5.client" + "crossLanguageDefinitionId": "Client.Structure.AnotherClientOperationGroup.Group5.client", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json index 426fc3a3869..7e459e1e0fa 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json @@ -85,7 +85,8 @@ "isFixed": true, "isFlags": false, "usage": "Input", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -195,7 +196,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.endpoint" + "crossLanguageDefinitionId": "Client.Structure.Service.endpoint", + "isExactName": false }, { "$id": "15", @@ -213,7 +215,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.client" + "crossLanguageDefinitionId": "Client.Structure.Service.client", + "isExactName": false } ], "initializedBy": 1, @@ -247,7 +250,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Baz.endpoint" + "crossLanguageDefinitionId": "Client.Structure.Service.Baz.endpoint", + "isExactName": false }, { "$id": "19", @@ -265,7 +269,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Baz.client" + "crossLanguageDefinitionId": "Client.Structure.Service.Baz.client", + "isExactName": false } ], "initializedBy": 0, @@ -341,7 +346,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Baz.Foo.endpoint" + "crossLanguageDefinitionId": "Client.Structure.Service.Baz.Foo.endpoint", + "isExactName": false }, { "$id": "25", @@ -359,7 +365,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Baz.Foo.client" + "crossLanguageDefinitionId": "Client.Structure.Service.Baz.Foo.client", + "isExactName": false } ], "initializedBy": 0, @@ -439,7 +446,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Qux.endpoint" + "crossLanguageDefinitionId": "Client.Structure.Service.Qux.endpoint", + "isExactName": false }, { "$id": "31", @@ -457,7 +465,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Qux.client" + "crossLanguageDefinitionId": "Client.Structure.Service.Qux.client", + "isExactName": false } ], "initializedBy": 0, @@ -533,7 +542,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Qux.Bar.endpoint" + "crossLanguageDefinitionId": "Client.Structure.Service.Qux.Bar.endpoint", + "isExactName": false }, { "$id": "37", @@ -551,7 +561,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Qux.Bar.client" + "crossLanguageDefinitionId": "Client.Structure.Service.Qux.Bar.client", + "isExactName": false } ], "initializedBy": 0, @@ -669,7 +680,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Foo.endpoint" + "crossLanguageDefinitionId": "Client.Structure.Service.Foo.endpoint", + "isExactName": false }, { "$id": "45", @@ -687,7 +699,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Foo.client" + "crossLanguageDefinitionId": "Client.Structure.Service.Foo.client", + "isExactName": false } ], "initializedBy": 0, @@ -802,7 +815,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Bar.endpoint" + "crossLanguageDefinitionId": "Client.Structure.Service.Bar.endpoint", + "isExactName": false }, { "$id": "53", @@ -820,7 +834,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.Service.Bar.client" + "crossLanguageDefinitionId": "Client.Structure.Service.Bar.client", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json index 31d58f28ef9..c607b94f17c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json @@ -85,7 +85,8 @@ "isFixed": true, "isFlags": false, "usage": "Input", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -232,7 +233,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientA.endpoint" + "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientA.endpoint", + "isExactName": false }, { "$id": "17", @@ -250,7 +252,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientA.client" + "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientA.client", + "isExactName": false } ], "initializedBy": 1, @@ -400,7 +403,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientB.endpoint" + "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientB.endpoint", + "isExactName": false }, { "$id": "27", @@ -418,7 +422,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientB.client" + "crossLanguageDefinitionId": "Client.Structure.MultiClient.ClientB.client", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json index 135f2d1438a..0e10b981b4f 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json @@ -85,7 +85,8 @@ "isFixed": true, "isFlags": false, "usage": "Input", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -232,7 +233,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.endpoint" + "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.endpoint", + "isExactName": false }, { "$id": "17", @@ -250,7 +252,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.client" + "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.client", + "isExactName": false } ], "initializedBy": 1, @@ -399,7 +402,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.Group.endpoint" + "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.Group.endpoint", + "isExactName": false }, { "$id": "27", @@ -417,7 +421,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.Group.client" + "crossLanguageDefinitionId": "Client.Structure.RenamedOperation.Group.client", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json index 45fe200116c..2ae4f7d2d3e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json @@ -85,7 +85,8 @@ "isFixed": true, "isFlags": false, "usage": "Input", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -117,7 +118,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.endpoint" + "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.endpoint", + "isExactName": false }, { "$id": "11", @@ -135,7 +137,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.client" + "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.client", + "isExactName": false } ], "initializedBy": 1, @@ -284,7 +287,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group1.endpoint" + "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group1.endpoint", + "isExactName": false }, { "$id": "21", @@ -302,7 +306,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group1.client" + "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group1.client", + "isExactName": false } ], "initializedBy": 0, @@ -455,7 +460,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group2.endpoint" + "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group2.endpoint", + "isExactName": false }, { "$id": "31", @@ -473,7 +479,8 @@ "serverUrlTemplate": "{endpoint}/client/structure/{client}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group2.client" + "crossLanguageDefinitionId": "Client.Structure.TwoOperationGroup.Group2.client", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json index 1d44600896b..011b845dfac 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json @@ -63,7 +63,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -81,7 +82,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -98,6 +100,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "9", @@ -118,6 +121,7 @@ "name": "BulletPointsModel" } }, + "isExactName": false, "properties": [ { "$id": "11", @@ -139,7 +143,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -154,7 +159,8 @@ "name": "input" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -199,7 +205,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Documentation.endpoint" + "crossLanguageDefinitionId": "Documentation.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -298,9 +305,11 @@ "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "23", @@ -336,9 +345,11 @@ "crossLanguageDefinitionId": "Documentation.Lists.bulletPointsModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -447,7 +458,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Documentation.Lists.endpoint" + "crossLanguageDefinitionId": "Documentation.Lists.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -615,7 +627,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Documentation.TextFormatting.endpoint" + "crossLanguageDefinitionId": "Documentation.TextFormatting.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json index c202436ae29..2c7ad83266e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json @@ -59,7 +59,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -118,7 +119,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -136,7 +138,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -152,7 +155,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -168,7 +172,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -184,7 +189,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -200,7 +206,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -216,7 +223,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -232,7 +240,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -248,7 +257,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -264,7 +274,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -280,7 +291,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -296,7 +308,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -312,7 +325,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -328,7 +342,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -344,7 +359,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -360,7 +376,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -376,7 +393,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -392,7 +410,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -408,7 +427,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -424,7 +444,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -440,7 +461,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -456,7 +478,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "53", @@ -472,7 +495,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -488,7 +512,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "57", @@ -504,7 +529,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -521,6 +547,7 @@ "name": "CommaDelimitedArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "60", @@ -553,7 +580,8 @@ } }, "isHttpMetadata": false, - "encode": "commaDelimited" + "encode": "commaDelimited", + "isExactName": false } ] }, @@ -570,6 +598,7 @@ "name": "SpaceDelimitedArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "64", @@ -591,7 +620,8 @@ } }, "isHttpMetadata": false, - "encode": "spaceDelimited" + "encode": "spaceDelimited", + "isExactName": false } ] }, @@ -608,6 +638,7 @@ "name": "PipeDelimitedArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "66", @@ -629,7 +660,8 @@ } }, "isHttpMetadata": false, - "encode": "pipeDelimited" + "encode": "pipeDelimited", + "isExactName": false } ] }, @@ -646,6 +678,7 @@ "name": "NewlineDelimitedArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "68", @@ -667,7 +700,8 @@ } }, "isHttpMetadata": false, - "encode": "newlineDelimited" + "encode": "newlineDelimited", + "isExactName": false } ] }, @@ -684,6 +718,7 @@ "name": "CommaDelimitedEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "70", @@ -712,7 +747,8 @@ } }, "isHttpMetadata": false, - "encode": "commaDelimited" + "encode": "commaDelimited", + "isExactName": false } ] }, @@ -729,6 +765,7 @@ "name": "SpaceDelimitedEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "73", @@ -750,7 +787,8 @@ } }, "isHttpMetadata": false, - "encode": "spaceDelimited" + "encode": "spaceDelimited", + "isExactName": false } ] }, @@ -767,6 +805,7 @@ "name": "PipeDelimitedEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "75", @@ -788,7 +827,8 @@ } }, "isHttpMetadata": false, - "encode": "pipeDelimited" + "encode": "pipeDelimited", + "isExactName": false } ] }, @@ -805,6 +845,7 @@ "name": "NewlineDelimitedEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "77", @@ -826,7 +867,8 @@ } }, "isHttpMetadata": false, - "encode": "newlineDelimited" + "encode": "newlineDelimited", + "isExactName": false } ] }, @@ -843,6 +885,7 @@ "name": "CommaDelimitedExtensibleEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "79", @@ -871,7 +914,8 @@ } }, "isHttpMetadata": false, - "encode": "commaDelimited" + "encode": "commaDelimited", + "isExactName": false } ] }, @@ -888,6 +932,7 @@ "name": "SpaceDelimitedExtensibleEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "82", @@ -909,7 +954,8 @@ } }, "isHttpMetadata": false, - "encode": "spaceDelimited" + "encode": "spaceDelimited", + "isExactName": false } ] }, @@ -926,6 +972,7 @@ "name": "PipeDelimitedExtensibleEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "84", @@ -947,7 +994,8 @@ } }, "isHttpMetadata": false, - "encode": "pipeDelimited" + "encode": "pipeDelimited", + "isExactName": false } ] }, @@ -964,6 +1012,7 @@ "name": "NewlineDelimitedExtensibleEnumArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "86", @@ -985,7 +1034,8 @@ } }, "isHttpMetadata": false, - "encode": "newlineDelimited" + "encode": "newlineDelimited", + "isExactName": false } ] } @@ -1027,7 +1077,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Array.endpoint" + "crossLanguageDefinitionId": "Encode.Array.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -1086,9 +1137,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "96", @@ -1121,9 +1174,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "98", @@ -1159,9 +1214,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.commaDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1258,9 +1315,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "104", @@ -1293,9 +1352,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "106", @@ -1331,9 +1392,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.spaceDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1430,9 +1493,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "112", @@ -1465,9 +1530,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "114", @@ -1503,9 +1570,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.pipeDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1602,9 +1671,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "120", @@ -1637,9 +1708,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "122", @@ -1675,9 +1748,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.newlineDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1774,9 +1849,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "128", @@ -1809,9 +1886,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "130", @@ -1847,9 +1926,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumCommaDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1946,9 +2027,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "136", @@ -1981,9 +2064,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "138", @@ -2019,9 +2104,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumSpaceDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2118,9 +2205,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "144", @@ -2153,9 +2242,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "146", @@ -2191,9 +2282,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumPipeDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2290,9 +2383,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "152", @@ -2325,9 +2420,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "154", @@ -2363,9 +2460,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.enumNewlineDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2462,9 +2561,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "160", @@ -2497,9 +2598,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "162", @@ -2535,9 +2638,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumCommaDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2634,9 +2739,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "168", @@ -2669,9 +2776,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "170", @@ -2707,9 +2816,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumSpaceDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2806,9 +2917,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "176", @@ -2841,9 +2954,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "178", @@ -2879,9 +2994,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumPipeDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2978,9 +3095,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "184", @@ -3013,9 +3132,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "186", @@ -3051,9 +3172,11 @@ "crossLanguageDefinitionId": "Encode.Array.Property.extensibleEnumNewlineDelimited.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3135,7 +3258,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Array.Property.endpoint" + "crossLanguageDefinitionId": "Encode.Array.Property.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json index 8bfa3fe3125..a9b7ca93752 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/octet-stream", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/octet-stream", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/octet-stream", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -289,7 +306,8 @@ "decorators": [] }, "value": "application/octet-stream", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -305,7 +323,8 @@ "decorators": [] }, "value": "application/octet-stream", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -321,7 +340,8 @@ "decorators": [] }, "value": "application/octet-stream", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -337,7 +357,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -353,7 +374,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -369,7 +391,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -385,7 +408,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -401,7 +425,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -417,7 +442,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -434,6 +460,7 @@ "name": "DefaultBytesProperty" } }, + "isExactName": false, "properties": [ { "$id": "54", @@ -459,7 +486,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -476,6 +504,7 @@ "name": "Base64BytesProperty" } }, + "isExactName": false, "properties": [ { "$id": "57", @@ -501,7 +530,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -518,6 +548,7 @@ "name": "Base64urlBytesProperty" } }, + "isExactName": false, "properties": [ { "$id": "60", @@ -543,7 +574,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -560,6 +592,7 @@ "name": "Base64urlArrayBytesProperty" } }, + "isExactName": false, "properties": [ { "$id": "63", @@ -600,7 +633,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -642,7 +676,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Bytes.endpoint" + "crossLanguageDefinitionId": "Encode.Bytes.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -709,9 +744,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query.default.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -797,9 +834,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query.base64.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -885,9 +924,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query.base64url.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -964,9 +1005,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Query.base64urlArray.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1029,7 +1072,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Bytes.Query.endpoint" + "crossLanguageDefinitionId": "Encode.Bytes.Query.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1092,9 +1136,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.default.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "102", @@ -1127,9 +1173,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.default.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "104", @@ -1165,9 +1213,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.default.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1264,9 +1314,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "110", @@ -1299,9 +1351,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "112", @@ -1337,9 +1391,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1436,9 +1492,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64url.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "118", @@ -1471,9 +1529,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64url.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "120", @@ -1509,9 +1569,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64url.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1608,9 +1670,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64urlArray.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "126", @@ -1643,9 +1707,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64urlArray.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "128", @@ -1681,9 +1747,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Property.base64urlArray.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1765,7 +1833,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Bytes.Property.endpoint" + "crossLanguageDefinitionId": "Encode.Bytes.Property.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1836,9 +1905,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header.default.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1924,9 +1995,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header.base64.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2012,9 +2085,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header.base64url.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2092,9 +2167,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.Header.base64urlArray.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2157,7 +2234,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Bytes.Header.endpoint" + "crossLanguageDefinitionId": "Encode.Bytes.Header.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2220,9 +2298,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.default.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "164", @@ -2266,9 +2346,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.default.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2350,9 +2432,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.octetStream.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "172", @@ -2396,9 +2480,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.octetStream.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2480,9 +2566,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.customContentType.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "180", @@ -2526,9 +2614,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.customContentType.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2610,9 +2700,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.base64.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "188", @@ -2658,9 +2750,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.base64.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2742,9 +2836,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.base64url.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "196", @@ -2790,9 +2886,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.base64url.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2861,7 +2959,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.endpoint" + "crossLanguageDefinitionId": "Encode.Bytes.RequestBody.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2922,9 +3021,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.default.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3014,9 +3115,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.octetStream.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3114,9 +3217,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.customContentType.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3214,9 +3319,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.base64.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3315,9 +3422,11 @@ "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.base64url.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3411,7 +3520,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.endpoint" + "crossLanguageDefinitionId": "Encode.Bytes.ResponseBody.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json index 349dc3423a1..6d289a7966c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -178,6 +188,7 @@ "name": "DefaultDatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "22", @@ -210,7 +221,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -227,6 +239,7 @@ "name": "Rfc3339DatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "26", @@ -259,7 +272,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -276,6 +290,7 @@ "name": "Rfc7231DatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "30", @@ -308,7 +323,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -325,6 +341,7 @@ "name": "UnixTimestampDatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "34", @@ -357,7 +374,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -374,6 +392,7 @@ "name": "UnixTimestampArrayDatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "38", @@ -428,7 +447,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -470,7 +490,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Datetime.endpoint" + "crossLanguageDefinitionId": "Encode.Datetime.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -551,9 +572,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.default.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -653,9 +676,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.rfc3339.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -755,9 +780,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.rfc7231.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -857,9 +884,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.unixTimestamp.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -936,9 +965,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Query.unixTimestampArray.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1001,7 +1032,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Datetime.Query.endpoint" + "crossLanguageDefinitionId": "Encode.Datetime.Query.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1064,9 +1096,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.default.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "93", @@ -1099,9 +1133,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.default.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "95", @@ -1137,9 +1173,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.default.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1236,9 +1274,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc3339.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "101", @@ -1271,9 +1311,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc3339.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "103", @@ -1309,9 +1351,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc3339.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1408,9 +1452,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc7231.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "109", @@ -1443,9 +1489,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc7231.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "111", @@ -1481,9 +1529,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.rfc7231.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1580,9 +1630,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.unixTimestamp.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "117", @@ -1615,9 +1667,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.unixTimestamp.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "119", @@ -1653,9 +1707,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.unixTimestamp.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1752,9 +1808,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.unixTimestampArray.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "125", @@ -1787,9 +1845,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.unixTimestampArray.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "127", @@ -1825,9 +1885,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Property.unixTimestampArray.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1909,7 +1971,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Datetime.Property.endpoint" + "crossLanguageDefinitionId": "Encode.Datetime.Property.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1994,9 +2057,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Header.default.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2096,9 +2161,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Header.rfc3339.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2198,9 +2265,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Header.rfc7231.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2300,9 +2369,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Header.unixTimestamp.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2380,9 +2451,11 @@ "crossLanguageDefinitionId": "Encode.Datetime.Header.unixTimestampArray.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2445,7 +2518,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Datetime.Header.endpoint" + "crossLanguageDefinitionId": "Encode.Datetime.Header.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2725,7 +2799,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Datetime.ResponseHeader.endpoint" + "crossLanguageDefinitionId": "Encode.Datetime.ResponseHeader.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json index 0a5f53fa3aa..de310da8a2d 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -289,7 +306,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -305,7 +323,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -321,7 +340,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -337,7 +357,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -353,7 +374,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -369,7 +391,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -385,7 +408,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -401,7 +425,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -417,7 +442,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "53", @@ -433,7 +459,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -449,7 +476,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -466,6 +494,7 @@ "name": "DefaultDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "58", @@ -498,7 +527,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -515,6 +545,7 @@ "name": "ISO8601DurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "62", @@ -547,7 +578,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -564,6 +596,7 @@ "name": "Int32SecondsDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "66", @@ -596,7 +629,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -613,6 +647,7 @@ "name": "FloatSecondsDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "70", @@ -645,7 +680,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -662,6 +698,7 @@ "name": "Float64SecondsDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "74", @@ -694,7 +731,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -711,6 +749,7 @@ "name": "Int32MillisecondsDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "78", @@ -743,7 +782,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -760,6 +800,7 @@ "name": "FloatMillisecondsDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "82", @@ -792,7 +833,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -809,6 +851,7 @@ "name": "Float64MillisecondsDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "86", @@ -841,7 +884,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -858,6 +902,7 @@ "name": "FloatSecondsDurationArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "90", @@ -912,7 +957,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -929,6 +975,7 @@ "name": "FloatMillisecondsDurationArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "97", @@ -983,7 +1030,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1000,6 +1048,7 @@ "name": "Int32SecondsLargerUnitDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "104", @@ -1032,7 +1081,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1049,6 +1099,7 @@ "name": "FloatSecondsLargerUnitDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "108", @@ -1081,7 +1132,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1098,6 +1150,7 @@ "name": "Int32MillisecondsLargerUnitDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "112", @@ -1130,7 +1183,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1147,6 +1201,7 @@ "name": "FloatMillisecondsLargerUnitDurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "116", @@ -1179,7 +1234,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -1221,7 +1277,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Duration.endpoint" + "crossLanguageDefinitionId": "Encode.Duration.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -1302,9 +1359,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.default.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1404,9 +1463,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.iso8601.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1506,9 +1567,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.int32Seconds.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1608,9 +1671,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.int32SecondsLargerUnit.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1710,9 +1775,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.floatSeconds.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1812,9 +1879,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.floatSecondsLargerUnit.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1914,9 +1983,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.float64Seconds.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2016,9 +2087,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.int32Milliseconds.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2118,9 +2191,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.int32MillisecondsLargerUnit.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2220,9 +2295,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.floatMilliseconds.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2322,9 +2399,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.floatMillisecondsLargerUnit.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2424,9 +2503,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.float64Milliseconds.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2537,9 +2618,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.int32SecondsArray.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2650,9 +2733,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Query.int32MillisecondsArray.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2715,7 +2800,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Duration.Query.endpoint" + "crossLanguageDefinitionId": "Encode.Duration.Query.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2778,9 +2864,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.default.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "246", @@ -2813,9 +2901,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.default.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "248", @@ -2851,9 +2941,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.default.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2950,9 +3042,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.iso8601.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "254", @@ -2985,9 +3079,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.iso8601.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "256", @@ -3023,9 +3119,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.iso8601.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3122,9 +3220,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32Seconds.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "262", @@ -3157,9 +3257,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32Seconds.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "264", @@ -3195,9 +3297,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32Seconds.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3294,9 +3398,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSeconds.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "270", @@ -3329,9 +3435,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSeconds.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "272", @@ -3367,9 +3475,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSeconds.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3466,9 +3576,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.float64Seconds.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "278", @@ -3501,9 +3613,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.float64Seconds.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "280", @@ -3539,9 +3653,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.float64Seconds.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3638,9 +3754,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32Milliseconds.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "286", @@ -3673,9 +3791,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32Milliseconds.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "288", @@ -3711,9 +3831,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32Milliseconds.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3810,9 +3932,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMilliseconds.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "294", @@ -3845,9 +3969,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMilliseconds.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "296", @@ -3883,9 +4009,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMilliseconds.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3982,9 +4110,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.float64Milliseconds.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "302", @@ -4017,9 +4147,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.float64Milliseconds.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "304", @@ -4055,9 +4187,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.float64Milliseconds.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4154,9 +4288,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSecondsArray.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "310", @@ -4189,9 +4325,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSecondsArray.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "312", @@ -4227,9 +4365,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSecondsArray.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4326,9 +4466,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMillisecondsArray.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "318", @@ -4361,9 +4503,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMillisecondsArray.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "320", @@ -4399,9 +4543,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMillisecondsArray.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4498,9 +4644,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32SecondsLargerUnit.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "326", @@ -4533,9 +4681,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32SecondsLargerUnit.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "328", @@ -4571,9 +4721,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32SecondsLargerUnit.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4670,9 +4822,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSecondsLargerUnit.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "334", @@ -4705,9 +4859,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSecondsLargerUnit.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "336", @@ -4743,9 +4899,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatSecondsLargerUnit.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4842,9 +5000,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32MillisecondsLargerUnit.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "342", @@ -4877,9 +5037,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32MillisecondsLargerUnit.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "344", @@ -4915,9 +5077,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.int32MillisecondsLargerUnit.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5014,9 +5178,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMillisecondsLargerUnit.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "350", @@ -5049,9 +5215,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMillisecondsLargerUnit.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "352", @@ -5087,9 +5255,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Property.floatMillisecondsLargerUnit.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5171,7 +5341,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Duration.Property.endpoint" + "crossLanguageDefinitionId": "Encode.Duration.Property.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5256,9 +5427,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.default.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5358,9 +5531,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.iso8601.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5472,9 +5647,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.iso8601Array.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5574,9 +5751,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.int32Seconds.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5676,9 +5855,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.int32SecondsLargerUnit.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5778,9 +5959,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.floatSeconds.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5880,9 +6063,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.floatSecondsLargerUnit.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5982,9 +6167,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.float64Seconds.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6084,9 +6271,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.int32Milliseconds.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6186,9 +6375,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.int32MillisecondsLargerUnit.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6288,9 +6479,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.floatMilliseconds.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6390,9 +6583,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.floatMillisecondsLargerUnit.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6492,9 +6687,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.float64Milliseconds.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6606,9 +6803,11 @@ "crossLanguageDefinitionId": "Encode.Duration.Header.int32MillisecondsArray.duration", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6671,7 +6870,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Duration.Header.endpoint" + "crossLanguageDefinitionId": "Encode.Duration.Header.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json index 82482779781..9b158e9e0bf 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -114,6 +120,7 @@ "name": "SafeintAsStringProperty" } }, + "isExactName": false, "properties": [ { "$id": "14", @@ -139,7 +146,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -156,6 +164,7 @@ "name": "Uint32AsStringProperty" } }, + "isExactName": false, "properties": [ { "$id": "17", @@ -181,7 +190,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -198,6 +208,7 @@ "name": "Uint8AsStringProperty" } }, + "isExactName": false, "properties": [ { "$id": "20", @@ -223,7 +234,8 @@ "name": "value" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -265,7 +277,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Numeric.endpoint" + "crossLanguageDefinitionId": "Encode.Numeric.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -324,9 +337,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.safeintAsString.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "31", @@ -359,9 +374,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.safeintAsString.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "33", @@ -397,9 +414,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.safeintAsString.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -496,9 +515,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.uint32AsStringOptional.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "39", @@ -531,9 +552,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.uint32AsStringOptional.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "41", @@ -569,9 +592,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.uint32AsStringOptional.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -668,9 +693,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.uint8AsString.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "47", @@ -703,9 +730,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.uint8AsString.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "49", @@ -741,9 +770,11 @@ "crossLanguageDefinitionId": "Encode.Numeric.Property.uint8AsString.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -825,7 +856,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Encode.Numeric.Property.endpoint" + "crossLanguageDefinitionId": "Encode.Numeric.Property.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json index 40bff657eb6..f2d1fcaffe4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -51,6 +53,7 @@ "name": "User" } }, + "isExactName": false, "properties": [ { "$id": "6", @@ -75,7 +78,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -92,6 +96,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "9", @@ -116,7 +121,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -158,7 +164,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Basic.endpoint" + "crossLanguageDefinitionId": "Parameters.Basic.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -217,9 +224,11 @@ "crossLanguageDefinitionId": "Parameters.Basic.ExplicitBody.simple.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "20", @@ -255,9 +264,11 @@ "crossLanguageDefinitionId": "Parameters.Basic.ExplicitBody.simple.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -326,7 +337,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Basic.ExplicitBody.endpoint" + "crossLanguageDefinitionId": "Parameters.Basic.ExplicitBody.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -389,9 +401,11 @@ "crossLanguageDefinitionId": "Parameters.Basic.ImplicitBody.simple.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "30", @@ -431,9 +445,11 @@ "crossLanguageDefinitionId": "Parameters.Basic.ImplicitBody.simple.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -502,7 +518,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Basic.ImplicitBody.endpoint" + "crossLanguageDefinitionId": "Parameters.Basic.ImplicitBody.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json index 1abb6e232b7..174051ab0ef 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -82,6 +86,7 @@ "name": "BodyModel" } }, + "isExactName": false, "properties": [ { "$id": "10", @@ -106,7 +111,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -164,9 +170,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.requiredExplicit.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "17", @@ -202,9 +210,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.requiredExplicit.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -288,9 +298,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.requiredImplicit.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "23", @@ -330,9 +342,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.requiredImplicit.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -401,7 +415,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.BodyOptionality.endpoint" + "crossLanguageDefinitionId": "Parameters.BodyOptionality.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -460,9 +475,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.set.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "34", @@ -498,9 +515,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.set.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -584,9 +603,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.omit.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "40", @@ -622,9 +643,11 @@ "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.omit.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -693,7 +716,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.endpoint" + "crossLanguageDefinitionId": "Parameters.BodyOptionality.OptionalExplicit.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json index fcf95d26b71..e2bea526bda 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json @@ -41,7 +41,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.CollectionFormat.endpoint" + "crossLanguageDefinitionId": "Parameters.CollectionFormat.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -111,9 +112,11 @@ "crossLanguageDefinitionId": "Parameters.CollectionFormat.Query.multi.colors", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -192,9 +195,11 @@ "crossLanguageDefinitionId": "Parameters.CollectionFormat.Query.ssv.colors", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -273,9 +278,11 @@ "crossLanguageDefinitionId": "Parameters.CollectionFormat.Query.pipes.colors", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -354,9 +361,11 @@ "crossLanguageDefinitionId": "Parameters.CollectionFormat.Query.csv.colors", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -419,7 +428,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.CollectionFormat.Query.endpoint" + "crossLanguageDefinitionId": "Parameters.CollectionFormat.Query.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -484,9 +494,11 @@ "crossLanguageDefinitionId": "Parameters.CollectionFormat.Header.csv.colors", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -549,7 +561,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.CollectionFormat.Header.endpoint" + "crossLanguageDefinitionId": "Parameters.CollectionFormat.Header.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json index 2b3553358f4..ac878391257 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json @@ -66,9 +66,11 @@ "crossLanguageDefinitionId": "Parameters.Path.normal.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -155,9 +157,11 @@ "crossLanguageDefinitionId": "Parameters.Path.optional.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -220,7 +224,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Path.endpoint" + "crossLanguageDefinitionId": "Parameters.Path.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json index 18811ea4a20..c28d55a0f71 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "constantValue", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "constantValue", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [], @@ -74,7 +76,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Query.endpoint" + "crossLanguageDefinitionId": "Parameters.Query.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -134,9 +137,11 @@ "crossLanguageDefinitionId": "Parameters.Query.Constant.post.queryParam", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -199,7 +204,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Query.Constant.endpoint" + "crossLanguageDefinitionId": "Parameters.Query.Constant.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json index 56aae73ba41..eb5876bccc7 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -163,6 +172,7 @@ "name": "BodyParameter" } }, + "isExactName": false, "properties": [ { "$id": "20", @@ -187,7 +197,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -204,6 +215,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "23", @@ -228,7 +240,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -245,6 +258,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "26", @@ -269,7 +283,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -286,6 +301,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "29", @@ -310,7 +326,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -327,6 +344,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "32", @@ -351,7 +369,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -368,6 +387,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "35", @@ -393,7 +413,8 @@ "name": "requiredString" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "37", @@ -419,7 +440,8 @@ "name": "optionalInt" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "39", @@ -452,7 +474,8 @@ "name": "requiredIntList" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "42", @@ -485,7 +508,8 @@ "name": "optionalStringList" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -502,6 +526,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "46", @@ -527,7 +552,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "48", @@ -553,7 +579,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -595,7 +622,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Spread.endpoint" + "crossLanguageDefinitionId": "Parameters.Spread.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -654,9 +682,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadAsRequestBody.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "59", @@ -696,9 +726,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadAsRequestBody.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -782,9 +814,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestOnlyWithBody.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "66", @@ -820,9 +854,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestOnlyWithBody.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -915,9 +951,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestWithoutBody.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "74", @@ -958,9 +996,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestWithoutBody.testHeader", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1050,9 +1090,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequest.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "84", @@ -1093,9 +1135,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequest.testHeader", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "88", @@ -1130,9 +1174,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequest.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "90", @@ -1168,9 +1214,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequest.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1269,9 +1317,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestMix.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "98", @@ -1312,9 +1362,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestMix.testHeader", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "102", @@ -1349,9 +1401,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestMix.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "104", @@ -1391,9 +1445,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Model.spreadCompositeRequestMix.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1468,7 +1524,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Spread.Model.endpoint" + "crossLanguageDefinitionId": "Parameters.Spread.Model.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1531,9 +1588,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestBody.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "115", @@ -1573,9 +1632,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestBody.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1668,9 +1729,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerModel.id", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "124", @@ -1711,9 +1774,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerModel.x-ms-test-header", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "128", @@ -1748,9 +1813,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "130", @@ -1790,9 +1857,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerModel.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1891,9 +1960,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestParameter.id", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "139", @@ -1934,9 +2005,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestParameter.x-ms-test-header", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "143", @@ -1971,9 +2044,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestParameter.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "145", @@ -2013,9 +2088,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadAsRequestParameter.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2114,9 +2191,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.id", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "154", @@ -2157,9 +2236,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.x-ms-test-header", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "158", @@ -2194,9 +2275,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "160", @@ -2237,9 +2320,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.requiredString", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2294,7 +2379,8 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.optionalInt", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "165", @@ -2312,7 +2398,8 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.requiredIntList", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "166", @@ -2330,7 +2417,8 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadWithMultipleParameters.optionalStringList", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$ref": "159" @@ -2398,9 +2486,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerAlias.id", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "173", @@ -2441,9 +2531,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerAlias.x-ms-test-header", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "177", @@ -2478,9 +2570,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerAlias.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "179", @@ -2521,9 +2615,11 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerAlias.name", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2575,7 +2671,8 @@ "crossLanguageDefinitionId": "Parameters.Spread.Alias.spreadParameterWithInnerAlias.age", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$ref": "175" @@ -2620,7 +2717,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Parameters.Spread.Alias.endpoint" + "crossLanguageDefinitionId": "Parameters.Spread.Alias.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json index 7fbd3aebb6f..fa8366511af 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "image/jpeg", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "image/jpeg", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "image/jpeg", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "image/png", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -226,6 +239,7 @@ "name": "PngImageAsJson" } }, + "isExactName": false, "properties": [ { "$id": "28", @@ -246,7 +260,8 @@ "name": "contentType" } }, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false }, { "$id": "29", @@ -272,7 +287,8 @@ "name": "content" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -314,7 +330,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.ContentNegotiation.endpoint" + "crossLanguageDefinitionId": "Payload.ContentNegotiation.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -371,9 +388,11 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody.getAvatarAsPng.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -471,9 +490,11 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody.getAvatarAsJpeg.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -558,7 +579,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody.endpoint" + "crossLanguageDefinitionId": "Payload.ContentNegotiation.SameBody.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -619,9 +641,11 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -719,9 +743,11 @@ "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.getAvatarAsJson.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -802,7 +828,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.endpoint" + "crossLanguageDefinitionId": "Payload.ContentNegotiation.DifferentBody.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json index 8c3f7d179f6..a79a04a0ca8 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json @@ -105,7 +105,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Head.endpoint" + "crossLanguageDefinitionId": "Payload.Head.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json index 11eac2dbbe5..bea35a88c33 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -147,6 +155,7 @@ "name": "Resource" } }, + "isExactName": false, "properties": [ { "$id": "18", @@ -171,7 +180,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "20", @@ -196,7 +206,8 @@ "name": "description" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "22", @@ -227,6 +238,7 @@ "name": "InnerModel" } }, + "isExactName": false, "properties": [ { "$id": "26", @@ -251,7 +263,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "28", @@ -276,7 +289,8 @@ "name": "description" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -293,7 +307,8 @@ "name": "map" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "30", @@ -321,7 +336,8 @@ "name": "array" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "32", @@ -346,7 +362,8 @@ "name": "intValue" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "34", @@ -371,7 +388,8 @@ "name": "floatValue" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "36", @@ -392,7 +410,8 @@ "name": "innerModel" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "37", @@ -424,7 +443,8 @@ "name": "intArray" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -445,6 +465,7 @@ "name": "ResourcePatch" } }, + "isExactName": false, "properties": [ { "$id": "41", @@ -469,7 +490,8 @@ "name": "description" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "43", @@ -490,7 +512,8 @@ "name": "map" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "44", @@ -511,7 +534,8 @@ "name": "array" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "45", @@ -536,7 +560,8 @@ "name": "intValue" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "47", @@ -561,7 +586,8 @@ "name": "floatValue" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "49", @@ -582,7 +608,8 @@ "name": "innerModel" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "50", @@ -603,7 +630,8 @@ "name": "intArray" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -663,9 +691,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.createResource.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "56", @@ -698,9 +728,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.createResource.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "58", @@ -736,9 +768,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.createResource.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -835,9 +869,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.updateResource.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "64", @@ -870,9 +906,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.updateResource.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "66", @@ -908,9 +946,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.updateResource.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1007,9 +1047,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.updateOptionalResource.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "72", @@ -1042,9 +1084,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.updateOptionalResource.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "74", @@ -1080,9 +1124,11 @@ "crossLanguageDefinitionId": "Payload.JsonMergePatch.updateOptionalResource.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1164,7 +1210,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.JsonMergePatch.endpoint" + "crossLanguageDefinitionId": "Payload.JsonMergePatch.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json index 3da2634b387..f5893666582 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "text/plain", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "text/plain", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "text/plain", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "text/plain", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [], @@ -170,7 +178,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MediaType.endpoint" + "crossLanguageDefinitionId": "Payload.MediaType.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -227,9 +236,11 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.sendAsText.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "26", @@ -273,9 +284,11 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.sendAsText.text", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -357,9 +370,11 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.getAsText.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -457,9 +472,11 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.sendAsJson.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "39", @@ -503,9 +520,11 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.sendAsJson.text", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -587,9 +606,11 @@ "crossLanguageDefinitionId": "Payload.MediaType.StringBody.getAsJson.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -674,7 +695,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MediaType.StringBody.endpoint" + "crossLanguageDefinitionId": "Payload.MediaType.StringBody.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json index ff114f71bc0..6d119243cce 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json @@ -38,7 +38,8 @@ "isFixed": false, "isFlags": false, "usage": "Input", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -56,7 +57,8 @@ "decorators": [] }, "value": "image/jpg", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -72,7 +74,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -88,7 +91,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -104,7 +108,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -120,7 +125,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -136,7 +142,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -152,7 +159,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -168,7 +176,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -184,7 +193,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -200,7 +210,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -216,7 +227,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -232,7 +244,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -248,7 +261,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -264,7 +278,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -280,7 +295,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -296,7 +312,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -312,7 +329,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -328,7 +346,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -344,7 +363,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -360,7 +380,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -376,7 +397,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -392,7 +414,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -408,7 +431,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -424,7 +448,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "53", @@ -440,7 +465,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -456,7 +482,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "57", @@ -472,7 +499,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "59", @@ -488,7 +516,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "61", @@ -504,7 +533,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "63", @@ -520,7 +550,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "65", @@ -536,7 +567,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "67", @@ -552,7 +584,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "69", @@ -568,7 +601,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "71", @@ -584,7 +618,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "73", @@ -600,7 +635,8 @@ "decorators": [] }, "value": "multipart/form-data", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -613,6 +649,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "76", @@ -643,7 +680,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "78", @@ -674,7 +712,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -687,6 +726,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "81", @@ -717,7 +757,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "83", @@ -748,7 +789,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -761,6 +803,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "86", @@ -791,7 +834,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "88", @@ -822,7 +866,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -835,6 +880,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "91", @@ -865,7 +911,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "93", @@ -881,6 +928,7 @@ "usage": "Input", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "95", @@ -905,7 +953,8 @@ "name": "city" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -926,7 +975,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "97", @@ -957,7 +1007,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "99", @@ -995,7 +1046,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1011,6 +1063,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "103", @@ -1037,7 +1090,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "104", @@ -1068,7 +1122,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1081,6 +1136,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "107", @@ -1111,7 +1167,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "109", @@ -1149,7 +1206,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1162,6 +1220,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "113", @@ -1192,7 +1251,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "115", @@ -1223,7 +1283,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1236,6 +1297,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "118", @@ -1266,7 +1328,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1279,6 +1342,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "121", @@ -1309,7 +1373,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "123", @@ -1336,7 +1401,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "124", @@ -1352,6 +1418,7 @@ "usage": "Input", "decorators": [], "serializationOptions": {}, + "isExactName": false, "baseModel": { "$id": "126", "kind": "model", @@ -1363,6 +1430,7 @@ "summary": "A file in an HTTP request, response, or multipart payload.", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "127", @@ -1384,7 +1452,8 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "129", @@ -1406,7 +1475,8 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.filename", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "131", @@ -1429,7 +1499,8 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contents", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1452,7 +1523,8 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileRequiredMetaData.filename", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "135", @@ -1472,7 +1544,8 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileRequiredMetaData.contentType", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1561,7 +1634,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "141", @@ -1595,7 +1669,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "143", @@ -1635,7 +1710,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1654,6 +1730,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "146", @@ -1671,6 +1748,7 @@ "summary": "A file in an HTTP request, response, or multipart payload.", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "148", @@ -1688,7 +1766,8 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contentType", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "149", @@ -1710,7 +1789,8 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.filename", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "151", @@ -1733,7 +1813,8 @@ "decorators": [], "crossLanguageDefinitionId": "TypeSpec.Http.File.contents", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1830,7 +1911,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1846,6 +1928,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "158", @@ -1861,6 +1944,7 @@ "usage": "Input", "decorators": [], "serializationOptions": {}, + "isExactName": false, "baseModel": { "$ref": "147" }, @@ -1883,7 +1967,8 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.FileWithRequiredFilename.filename", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1941,7 +2026,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1957,6 +2043,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "165", @@ -1996,7 +2083,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2009,6 +2097,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "168", @@ -2024,6 +2113,7 @@ "usage": "Input", "decorators": [], "serializationOptions": {}, + "isExactName": false, "baseModel": { "$ref": "126" }, @@ -2046,7 +2136,8 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.filename", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "172", @@ -2062,7 +2153,8 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileSpecificContentType.contentType", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2160,7 +2252,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2176,6 +2269,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "179", @@ -2208,7 +2302,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2221,6 +2316,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "181", @@ -2236,6 +2332,7 @@ "usage": "Input", "decorators": [], "serializationOptions": {}, + "isExactName": false, "baseModel": { "$ref": "126" }, @@ -2258,7 +2355,8 @@ "decorators": [], "crossLanguageDefinitionId": "Payload.MultiPart.FileOptionalContentType.filename", "serializationOptions": {}, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2349,7 +2447,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2365,6 +2464,7 @@ "usage": "Input,MultipartFormData", "decorators": [], "serializationOptions": {}, + "isExactName": false, "properties": [ { "$id": "190", @@ -2438,7 +2538,8 @@ "headers": [] } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -2480,7 +2581,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MultiPart.endpoint" + "crossLanguageDefinitionId": "Payload.MultiPart.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -2539,9 +2641,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.basic.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "204", @@ -2577,9 +2681,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.basic.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2663,9 +2769,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.withWireName.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "210", @@ -2701,9 +2809,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.withWireName.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2787,9 +2897,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.optionalParts.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "216", @@ -2825,9 +2937,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.optionalParts.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2911,9 +3025,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.fileArrayAndBasic.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "222", @@ -2949,9 +3065,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.fileArrayAndBasic.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3035,9 +3153,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.jsonPart.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "228", @@ -3073,9 +3193,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.jsonPart.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3159,9 +3281,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.binaryArrayParts.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "234", @@ -3197,9 +3321,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.binaryArrayParts.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3283,9 +3409,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.multiBinaryParts.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "240", @@ -3321,9 +3449,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.multiBinaryParts.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3407,9 +3537,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.checkFileNameAndContentType.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "246", @@ -3445,9 +3577,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.checkFileNameAndContentType.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3531,9 +3665,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.anonymousModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "252", @@ -3569,9 +3705,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.anonymousModel.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3640,7 +3778,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MultiPart.FormData.endpoint" + "crossLanguageDefinitionId": "Payload.MultiPart.FormData.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3702,9 +3841,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "262", @@ -3740,9 +3881,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3811,7 +3954,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.endpoint" + "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3873,9 +4017,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "272", @@ -3911,9 +4057,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3997,9 +4145,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "278", @@ -4035,9 +4185,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4121,9 +4273,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "284", @@ -4159,9 +4313,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4230,7 +4386,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.endpoint" + "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.ContentType.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4293,9 +4450,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "294", @@ -4331,9 +4490,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.float.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4402,7 +4563,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.endpoint" + "crossLanguageDefinitionId": "Payload.MultiPart.FormData.HttpParts.NonString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4466,9 +4628,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "304", @@ -4504,9 +4668,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileSpecificContentType.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4588,9 +4754,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "310", @@ -4626,9 +4794,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileRequiredFilename.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4710,9 +4880,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "316", @@ -4748,9 +4920,11 @@ "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.uploadFileArray.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4819,7 +4993,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.endpoint" + "crossLanguageDefinitionId": "Payload.MultiPart.FormData.File.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json index fb28085279f..8f0779b6a6a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -290,6 +307,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "36", @@ -313,6 +331,7 @@ "name": "Pet" } }, + "isExactName": false, "properties": [ { "$id": "39", @@ -337,7 +356,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "41", @@ -362,7 +382,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -380,7 +401,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "43", @@ -405,7 +427,8 @@ "name": "next" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -425,6 +448,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "46", @@ -445,7 +469,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "47", @@ -470,7 +495,8 @@ "name": "next" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -487,6 +513,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "50", @@ -506,6 +533,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "52", @@ -526,7 +554,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -541,7 +570,8 @@ "name": "nestedItems" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "53", @@ -561,6 +591,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "55", @@ -585,7 +616,8 @@ "name": "next" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -600,7 +632,8 @@ "name": "nestedNext" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -623,6 +656,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "58", @@ -643,7 +677,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -660,6 +695,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "60", @@ -680,7 +716,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -707,6 +744,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "62", @@ -740,6 +778,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "65", @@ -773,7 +812,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "67", @@ -807,7 +847,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -835,7 +876,8 @@ "itemsName": "Pet" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "69", @@ -869,7 +911,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -899,6 +942,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "72", @@ -929,7 +973,8 @@ "itemsName": "Pet" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "73", @@ -963,7 +1008,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -980,6 +1026,7 @@ "name": "Filter" } }, + "isExactName": false, "properties": [ { "$id": "76", @@ -1004,7 +1051,8 @@ "name": "filter" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1021,6 +1069,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "79", @@ -1041,7 +1090,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "80", @@ -1066,7 +1116,8 @@ "name": "next" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1083,6 +1134,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "83", @@ -1103,7 +1155,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "84", @@ -1128,7 +1181,8 @@ "name": "nextToken" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1145,6 +1199,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "87", @@ -1165,7 +1220,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "88", @@ -1190,7 +1246,8 @@ "name": "nextToken" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1207,6 +1264,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "91", @@ -1227,7 +1285,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1244,6 +1303,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "93", @@ -1264,7 +1324,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1281,6 +1342,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "95", @@ -1300,6 +1362,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "97", @@ -1320,7 +1383,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1335,7 +1399,8 @@ "name": "nestedItems" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "98", @@ -1355,6 +1420,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "100", @@ -1379,7 +1445,8 @@ "name": "nextToken" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1394,7 +1461,8 @@ "name": "nestedNext" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1417,6 +1485,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "103", @@ -1436,6 +1505,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "105", @@ -1456,7 +1526,8 @@ "name": "pets" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1471,7 +1542,8 @@ "name": "nestedItems" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "106", @@ -1491,6 +1563,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "108", @@ -1515,7 +1588,8 @@ "name": "nextToken" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1530,7 +1604,8 @@ "name": "nestedNext" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1578,7 +1653,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Pageable.endpoint" + "crossLanguageDefinitionId": "Payload.Pageable.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -1635,9 +1711,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.link.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1738,9 +1816,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.linkString.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1841,9 +1921,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.nestedLink.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1934,7 +2016,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.endpoint" + "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1997,9 +2080,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.AlternateInitialVerb.post.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "135", @@ -2032,9 +2117,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.AlternateInitialVerb.post.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "137", @@ -2070,9 +2157,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.AlternateInitialVerb.post.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2169,7 +2258,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.AlternateInitialVerb.endpoint" + "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.AlternateInitialVerb.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2238,9 +2328,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseBody.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "149", @@ -2281,9 +2373,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseBody.foo", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "153", @@ -2324,9 +2418,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseBody.bar", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "157", @@ -2359,9 +2455,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseBody.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2482,9 +2580,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseBody.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "165", @@ -2525,9 +2625,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseBody.foo", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "169", @@ -2568,9 +2670,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseBody.bar", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "173", @@ -2603,9 +2707,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseBody.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2726,9 +2832,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseHeader.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "181", @@ -2769,9 +2877,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseHeader.foo", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "185", @@ -2812,9 +2922,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseHeader.bar", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "189", @@ -2847,9 +2959,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryResponseHeader.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2982,9 +3096,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "198", @@ -3025,9 +3141,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.foo", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "202", @@ -3068,9 +3186,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.bar", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "206", @@ -3103,9 +3223,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderResponseHeader.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3238,9 +3360,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryNestedResponseBody.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "215", @@ -3281,9 +3405,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryNestedResponseBody.foo", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "219", @@ -3324,9 +3450,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryNestedResponseBody.bar", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "223", @@ -3359,9 +3487,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestQueryNestedResponseBody.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3485,9 +3615,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderNestedResponseBody.token", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "231", @@ -3528,9 +3660,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderNestedResponseBody.foo", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "235", @@ -3571,9 +3705,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderNestedResponseBody.bar", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "239", @@ -3606,9 +3742,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.requestHeaderNestedResponseBody.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3711,7 +3849,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.endpoint" + "crossLanguageDefinitionId": "Payload.Pageable.ServerDrivenPagination.ContinuationToken.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3775,9 +3914,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.PageSize.listWithoutContinuation.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3880,9 +4021,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.PageSize.listWithPageSize.pageSize", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "255", @@ -3915,9 +4058,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.PageSize.listWithPageSize.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4004,7 +4149,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Pageable.PageSize.endpoint" + "crossLanguageDefinitionId": "Payload.Pageable.PageSize.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4073,9 +4219,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation.marker", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "267", @@ -4108,9 +4256,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithContinuation.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4225,9 +4375,11 @@ "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.listWithNextLink.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4323,7 +4475,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.endpoint" + "crossLanguageDefinitionId": "Payload.Pageable.XmlPagination.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json index 8c7a1e4d7ca..b4cd6f28578 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json @@ -63,7 +63,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Xml", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -81,7 +82,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -97,7 +99,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "10", @@ -113,7 +116,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -129,7 +133,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -145,7 +150,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -161,7 +167,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "18", @@ -177,7 +184,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -193,7 +201,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "22", @@ -209,7 +218,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "24", @@ -225,7 +235,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "26", @@ -241,7 +252,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "28", @@ -257,7 +269,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "30", @@ -273,7 +286,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "32", @@ -289,7 +303,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "34", @@ -305,7 +320,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "36", @@ -321,7 +337,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "38", @@ -337,7 +354,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "40", @@ -353,7 +371,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "42", @@ -369,7 +388,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "44", @@ -385,7 +405,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "46", @@ -401,7 +422,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "48", @@ -417,7 +439,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "50", @@ -433,7 +456,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "52", @@ -449,7 +473,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "54", @@ -465,7 +490,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "56", @@ -481,7 +507,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "58", @@ -497,7 +524,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "60", @@ -513,7 +541,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "62", @@ -529,7 +558,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "64", @@ -545,7 +575,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "66", @@ -561,7 +592,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "68", @@ -577,7 +609,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "70", @@ -593,7 +626,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "72", @@ -609,7 +643,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "74", @@ -625,7 +660,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "76", @@ -641,7 +677,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "78", @@ -657,7 +694,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "80", @@ -673,7 +711,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "82", @@ -689,7 +728,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "84", @@ -705,7 +745,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "86", @@ -721,7 +762,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "88", @@ -737,7 +779,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "90", @@ -753,7 +796,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "92", @@ -769,7 +813,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "94", @@ -785,7 +830,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "96", @@ -801,7 +847,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "98", @@ -817,7 +864,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "100", @@ -833,7 +881,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "102", @@ -849,7 +898,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "104", @@ -865,7 +915,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "106", @@ -881,7 +932,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "108", @@ -897,7 +949,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "110", @@ -913,7 +966,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "112", @@ -929,7 +983,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "114", @@ -945,7 +1000,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "116", @@ -961,7 +1017,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "118", @@ -977,7 +1034,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "120", @@ -993,7 +1051,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "122", @@ -1009,7 +1068,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "124", @@ -1025,7 +1085,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "126", @@ -1041,7 +1102,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "128", @@ -1057,7 +1119,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "130", @@ -1073,7 +1136,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "132", @@ -1089,7 +1153,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "134", @@ -1105,7 +1170,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "136", @@ -1121,7 +1187,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "138", @@ -1137,7 +1204,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "140", @@ -1153,7 +1221,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "142", @@ -1169,7 +1238,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "144", @@ -1185,7 +1255,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "146", @@ -1201,7 +1272,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "148", @@ -1217,7 +1289,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "150", @@ -1233,7 +1306,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "152", @@ -1249,7 +1323,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "154", @@ -1265,7 +1340,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "156", @@ -1281,7 +1357,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "158", @@ -1297,7 +1374,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "160", @@ -1313,7 +1391,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "162", @@ -1329,7 +1408,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "164", @@ -1345,7 +1425,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "166", @@ -1361,7 +1442,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "168", @@ -1377,7 +1459,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "170", @@ -1393,7 +1476,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "172", @@ -1409,7 +1493,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "174", @@ -1425,7 +1510,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "176", @@ -1441,7 +1527,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "178", @@ -1457,7 +1544,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "180", @@ -1473,7 +1561,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "182", @@ -1489,7 +1578,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "184", @@ -1505,7 +1595,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "186", @@ -1521,7 +1612,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "188", @@ -1537,7 +1629,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "190", @@ -1553,7 +1646,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "192", @@ -1569,7 +1663,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "194", @@ -1585,7 +1680,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "196", @@ -1601,7 +1697,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "198", @@ -1617,7 +1714,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "200", @@ -1633,7 +1731,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "202", @@ -1649,7 +1748,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "204", @@ -1665,7 +1765,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "206", @@ -1681,7 +1782,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "208", @@ -1697,7 +1799,8 @@ "decorators": [] }, "value": "application/xml", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -1717,6 +1820,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "211", @@ -1743,7 +1847,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "213", @@ -1770,7 +1875,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1790,6 +1896,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "216", @@ -1823,7 +1930,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "218", @@ -1850,7 +1958,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1877,6 +1986,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "221", @@ -1906,7 +2016,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "222", @@ -1936,7 +2047,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1956,6 +2068,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "224", @@ -1978,7 +2091,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1998,6 +2112,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "226", @@ -2027,6 +2142,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "228", @@ -2053,7 +2169,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2070,7 +2187,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2093,6 +2211,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "231", @@ -2127,7 +2246,8 @@ "itemsName": "string" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "234", @@ -2162,7 +2282,8 @@ "itemsName": "int32" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2182,6 +2303,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "238", @@ -2210,7 +2332,8 @@ "itemsName": "colors" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "239", @@ -2234,7 +2357,8 @@ "itemsName": "int32" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2254,6 +2378,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "241", @@ -2288,7 +2413,8 @@ "itemsName": "Colors" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "242", @@ -2319,7 +2445,8 @@ "itemsName": "int32" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2339,6 +2466,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "244", @@ -2394,7 +2522,8 @@ "itemsName": "ItemName" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2414,6 +2543,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "249", @@ -2444,7 +2574,8 @@ "itemsName": "SimpleModel" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2464,6 +2595,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "252", @@ -2492,7 +2624,8 @@ "itemsName": "items" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2512,6 +2645,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "254", @@ -2542,7 +2676,8 @@ "itemsName": "SimpleModel" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2562,6 +2697,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "256", @@ -2596,7 +2732,8 @@ "itemsName": "ModelItem" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2616,6 +2753,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "258", @@ -2649,6 +2787,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "261", @@ -2675,7 +2814,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2703,7 +2843,8 @@ "itemsName": "XmlBook" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2726,6 +2867,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "264", @@ -2757,7 +2899,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "266", @@ -2789,7 +2932,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "268", @@ -2816,7 +2960,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2836,6 +2981,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "271", @@ -2873,7 +3019,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "273", @@ -2900,7 +3047,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "275", @@ -2927,7 +3075,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3028,6 +3177,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "283", @@ -3054,7 +3204,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "285", @@ -3081,7 +3232,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3125,6 +3277,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "289", @@ -3151,7 +3304,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "291", @@ -3202,7 +3356,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "294", @@ -3253,7 +3408,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3273,6 +3429,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "298", @@ -3304,7 +3461,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "300", @@ -3336,7 +3494,8 @@ "unwrapped": true } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3356,6 +3515,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "303", @@ -3382,7 +3542,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "305", @@ -3409,7 +3570,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3429,6 +3591,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "308", @@ -3452,7 +3615,8 @@ "itemsName": "SimpleModel" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3472,6 +3636,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "310", @@ -3510,7 +3675,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3530,6 +3696,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "315", @@ -3552,7 +3719,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "316", @@ -3576,7 +3744,8 @@ "itemsName": "string" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3596,6 +3765,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "318", @@ -3618,7 +3788,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3638,6 +3809,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "320", @@ -3673,7 +3845,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "323", @@ -3709,7 +3882,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3729,6 +3903,7 @@ "unwrapped": false } }, + "isExactName": false, "properties": [ { "$id": "327", @@ -3755,7 +3930,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "329", @@ -3782,7 +3958,8 @@ "unwrapped": false } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -3824,7 +4001,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -3882,9 +4060,11 @@ "crossLanguageDefinitionId": "Payload.Xml.SimpleModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3978,9 +4158,11 @@ "crossLanguageDefinitionId": "Payload.Xml.SimpleModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "344", @@ -4016,9 +4198,11 @@ "crossLanguageDefinitionId": "Payload.Xml.SimpleModelValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4087,7 +4271,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.SimpleModelValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.SimpleModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4149,9 +4334,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedPropertyValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4245,9 +4432,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedPropertyValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "358", @@ -4283,9 +4472,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedPropertyValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4354,7 +4545,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedPropertyValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedPropertyValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4416,9 +4608,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedFieldsValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4512,9 +4706,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedFieldsValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "372", @@ -4550,9 +4746,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedFieldsValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4621,7 +4819,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedFieldsValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedFieldsValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4683,9 +4882,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNestedModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4779,9 +4980,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNestedModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "386", @@ -4817,9 +5020,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNestedModelValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4888,7 +5093,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithNestedModelValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithNestedModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4950,9 +5156,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedNestedModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5046,9 +5254,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedNestedModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "400", @@ -5084,9 +5294,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedNestedModelValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5155,7 +5367,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedNestedModelValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedNestedModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5217,9 +5430,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithSimpleArraysValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5313,9 +5528,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithSimpleArraysValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "414", @@ -5351,9 +5568,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithSimpleArraysValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5422,7 +5641,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithSimpleArraysValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithSimpleArraysValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5484,9 +5704,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedArrayValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5580,9 +5802,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedArrayValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "428", @@ -5618,9 +5842,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedArrayValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5689,7 +5915,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedArrayValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedArrayValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5751,9 +5978,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedArraysValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5847,9 +6076,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedArraysValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "442", @@ -5885,9 +6116,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedArraysValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5956,7 +6189,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedArraysValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedArraysValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6018,9 +6252,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithWrappedPrimitiveCustomItemNamesValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6114,9 +6350,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithWrappedPrimitiveCustomItemNamesValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "456", @@ -6152,9 +6390,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithWrappedPrimitiveCustomItemNamesValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6223,7 +6463,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithWrappedPrimitiveCustomItemNamesValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithWrappedPrimitiveCustomItemNamesValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6285,9 +6526,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithArrayOfModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6381,9 +6624,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithArrayOfModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "470", @@ -6419,9 +6664,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithArrayOfModelValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6490,7 +6737,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithArrayOfModelValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithArrayOfModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6552,9 +6800,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedModelArrayValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6648,9 +6898,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedModelArrayValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "484", @@ -6686,9 +6938,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedModelArrayValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6757,7 +7011,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedModelArrayValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithUnwrappedModelArrayValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6819,9 +7074,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedModelArrayValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6915,9 +7172,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedModelArrayValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "498", @@ -6953,9 +7212,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedModelArrayValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7024,7 +7285,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedModelArrayValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedModelArrayValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7086,9 +7348,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedUnwrappedModelArrayValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7182,9 +7446,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedUnwrappedModelArrayValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "512", @@ -7220,9 +7486,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedUnwrappedModelArrayValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7291,7 +7559,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedUnwrappedModelArrayValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedUnwrappedModelArrayValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7353,9 +7622,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedAndItemModelArrayValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7449,9 +7720,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedAndItemModelArrayValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "526", @@ -7487,9 +7760,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedAndItemModelArrayValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7558,7 +7833,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedAndItemModelArrayValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedWrappedAndItemModelArrayValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7620,9 +7896,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithAttributesValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7716,9 +7994,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithAttributesValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "540", @@ -7754,9 +8034,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithAttributesValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7825,7 +8107,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithAttributesValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithAttributesValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7887,9 +8170,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedAttributeValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7983,9 +8268,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedAttributeValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "554", @@ -8021,9 +8308,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedAttributeValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8092,7 +8381,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedAttributeValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithRenamedAttributeValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8154,9 +8444,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8250,9 +8542,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "568", @@ -8288,9 +8582,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8359,7 +8655,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8421,9 +8718,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceOnPropertiesValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8517,9 +8816,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceOnPropertiesValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "582", @@ -8555,9 +8856,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceOnPropertiesValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8626,7 +8929,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceOnPropertiesValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithNamespaceOnPropertiesValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8688,9 +8992,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithTextValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8784,9 +9090,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithTextValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "596", @@ -8822,9 +9130,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithTextValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8893,7 +9203,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithTextValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithTextValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8955,9 +9266,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithOptionalFieldValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9051,9 +9364,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithOptionalFieldValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "610", @@ -9089,9 +9404,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithOptionalFieldValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9160,7 +9477,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithOptionalFieldValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithOptionalFieldValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9222,9 +9540,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEmptyArrayValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9318,9 +9638,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEmptyArrayValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "624", @@ -9356,9 +9678,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEmptyArrayValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9427,7 +9751,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithEmptyArrayValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithEmptyArrayValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9489,9 +9814,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithDictionaryValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9585,9 +9912,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithDictionaryValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "638", @@ -9623,9 +9952,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithDictionaryValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9694,7 +10025,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithDictionaryValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithDictionaryValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9756,9 +10088,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEncodedNamesValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9852,9 +10186,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEncodedNamesValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "652", @@ -9890,9 +10226,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEncodedNamesValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9961,7 +10299,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithEncodedNamesValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithEncodedNamesValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10023,9 +10362,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEnumValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10119,9 +10460,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEnumValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "666", @@ -10157,9 +10500,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithEnumValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10228,7 +10573,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithEnumValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithEnumValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10290,9 +10636,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithDatetimeValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10386,9 +10734,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithDatetimeValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "680", @@ -10424,9 +10774,11 @@ "crossLanguageDefinitionId": "Payload.Xml.ModelWithDatetimeValue.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10495,7 +10847,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.ModelWithDatetimeValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.ModelWithDatetimeValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10557,9 +10910,11 @@ "crossLanguageDefinitionId": "Payload.Xml.XmlErrorValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10640,7 +10995,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Payload.Xml.XmlErrorValue.endpoint" + "crossLanguageDefinitionId": "Payload.Xml.XmlErrorValue.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json index c8f8d765f2d..4773246e61a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json @@ -37,7 +37,8 @@ "isFixed": true, "isFlags": false, "usage": "ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -149,9 +150,11 @@ "crossLanguageDefinitionId": "Resiliency.ServiceDriven.AddOptionalParam.fromOneRequired.parameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -241,9 +244,11 @@ "crossLanguageDefinitionId": "Resiliency.ServiceDriven.AddOptionalParam.fromOneOptional.parameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -297,7 +302,8 @@ "serverUrlTemplate": "{endpoint}/resiliency/service-driven/client:v1/service:{serviceDeploymentVersion}/api-version:{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Resiliency.ServiceDriven.endpoint" + "crossLanguageDefinitionId": "Resiliency.ServiceDriven.endpoint", + "isExactName": false }, { "$id": "21", @@ -319,7 +325,8 @@ "serverUrlTemplate": "{endpoint}/resiliency/service-driven/client:v1/service:{serviceDeploymentVersion}/api-version:{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Resiliency.ServiceDriven.serviceDeploymentVersion" + "crossLanguageDefinitionId": "Resiliency.ServiceDriven.serviceDeploymentVersion", + "isExactName": false }, { "$id": "23", @@ -350,7 +357,8 @@ "serverUrlTemplate": "{endpoint}/resiliency/service-driven/client:v1/service:{serviceDeploymentVersion}/api-version:{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Resiliency.ServiceDriven.apiVersion" + "crossLanguageDefinitionId": "Resiliency.ServiceDriven.apiVersion", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json index 23f33f2848b..4cfe9f6150c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json @@ -52,7 +52,8 @@ "isFixed": true, "isFlags": false, "usage": "ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -165,9 +166,11 @@ "crossLanguageDefinitionId": "Resiliency.ServiceDriven.AddOptionalParam.fromNone.new-parameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -258,9 +261,11 @@ "crossLanguageDefinitionId": "Resiliency.ServiceDriven.AddOptionalParam.fromOneRequired.parameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "20", @@ -303,9 +308,11 @@ "crossLanguageDefinitionId": "Resiliency.ServiceDriven.AddOptionalParam.fromOneRequired.new-parameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -399,9 +406,11 @@ "crossLanguageDefinitionId": "Resiliency.ServiceDriven.AddOptionalParam.fromOneOptional.parameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "30", @@ -444,9 +453,11 @@ "crossLanguageDefinitionId": "Resiliency.ServiceDriven.AddOptionalParam.fromOneOptional.new-parameter", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -503,7 +514,8 @@ "serverUrlTemplate": "{endpoint}/resiliency/service-driven/client:v2/service:{serviceDeploymentVersion}/api-version:{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Resiliency.ServiceDriven.endpoint" + "crossLanguageDefinitionId": "Resiliency.ServiceDriven.endpoint", + "isExactName": false }, { "$id": "36", @@ -525,7 +537,8 @@ "serverUrlTemplate": "{endpoint}/resiliency/service-driven/client:v2/service:{serviceDeploymentVersion}/api-version:{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Resiliency.ServiceDriven.serviceDeploymentVersion" + "crossLanguageDefinitionId": "Resiliency.ServiceDriven.serviceDeploymentVersion", + "isExactName": false }, { "$id": "38", @@ -556,7 +569,8 @@ "serverUrlTemplate": "{endpoint}/resiliency/service-driven/client:v2/service:{serviceDeploymentVersion}/api-version:{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Resiliency.ServiceDriven.apiVersion" + "crossLanguageDefinitionId": "Resiliency.ServiceDriven.apiVersion", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json index 4934fe7a1a8..0665cb5db52 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json @@ -17,6 +17,7 @@ "name": "ErrorInRange" } }, + "isExactName": false, "properties": [ { "$id": "2", @@ -41,7 +42,8 @@ "name": "code" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "4", @@ -66,7 +68,8 @@ "name": "message" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -83,6 +86,7 @@ "name": "DefaultError" } }, + "isExactName": false, "properties": [ { "$id": "7", @@ -107,7 +111,8 @@ "name": "code" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -124,6 +129,7 @@ "name": "NotFoundError" } }, + "isExactName": false, "properties": [ { "$id": "10", @@ -148,7 +154,8 @@ "name": "code" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "12", @@ -173,7 +180,8 @@ "name": "resourceId" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -190,6 +198,7 @@ "name": "Standard4XXError" } }, + "isExactName": false, "properties": [ { "$id": "15", @@ -214,7 +223,8 @@ "name": "code" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -333,7 +343,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Response.StatusCodeRange.endpoint" + "crossLanguageDefinitionId": "Response.StatusCodeRange.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json index 6ffd4eec8d4..a73dcf54d18 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json @@ -80,7 +80,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.endpoint" + "crossLanguageDefinitionId": "Routes.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -148,9 +149,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.templateOnly.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -237,9 +240,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.explicit.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -326,9 +331,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.annotationOnly.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -391,7 +398,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -462,9 +470,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.ReservedExpansion.template.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -551,9 +561,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.ReservedExpansion.annotation.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -616,7 +628,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.ReservedExpansion.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.ReservedExpansion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -663,7 +676,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -734,9 +748,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Standard.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -826,9 +842,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Standard.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -923,9 +941,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Standard.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -988,7 +1008,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Standard.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Standard.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1060,9 +1081,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Explode.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1141,9 +1164,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Explode.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1222,9 +1247,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Explode.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1287,7 +1314,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Explode.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.SimpleExpansion.Explode.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1337,7 +1365,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1408,9 +1437,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Standard.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1489,9 +1520,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Standard.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1570,9 +1603,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Standard.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1635,7 +1670,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Standard.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Standard.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1707,9 +1743,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Explode.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1788,9 +1826,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Explode.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1869,9 +1909,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Explode.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1934,7 +1976,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Explode.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.PathExpansion.Explode.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1984,7 +2027,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2055,9 +2099,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Standard.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2136,9 +2182,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Standard.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2217,9 +2265,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Standard.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2282,7 +2332,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Standard.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Standard.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2354,9 +2405,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Explode.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2435,9 +2488,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Explode.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2516,9 +2571,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Explode.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2581,7 +2638,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Explode.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.LabelExpansion.Explode.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2631,7 +2689,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2702,9 +2761,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Standard.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2783,9 +2844,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Standard.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2864,9 +2927,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Standard.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2929,7 +2994,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Standard.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Standard.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3001,9 +3067,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Explode.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3082,9 +3150,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Explode.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3163,9 +3233,11 @@ "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Explode.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3228,7 +3300,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Explode.endpoint" + "crossLanguageDefinitionId": "Routes.PathParameters.MatrixExpansion.Explode.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3303,9 +3376,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.templateOnly.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3389,9 +3464,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.explicit.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3475,9 +3552,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.annotationOnly.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3540,7 +3619,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.QueryParameters.endpoint" + "crossLanguageDefinitionId": "Routes.QueryParameters.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3586,7 +3666,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.endpoint" + "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3654,9 +3735,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Standard.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3732,9 +3815,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Standard.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3810,9 +3895,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Standard.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3875,7 +3962,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Standard.endpoint" + "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Standard.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3944,9 +4032,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Explode.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4022,9 +4112,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Explode.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4100,9 +4192,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Explode.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4165,7 +4259,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Explode.endpoint" + "crossLanguageDefinitionId": "Routes.QueryParameters.QueryExpansion.Explode.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4215,7 +4310,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.endpoint" + "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4283,9 +4379,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Standard.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4361,9 +4459,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Standard.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4439,9 +4539,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Standard.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4504,7 +4606,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Standard.endpoint" + "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Standard.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4573,9 +4676,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Explode.primitive.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4651,9 +4756,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Explode.array.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4729,9 +4836,11 @@ "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Explode.record.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4794,7 +4903,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Explode.endpoint" + "crossLanguageDefinitionId": "Routes.QueryParameters.QueryContinuation.Explode.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4886,7 +4996,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Routes.InInterface.endpoint" + "crossLanguageDefinitionId": "Routes.InInterface.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json index 5cd8972d32e..8858fdd5a70 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -50,6 +52,7 @@ "name": "JsonEncodedNameModel" } }, + "isExactName": false, "properties": [ { "$id": "6", @@ -75,7 +78,8 @@ "name": "wireName" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -117,7 +121,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Serialization.EncodedName.Json.endpoint" + "crossLanguageDefinitionId": "Serialization.EncodedName.Json.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -176,9 +181,11 @@ "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "17", @@ -214,9 +221,11 @@ "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.send.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -298,9 +307,11 @@ "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -373,7 +384,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.endpoint" + "crossLanguageDefinitionId": "Serialization.EncodedName.Json.Property.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json index 794cf4eb72c..b5822c403a9 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json @@ -71,7 +71,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Server.Endpoint.NotDefined.endpoint" + "crossLanguageDefinitionId": "Server.Endpoint.NotDefined.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json index 5b35e3dfecf..635e610ad76 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json @@ -37,7 +37,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -145,9 +146,11 @@ "crossLanguageDefinitionId": "Server.Path.Multiple.withOperationPathParam.keyword", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -201,7 +204,8 @@ "serverUrlTemplate": "{endpoint}/server/path/multiple/{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Server.Path.Multiple.endpoint" + "crossLanguageDefinitionId": "Server.Path.Multiple.endpoint", + "isExactName": false }, { "$id": "15", @@ -228,7 +232,8 @@ "serverUrlTemplate": "{endpoint}/server/path/multiple/{apiVersion}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Server.Path.Multiple.apiVersion" + "crossLanguageDefinitionId": "Server.Path.Multiple.apiVersion", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json index 59a70e3987f..f6cdd636604 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json @@ -71,7 +71,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Server.Path.Single.endpoint" + "crossLanguageDefinitionId": "Server.Path.Single.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json index 848d63daa02..6cfe7a57ffa 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json @@ -101,9 +101,11 @@ "crossLanguageDefinitionId": "Server.Versions.NotVersioned.withQueryApiVersion.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -190,9 +192,11 @@ "crossLanguageDefinitionId": "Server.Versions.NotVersioned.withPathApiVersion.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -246,7 +250,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Server.Versions.NotVersioned.endpoint" + "crossLanguageDefinitionId": "Server.Versions.NotVersioned.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json index f377693334f..47d32c8e905 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json @@ -52,7 +52,8 @@ "isFixed": true, "isFlags": false, "usage": "ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -178,9 +179,11 @@ "crossLanguageDefinitionId": "Server.Versions.Versioned.withQueryApiVersion.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -259,7 +262,8 @@ { "$ref": "13" } - ] + ], + "isExactName": false } ], "responses": [ @@ -335,7 +339,8 @@ { "$ref": "13" } - ] + ], + "isExactName": false } ], "responses": [ @@ -385,7 +390,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Server.Versions.Versioned.endpoint" + "crossLanguageDefinitionId": "Server.Versions.Versioned.endpoint", + "isExactName": false }, { "$ref": "13" diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json index fc8c03a6506..c2d406b5057 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json @@ -49,7 +49,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -95,7 +96,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -137,7 +139,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.endpoint" + "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.endpoint", + "isExactName": false }, { "$id": "13", @@ -163,7 +166,8 @@ "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.SubNamespace.subOpA.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } ], "initializedBy": 1, @@ -223,7 +227,8 @@ { "$ref": "13" } - ] + ], + "isExactName": false } ], "responses": [ @@ -282,7 +287,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.SubNamespace.endpoint" + "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.SubNamespace.endpoint", + "isExactName": false }, { "$ref": "13" @@ -370,9 +376,11 @@ "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.Operations.opA.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -431,7 +439,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.Operations.endpoint" + "crossLanguageDefinitionId": "Service.MultipleServices.ServiceA.Operations.endpoint", + "isExactName": false }, { "$ref": "28" @@ -488,7 +497,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.endpoint" + "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.endpoint", + "isExactName": false }, { "$id": "37", @@ -514,7 +524,8 @@ "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.SubNamespace.subOpB.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } ], "initializedBy": 1, @@ -574,7 +585,8 @@ { "$ref": "37" } - ] + ], + "isExactName": false } ], "responses": [ @@ -633,7 +645,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.SubNamespace.endpoint" + "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.SubNamespace.endpoint", + "isExactName": false }, { "$ref": "37" @@ -721,9 +734,11 @@ "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.Operations.opB.apiVersion", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -782,7 +797,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.Operations.endpoint" + "crossLanguageDefinitionId": "Service.MultipleServices.ServiceB.Operations.endpoint", + "isExactName": false }, { "$ref": "52" diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json index 3c5cb500508..039ecfa503e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json @@ -67,9 +67,11 @@ "crossLanguageDefinitionId": "SpecialHeaders.ConditionalRequest.postIfMatch.ifMatch", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -157,9 +159,11 @@ "crossLanguageDefinitionId": "SpecialHeaders.ConditionalRequest.postIfNoneMatch.ifNoneMatch", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -263,9 +267,11 @@ "crossLanguageDefinitionId": "SpecialHeaders.ConditionalRequest.headIfModifiedSince.ifModifiedSince", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -369,9 +375,11 @@ "crossLanguageDefinitionId": "SpecialHeaders.ConditionalRequest.postIfUnmodifiedSince.ifUnmodifiedSince", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -434,7 +442,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialHeaders.ConditionalRequest.endpoint" + "crossLanguageDefinitionId": "SpecialHeaders.ConditionalRequest.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json index bf8222f35a3..d328b190725 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json @@ -46,7 +46,8 @@ "isFixed": true, "isFlags": false, "usage": "Output", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [], @@ -112,9 +113,11 @@ "crossLanguageDefinitionId": "SpecialHeaders.Repeatability.immediateSuccess.repeatabilityRequestID", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "12", @@ -171,9 +174,11 @@ "crossLanguageDefinitionId": "SpecialHeaders.Repeatability.immediateSuccess.repeatabilityFirstSent", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -248,7 +253,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialHeaders.Repeatability.endpoint" + "crossLanguageDefinitionId": "SpecialHeaders.Repeatability.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json index eef64cf4568..2ea711c2d61 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json @@ -450,7 +450,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -468,7 +469,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "38", @@ -484,7 +486,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "40", @@ -500,7 +503,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "42", @@ -516,7 +520,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "44", @@ -532,7 +537,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "46", @@ -548,7 +554,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "48", @@ -564,7 +571,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "50", @@ -580,7 +588,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "52", @@ -596,7 +605,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "54", @@ -612,7 +622,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "56", @@ -628,7 +639,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "58", @@ -644,7 +656,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "60", @@ -660,7 +673,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "62", @@ -676,7 +690,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "64", @@ -692,7 +707,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "66", @@ -708,7 +724,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "68", @@ -724,7 +741,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "70", @@ -740,7 +758,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "72", @@ -756,7 +775,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "74", @@ -772,7 +792,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "76", @@ -788,7 +809,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "78", @@ -804,7 +826,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "80", @@ -820,7 +843,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "82", @@ -836,7 +860,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "84", @@ -852,7 +877,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "86", @@ -868,7 +894,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "88", @@ -884,7 +911,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "90", @@ -900,7 +928,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "92", @@ -916,7 +945,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "94", @@ -932,7 +962,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "96", @@ -948,7 +979,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "98", @@ -964,7 +996,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "100", @@ -980,7 +1013,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "102", @@ -996,7 +1030,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "104", @@ -1012,7 +1047,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "106", @@ -1028,7 +1064,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "108", @@ -1044,7 +1081,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "110", @@ -1060,7 +1098,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "112", @@ -1076,7 +1115,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "114", @@ -1092,7 +1132,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "116", @@ -1108,7 +1149,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -1125,6 +1167,7 @@ "name": "and" } }, + "isExactName": false, "properties": [ { "$id": "119", @@ -1149,7 +1192,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1166,6 +1210,7 @@ "name": "as" } }, + "isExactName": false, "properties": [ { "$id": "122", @@ -1190,7 +1235,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1207,6 +1253,7 @@ "name": "assert" } }, + "isExactName": false, "properties": [ { "$id": "125", @@ -1231,7 +1278,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1248,6 +1296,7 @@ "name": "async" } }, + "isExactName": false, "properties": [ { "$id": "128", @@ -1272,7 +1321,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1289,6 +1339,7 @@ "name": "await" } }, + "isExactName": false, "properties": [ { "$id": "131", @@ -1313,7 +1364,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1330,6 +1382,7 @@ "name": "break" } }, + "isExactName": false, "properties": [ { "$id": "134", @@ -1354,7 +1407,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1371,6 +1425,7 @@ "name": "class" } }, + "isExactName": false, "properties": [ { "$id": "137", @@ -1395,7 +1450,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1412,6 +1468,7 @@ "name": "constructor" } }, + "isExactName": false, "properties": [ { "$id": "140", @@ -1436,7 +1493,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1453,6 +1511,7 @@ "name": "continue" } }, + "isExactName": false, "properties": [ { "$id": "143", @@ -1477,7 +1536,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1494,6 +1554,7 @@ "name": "def" } }, + "isExactName": false, "properties": [ { "$id": "146", @@ -1518,7 +1579,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1535,6 +1597,7 @@ "name": "del" } }, + "isExactName": false, "properties": [ { "$id": "149", @@ -1559,7 +1622,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1576,6 +1640,7 @@ "name": "elif" } }, + "isExactName": false, "properties": [ { "$id": "152", @@ -1600,7 +1665,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1617,6 +1683,7 @@ "name": "else" } }, + "isExactName": false, "properties": [ { "$id": "155", @@ -1641,7 +1708,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1658,6 +1726,7 @@ "name": "except" } }, + "isExactName": false, "properties": [ { "$id": "158", @@ -1682,7 +1751,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1699,6 +1769,7 @@ "name": "exec" } }, + "isExactName": false, "properties": [ { "$id": "161", @@ -1723,7 +1794,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1740,6 +1812,7 @@ "name": "finally" } }, + "isExactName": false, "properties": [ { "$id": "164", @@ -1764,7 +1837,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1781,6 +1855,7 @@ "name": "for" } }, + "isExactName": false, "properties": [ { "$id": "167", @@ -1805,7 +1880,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1822,6 +1898,7 @@ "name": "from" } }, + "isExactName": false, "properties": [ { "$id": "170", @@ -1846,7 +1923,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1863,6 +1941,7 @@ "name": "global" } }, + "isExactName": false, "properties": [ { "$id": "173", @@ -1887,7 +1966,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1904,6 +1984,7 @@ "name": "if" } }, + "isExactName": false, "properties": [ { "$id": "176", @@ -1928,7 +2009,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1945,6 +2027,7 @@ "name": "import" } }, + "isExactName": false, "properties": [ { "$id": "179", @@ -1969,7 +2052,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1986,6 +2070,7 @@ "name": "in" } }, + "isExactName": false, "properties": [ { "$id": "182", @@ -2010,7 +2095,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2027,6 +2113,7 @@ "name": "is" } }, + "isExactName": false, "properties": [ { "$id": "185", @@ -2051,7 +2138,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2068,6 +2156,7 @@ "name": "lambda" } }, + "isExactName": false, "properties": [ { "$id": "188", @@ -2092,7 +2181,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2109,6 +2199,7 @@ "name": "not" } }, + "isExactName": false, "properties": [ { "$id": "191", @@ -2133,7 +2224,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2150,6 +2242,7 @@ "name": "or" } }, + "isExactName": false, "properties": [ { "$id": "194", @@ -2174,7 +2267,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2191,6 +2285,7 @@ "name": "pass" } }, + "isExactName": false, "properties": [ { "$id": "197", @@ -2215,7 +2310,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2232,6 +2328,7 @@ "name": "raise" } }, + "isExactName": false, "properties": [ { "$id": "200", @@ -2256,7 +2353,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2273,6 +2371,7 @@ "name": "return" } }, + "isExactName": false, "properties": [ { "$id": "203", @@ -2297,7 +2396,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2314,6 +2414,7 @@ "name": "try" } }, + "isExactName": false, "properties": [ { "$id": "206", @@ -2338,7 +2439,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2355,6 +2457,7 @@ "name": "while" } }, + "isExactName": false, "properties": [ { "$id": "209", @@ -2379,7 +2482,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2396,6 +2500,7 @@ "name": "with" } }, + "isExactName": false, "properties": [ { "$id": "212", @@ -2420,7 +2525,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2437,6 +2543,7 @@ "name": "yield" } }, + "isExactName": false, "properties": [ { "$id": "215", @@ -2461,7 +2568,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2478,6 +2586,7 @@ "name": "SameAsModel" } }, + "isExactName": false, "properties": [ { "$id": "218", @@ -2502,7 +2611,8 @@ "name": "SameAsModel" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2519,6 +2629,7 @@ "name": "DictMethods" } }, + "isExactName": false, "properties": [ { "$id": "221", @@ -2543,7 +2654,8 @@ "name": "keys" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "223", @@ -2568,7 +2680,8 @@ "name": "items" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "225", @@ -2593,7 +2706,8 @@ "name": "values" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "227", @@ -2618,7 +2732,8 @@ "name": "popitem" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "229", @@ -2643,7 +2758,8 @@ "name": "clear" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "231", @@ -2668,7 +2784,8 @@ "name": "update" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "233", @@ -2693,7 +2810,8 @@ "name": "setdefault" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "235", @@ -2718,7 +2836,8 @@ "name": "pop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "237", @@ -2743,7 +2862,8 @@ "name": "get" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "239", @@ -2768,7 +2888,8 @@ "name": "copy" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2785,6 +2906,7 @@ "name": "ModelWithList" } }, + "isExactName": false, "properties": [ { "$id": "242", @@ -2809,7 +2931,8 @@ "name": "list" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2826,6 +2949,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "245", @@ -2857,7 +2981,8 @@ "name": "items" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -2899,7 +3024,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialWords.endpoint" + "crossLanguageDefinitionId": "SpecialWords.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -2959,9 +3085,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAnd.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "257", @@ -2997,9 +3125,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAnd.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3083,9 +3213,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAs.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "263", @@ -3121,9 +3253,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAs.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3207,9 +3341,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAssert.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "269", @@ -3245,9 +3381,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAssert.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3331,9 +3469,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAsync.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "275", @@ -3369,9 +3509,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAsync.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3455,9 +3597,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAwait.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "281", @@ -3493,9 +3637,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withAwait.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3579,9 +3725,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withBreak.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "287", @@ -3617,9 +3765,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withBreak.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3703,9 +3853,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withClass.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "293", @@ -3741,9 +3893,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withClass.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3827,9 +3981,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withConstructor.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "299", @@ -3865,9 +4021,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withConstructor.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3951,9 +4109,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withContinue.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "305", @@ -3989,9 +4149,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withContinue.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4075,9 +4237,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDef.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "311", @@ -4113,9 +4277,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDef.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4199,9 +4365,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "317", @@ -4237,9 +4405,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withDel.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4323,9 +4493,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElif.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "323", @@ -4361,9 +4533,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElif.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4447,9 +4621,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElse.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "329", @@ -4485,9 +4661,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withElse.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4571,9 +4749,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExcept.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "335", @@ -4609,9 +4789,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExcept.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4695,9 +4877,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExec.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "341", @@ -4733,9 +4917,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withExec.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4819,9 +5005,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFinally.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "347", @@ -4857,9 +5045,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFinally.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4943,9 +5133,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFor.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "353", @@ -4981,9 +5173,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFor.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5067,9 +5261,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFrom.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "359", @@ -5105,9 +5301,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withFrom.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5191,9 +5389,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withGlobal.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "365", @@ -5229,9 +5429,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withGlobal.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5315,9 +5517,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIf.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "371", @@ -5353,9 +5557,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIf.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5439,9 +5645,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withImport.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "377", @@ -5477,9 +5685,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withImport.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5563,9 +5773,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIn.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "383", @@ -5601,9 +5813,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIn.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5687,9 +5901,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIs.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "389", @@ -5725,9 +5941,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withIs.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5811,9 +6029,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withLambda.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "395", @@ -5849,9 +6069,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withLambda.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5935,9 +6157,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withNot.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "401", @@ -5973,9 +6197,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withNot.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6059,9 +6285,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withOr.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "407", @@ -6097,9 +6325,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withOr.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6183,9 +6413,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withPass.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "413", @@ -6221,9 +6453,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withPass.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6307,9 +6541,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withRaise.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "419", @@ -6345,9 +6581,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withRaise.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6431,9 +6669,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withReturn.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "425", @@ -6469,9 +6709,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withReturn.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6555,9 +6797,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withTry.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "431", @@ -6593,9 +6837,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withTry.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6679,9 +6925,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWhile.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "437", @@ -6717,9 +6965,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWhile.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6803,9 +7053,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWith.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "443", @@ -6841,9 +7093,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withWith.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6927,9 +7181,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withYield.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "449", @@ -6965,9 +7221,11 @@ "crossLanguageDefinitionId": "SpecialWords.Models.withYield.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7036,7 +7294,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialWords.Models.endpoint" + "crossLanguageDefinitionId": "SpecialWords.Models.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7100,9 +7359,11 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.sameAsModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "459", @@ -7138,9 +7399,11 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.sameAsModel.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7224,9 +7487,11 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "465", @@ -7262,9 +7527,11 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.dictMethods.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7348,9 +7615,11 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "471", @@ -7386,9 +7655,11 @@ "crossLanguageDefinitionId": "SpecialWords.ModelProperties.withList.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7457,7 +7728,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialWords.ModelProperties.endpoint" + "crossLanguageDefinitionId": "SpecialWords.ModelProperties.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7521,9 +7793,11 @@ "crossLanguageDefinitionId": "SpecialWords.ReservedOperationBodyParams.withItems.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "481", @@ -7559,9 +7833,11 @@ "crossLanguageDefinitionId": "SpecialWords.ReservedOperationBodyParams.withItems.items", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7630,7 +7906,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialWords.ReservedOperationBodyParams.endpoint" + "crossLanguageDefinitionId": "SpecialWords.ReservedOperationBodyParams.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7692,9 +7969,11 @@ "crossLanguageDefinitionId": "SpecialWords.ExtensibleStrings.putExtensibleStringValue.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "491", @@ -7727,9 +8006,11 @@ "crossLanguageDefinitionId": "SpecialWords.ExtensibleStrings.putExtensibleStringValue.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "493", @@ -7765,9 +8046,11 @@ "crossLanguageDefinitionId": "SpecialWords.ExtensibleStrings.putExtensibleStringValue.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7857,7 +8140,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialWords.ExtensibleStrings.endpoint" + "crossLanguageDefinitionId": "SpecialWords.ExtensibleStrings.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9160,7 +9444,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialWords.Operations.endpoint" + "crossLanguageDefinitionId": "SpecialWords.Operations.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9230,9 +9515,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAnd.and", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9316,9 +9603,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAs.as", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9402,9 +9691,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAssert.assert", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9488,9 +9779,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAsync.async", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9574,9 +9867,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withAwait.await", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9660,9 +9955,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withBreak.break", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9746,9 +10043,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withClass.class", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9832,9 +10131,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withConstructor.constructor", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9918,9 +10219,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withContinue.continue", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10004,9 +10307,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withDef.def", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10090,9 +10395,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withDel.del", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10176,9 +10483,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withElif.elif", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10262,9 +10571,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withElse.else", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10348,9 +10659,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withExcept.except", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10434,9 +10747,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withExec.exec", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10520,9 +10835,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withFinally.finally", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10606,9 +10923,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withFor.for", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10692,9 +11011,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withFrom.from", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10778,9 +11099,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withGlobal.global", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10864,9 +11187,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withIf.if", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10950,9 +11275,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withImport.import", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11036,9 +11363,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withIn.in", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11122,9 +11451,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withIs.is", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11208,9 +11539,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withLambda.lambda", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11294,9 +11627,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withNot.not", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11380,9 +11715,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withOr.or", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11466,9 +11803,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withPass.pass", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11552,9 +11891,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withRaise.raise", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11638,9 +11979,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withReturn.return", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11724,9 +12067,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withTry.try", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11810,9 +12155,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withWhile.while", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11896,9 +12243,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withWith.with", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11982,9 +12331,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withYield.yield", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12068,9 +12419,11 @@ "crossLanguageDefinitionId": "SpecialWords.Parameters.withCancellationToken.cancellationToken", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -12133,7 +12486,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "SpecialWords.Parameters.endpoint" + "crossLanguageDefinitionId": "SpecialWords.Parameters.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json index e4badd77189..4acf34447c4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -289,7 +306,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -305,7 +323,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -321,7 +340,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -337,7 +357,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -353,7 +374,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -369,7 +391,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -385,7 +408,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -401,7 +425,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -417,7 +442,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "53", @@ -433,7 +459,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -449,7 +476,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -467,6 +495,7 @@ "name": "InnerModel" } }, + "isExactName": false, "properties": [ { "$id": "58", @@ -492,7 +521,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "60", @@ -520,7 +550,8 @@ "name": "children" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -562,7 +593,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.endpoint" + "crossLanguageDefinitionId": "Type.Array.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -620,9 +652,11 @@ "crossLanguageDefinitionId": "Type.Array.Int32Value.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -721,9 +755,11 @@ "crossLanguageDefinitionId": "Type.Array.Int32Value.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "77", @@ -759,9 +795,11 @@ "crossLanguageDefinitionId": "Type.Array.Int32Value.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -830,7 +868,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.Int32Value.endpoint" + "crossLanguageDefinitionId": "Type.Array.Int32Value.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -892,9 +931,11 @@ "crossLanguageDefinitionId": "Type.Array.Int64Value.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -993,9 +1034,11 @@ "crossLanguageDefinitionId": "Type.Array.Int64Value.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "93", @@ -1031,9 +1074,11 @@ "crossLanguageDefinitionId": "Type.Array.Int64Value.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1102,7 +1147,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.Int64Value.endpoint" + "crossLanguageDefinitionId": "Type.Array.Int64Value.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1164,9 +1210,11 @@ "crossLanguageDefinitionId": "Type.Array.BooleanValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1265,9 +1313,11 @@ "crossLanguageDefinitionId": "Type.Array.BooleanValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "109", @@ -1303,9 +1353,11 @@ "crossLanguageDefinitionId": "Type.Array.BooleanValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1374,7 +1426,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.BooleanValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.BooleanValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1436,9 +1489,11 @@ "crossLanguageDefinitionId": "Type.Array.StringValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1537,9 +1592,11 @@ "crossLanguageDefinitionId": "Type.Array.StringValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "125", @@ -1575,9 +1632,11 @@ "crossLanguageDefinitionId": "Type.Array.StringValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1646,7 +1705,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.StringValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.StringValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1708,9 +1768,11 @@ "crossLanguageDefinitionId": "Type.Array.Float32Value.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1809,9 +1871,11 @@ "crossLanguageDefinitionId": "Type.Array.Float32Value.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "141", @@ -1847,9 +1911,11 @@ "crossLanguageDefinitionId": "Type.Array.Float32Value.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1918,7 +1984,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.Float32Value.endpoint" + "crossLanguageDefinitionId": "Type.Array.Float32Value.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1980,9 +2047,11 @@ "crossLanguageDefinitionId": "Type.Array.DatetimeValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2089,9 +2158,11 @@ "crossLanguageDefinitionId": "Type.Array.DatetimeValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "158", @@ -2127,9 +2198,11 @@ "crossLanguageDefinitionId": "Type.Array.DatetimeValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2198,7 +2271,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.DatetimeValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.DatetimeValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2260,9 +2334,11 @@ "crossLanguageDefinitionId": "Type.Array.DurationValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2369,9 +2445,11 @@ "crossLanguageDefinitionId": "Type.Array.DurationValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "175", @@ -2407,9 +2485,11 @@ "crossLanguageDefinitionId": "Type.Array.DurationValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2478,7 +2558,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.DurationValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.DurationValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2540,9 +2621,11 @@ "crossLanguageDefinitionId": "Type.Array.UnknownValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2641,9 +2724,11 @@ "crossLanguageDefinitionId": "Type.Array.UnknownValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "191", @@ -2679,9 +2764,11 @@ "crossLanguageDefinitionId": "Type.Array.UnknownValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2750,7 +2837,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.UnknownValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.UnknownValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2812,9 +2900,11 @@ "crossLanguageDefinitionId": "Type.Array.ModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2902,9 +2992,11 @@ "crossLanguageDefinitionId": "Type.Array.ModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "205", @@ -2940,9 +3032,11 @@ "crossLanguageDefinitionId": "Type.Array.ModelValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3011,7 +3105,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.ModelValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.ModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3073,9 +3168,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableFloatValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3179,9 +3276,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableFloatValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "222", @@ -3217,9 +3316,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableFloatValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3288,7 +3389,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.NullableFloatValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.NullableFloatValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3350,9 +3452,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableInt32Value.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3456,9 +3560,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableInt32Value.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "239", @@ -3494,9 +3600,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableInt32Value.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3565,7 +3673,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.NullableInt32Value.endpoint" + "crossLanguageDefinitionId": "Type.Array.NullableInt32Value.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3627,9 +3736,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3733,9 +3844,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "256", @@ -3771,9 +3884,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3842,7 +3957,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.NullableBooleanValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3904,9 +4020,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableStringValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4010,9 +4128,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableStringValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "273", @@ -4048,9 +4168,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableStringValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4119,7 +4241,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.NullableStringValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.NullableStringValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4181,9 +4304,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4283,9 +4408,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "289", @@ -4321,9 +4448,11 @@ "crossLanguageDefinitionId": "Type.Array.NullableModelValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4392,7 +4521,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Array.NullableModelValue.endpoint" + "crossLanguageDefinitionId": "Type.Array.NullableModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json index 5363105eae3..aae5f888e22 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -289,7 +306,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -305,7 +323,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -321,7 +340,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -337,7 +357,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -353,7 +374,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -371,6 +393,7 @@ "name": "InnerModel" } }, + "isExactName": false, "properties": [ { "$id": "46", @@ -396,7 +419,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "48", @@ -429,7 +453,8 @@ "name": "children" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -471,7 +496,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -529,9 +555,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int32Value.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -635,9 +663,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int32Value.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "67", @@ -673,9 +703,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int32Value.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -744,7 +776,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.Int32Value.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.Int32Value.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -806,9 +839,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int64Value.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -912,9 +947,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int64Value.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "84", @@ -950,9 +987,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Int64Value.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1021,7 +1060,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.Int64Value.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.Int64Value.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1083,9 +1123,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1189,9 +1231,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "101", @@ -1227,9 +1271,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1298,7 +1344,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.BooleanValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1360,9 +1407,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.StringValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1466,9 +1515,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.StringValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "118", @@ -1504,9 +1555,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.StringValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1575,7 +1628,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.StringValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.StringValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1637,9 +1691,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Float32Value.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1743,9 +1799,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Float32Value.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "135", @@ -1781,9 +1839,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.Float32Value.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1852,7 +1912,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.Float32Value.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.Float32Value.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1914,9 +1975,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2028,9 +2091,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "153", @@ -2066,9 +2131,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2137,7 +2204,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.DatetimeValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2199,9 +2267,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.DurationValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2313,9 +2383,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.DurationValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "171", @@ -2351,9 +2423,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.DurationValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2422,7 +2496,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.DurationValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.DurationValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2484,9 +2559,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2590,9 +2667,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "188", @@ -2628,9 +2707,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2699,7 +2780,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.UnknownValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2761,9 +2843,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.ModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2851,9 +2935,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.ModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "202", @@ -2889,9 +2975,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.ModelValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2960,7 +3048,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.ModelValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.ModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3022,9 +3111,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3112,9 +3203,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "216", @@ -3150,9 +3243,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3221,7 +3316,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.RecursiveModelValue.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3283,9 +3379,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3394,9 +3492,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "234", @@ -3432,9 +3532,11 @@ "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3503,7 +3605,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue.endpoint" + "crossLanguageDefinitionId": "Type.Dictionary.NullableFloatValue.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json index 3913d45a002..3eb5658da6f 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json @@ -119,7 +119,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -137,7 +138,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -153,7 +155,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -169,7 +172,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -185,7 +189,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "18", @@ -201,7 +206,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -217,7 +223,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "22", @@ -233,7 +240,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "24", @@ -249,7 +257,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [], @@ -289,7 +298,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Enum.Extensible.endpoint" + "crossLanguageDefinitionId": "Type.Enum.Extensible.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -346,9 +356,11 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.getKnownValue.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -442,9 +454,11 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.getUnknownValue.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -538,9 +552,11 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.putKnownValue.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "43", @@ -576,9 +592,11 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.putKnownValue.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -660,9 +678,11 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.putUnknownValue.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "49", @@ -698,9 +718,11 @@ "crossLanguageDefinitionId": "Type.Enum.Extensible.String.putUnknownValue.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -769,7 +791,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Enum.Extensible.String.endpoint" + "crossLanguageDefinitionId": "Type.Enum.Extensible.String.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json index 92dcfe78c6e..60af74f9740 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json @@ -119,7 +119,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -137,7 +138,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -153,7 +155,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -169,7 +172,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -185,7 +189,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "18", @@ -201,7 +206,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -217,7 +223,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [], @@ -257,7 +264,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Enum.Fixed.endpoint" + "crossLanguageDefinitionId": "Type.Enum.Fixed.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -316,9 +324,11 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.getKnownValue.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -414,9 +424,11 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.putKnownValue.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "35", @@ -454,9 +466,11 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.putKnownValue.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -540,9 +554,11 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.putUnknownValue.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "41", @@ -580,9 +596,11 @@ "crossLanguageDefinitionId": "Type.Enum.Fixed.String.putUnknownValue.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -651,7 +669,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Enum.Fixed.String.endpoint" + "crossLanguageDefinitionId": "Type.Enum.Fixed.String.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json index bffe051f54a..0eabae5aa88 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -83,6 +87,7 @@ "name": "EmptyInput" } }, + "isExactName": false, "properties": [] }, { @@ -99,6 +104,7 @@ "name": "EmptyOutput" } }, + "isExactName": false, "properties": [] }, { @@ -115,6 +121,7 @@ "name": "EmptyInputOutput" } }, + "isExactName": false, "properties": [] } ], @@ -171,9 +178,11 @@ "crossLanguageDefinitionId": "Type.Model.Empty.putEmpty.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "17", @@ -209,9 +218,11 @@ "crossLanguageDefinitionId": "Type.Model.Empty.putEmpty.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -293,9 +304,11 @@ "crossLanguageDefinitionId": "Type.Model.Empty.getEmpty.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -383,9 +396,11 @@ "crossLanguageDefinitionId": "Type.Model.Empty.postRoundTripEmpty.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "27", @@ -418,9 +433,11 @@ "crossLanguageDefinitionId": "Type.Model.Empty.postRoundTripEmpty.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "29", @@ -456,9 +473,11 @@ "crossLanguageDefinitionId": "Type.Model.Empty.postRoundTripEmpty.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -540,7 +559,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Empty.endpoint" + "crossLanguageDefinitionId": "Type.Model.Empty.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json index 5e054c1ab67..abeaf3a8c7d 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -35,7 +35,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -70,7 +71,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -88,7 +90,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -104,7 +107,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -120,7 +124,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -136,7 +141,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -152,7 +158,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -168,7 +175,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -184,7 +192,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -200,7 +209,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -218,6 +228,7 @@ "name": "Dog" } }, + "isExactName": false, "discriminatorProperty": { "$id": "24", "kind": "property", @@ -238,7 +249,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -268,7 +280,8 @@ "name": "weight" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -287,6 +300,7 @@ "name": "Golden" } }, + "isExactName": false, "baseModel": { "$ref": "23" }, @@ -362,7 +376,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -385,6 +400,7 @@ "name": "Snake" } }, + "isExactName": false, "discriminatorProperty": { "$id": "34", "kind": "property", @@ -405,7 +421,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -435,7 +452,8 @@ "name": "length" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -454,6 +472,7 @@ "name": "Cobra" } }, + "isExactName": false, "baseModel": { "$ref": "33" }, @@ -529,7 +548,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -592,9 +612,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -684,9 +706,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putExtensibleModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "52", @@ -724,9 +748,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putExtensibleModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -810,9 +836,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelMissingDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -900,9 +928,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getExtensibleModelWrongDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -990,9 +1020,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getFixedModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1082,9 +1114,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putFixedModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "70", @@ -1122,9 +1156,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.putFixedModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1208,9 +1244,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getFixedModelMissingDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1298,9 +1336,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.getFixedModelWrongDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1373,7 +1413,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.endpoint" + "crossLanguageDefinitionId": "Type.Model.Inheritance.EnumDiscriminator.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json index 0ed6ddbb372..6ba179b0bb3 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "shark", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "saw", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "goblin", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "salmon", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -179,6 +189,7 @@ "name": "Fish" } }, + "isExactName": false, "discriminatorProperty": { "$id": "22", "kind": "property", @@ -203,7 +214,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -232,7 +244,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -251,6 +264,7 @@ "name": "Shark" } }, + "isExactName": false, "discriminatorProperty": { "$id": "27", "kind": "property", @@ -274,7 +288,8 @@ "name": "sharktype" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "baseModel": { "$ref": "21" @@ -299,7 +314,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$ref": "27" @@ -321,6 +337,7 @@ "name": "SawShark" } }, + "isExactName": false, "baseModel": { "$ref": "26" }, @@ -344,7 +361,8 @@ "name": "sharktype" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -363,6 +381,7 @@ "name": "GoblinShark" } }, + "isExactName": false, "baseModel": { "$ref": "26" }, @@ -386,7 +405,8 @@ "name": "sharktype" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -407,6 +427,7 @@ "name": "Salmon" } }, + "isExactName": false, "baseModel": { "$ref": "21" }, @@ -430,7 +451,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "36", @@ -458,7 +480,8 @@ "name": "friends" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "38", @@ -491,7 +514,8 @@ "name": "hate" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "41", @@ -512,7 +536,8 @@ "name": "partner" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -582,9 +607,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.getModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -672,9 +699,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.putModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "51", @@ -710,9 +739,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.putModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -794,9 +825,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.getRecursiveModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -884,9 +917,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.putRecursiveModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "61", @@ -922,9 +957,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.putRecursiveModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1006,9 +1043,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.getMissingDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1094,9 +1133,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.getWrongDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1169,7 +1210,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.endpoint" + "crossLanguageDefinitionId": "Type.Model.Inheritance.NestedDiscriminator.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json index a3219542374..1ad975d9f3f 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -83,6 +87,7 @@ "name": "Siamese" } }, + "isExactName": false, "baseModel": { "$id": "10", "kind": "model", @@ -97,6 +102,7 @@ "name": "Cat" } }, + "isExactName": false, "baseModel": { "$id": "11", "kind": "model", @@ -111,6 +117,7 @@ "name": "Pet" } }, + "isExactName": false, "properties": [ { "$id": "12", @@ -135,7 +142,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -163,7 +171,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -191,7 +200,8 @@ "name": "smart" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -255,9 +265,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.postValid.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "23", @@ -293,9 +305,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.postValid.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -377,9 +391,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.getValid.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -467,9 +483,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.putValid.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "33", @@ -502,9 +520,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.putValid.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "35", @@ -540,9 +560,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.putValid.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -624,7 +646,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.endpoint" + "crossLanguageDefinitionId": "Type.Model.Inheritance.NotDiscriminated.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json index fb0cc0897f6..34db8141714 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -51,6 +53,7 @@ "name": "Extension" } }, + "isExactName": false, "baseModel": { "$id": "6", "kind": "model", @@ -65,6 +68,7 @@ "name": "Element" } }, + "isExactName": false, "properties": [ { "$id": "7", @@ -92,7 +96,8 @@ "name": "extension" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -120,7 +125,8 @@ "name": "level" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -181,9 +187,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "16", @@ -219,9 +227,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.put.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -303,9 +313,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -378,7 +390,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.endpoint" + "crossLanguageDefinitionId": "Type.Model.Inheritance.Recursive.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json index 8ad4c63641c..861f20656e6 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "seagull", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "sparrow", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "goose", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "eagle", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "t-rex", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -211,6 +223,7 @@ "name": "Bird" } }, + "isExactName": false, "discriminatorProperty": { "$id": "26", "kind": "property", @@ -234,7 +247,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -263,7 +277,8 @@ "name": "wingspan" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -282,6 +297,7 @@ "name": "SeaGull" } }, + "isExactName": false, "baseModel": { "$ref": "25" }, @@ -305,7 +321,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -324,6 +341,7 @@ "name": "Sparrow" } }, + "isExactName": false, "baseModel": { "$ref": "25" }, @@ -347,7 +365,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -366,6 +385,7 @@ "name": "Goose" } }, + "isExactName": false, "baseModel": { "$ref": "25" }, @@ -389,7 +409,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -408,6 +429,7 @@ "name": "Eagle" } }, + "isExactName": false, "baseModel": { "$ref": "25" }, @@ -431,7 +453,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "38", @@ -459,7 +482,8 @@ "name": "friends" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "40", @@ -492,7 +516,8 @@ "name": "hate" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "43", @@ -513,7 +538,8 @@ "name": "partner" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -545,6 +571,7 @@ "name": "Dinosaur" } }, + "isExactName": false, "discriminatorProperty": { "$id": "45", "kind": "property", @@ -569,7 +596,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -598,7 +626,8 @@ "name": "size" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ], "discriminatedSubtypes": { @@ -617,6 +646,7 @@ "name": "TRex" } }, + "isExactName": false, "baseModel": { "$ref": "44" }, @@ -640,7 +670,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -701,9 +732,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -791,9 +824,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "60", @@ -829,9 +864,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -913,9 +950,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getRecursiveModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1003,9 +1042,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putRecursiveModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "70", @@ -1041,9 +1082,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.putRecursiveModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1125,9 +1168,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getMissingDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1213,9 +1258,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getWrongDiscriminator.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1301,9 +1348,11 @@ "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.getLegacyModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1376,7 +1425,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.endpoint" + "crossLanguageDefinitionId": "Type.Model.Inheritance.SingleDiscriminator.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json index 93c05672fbf..85cb5fabf76 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -83,6 +87,7 @@ "name": "InputRecord" } }, + "isExactName": false, "properties": [ { "$id": "10", @@ -107,7 +112,8 @@ "name": "requiredProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -125,6 +131,7 @@ "name": "OutputRecord" } }, + "isExactName": false, "properties": [ { "$id": "13", @@ -149,7 +156,8 @@ "name": "requiredProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -167,6 +175,7 @@ "name": "InputOutputRecord" } }, + "isExactName": false, "properties": [ { "$id": "16", @@ -191,7 +200,8 @@ "name": "requiredProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -249,9 +259,11 @@ "crossLanguageDefinitionId": "Type.Model.Usage.input.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "23", @@ -287,9 +299,11 @@ "crossLanguageDefinitionId": "Type.Model.Usage.input.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -371,9 +385,11 @@ "crossLanguageDefinitionId": "Type.Model.Usage.output.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -461,9 +477,11 @@ "crossLanguageDefinitionId": "Type.Model.Usage.inputAndOutput.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "33", @@ -496,9 +514,11 @@ "crossLanguageDefinitionId": "Type.Model.Usage.inputAndOutput.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "35", @@ -534,9 +554,11 @@ "crossLanguageDefinitionId": "Type.Model.Usage.inputAndOutput.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -618,7 +640,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Usage.endpoint" + "crossLanguageDefinitionId": "Type.Model.Usage.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json index 86994c21882..7419c5279b4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -163,6 +172,7 @@ "name": "VisibilityModel" } }, + "isExactName": false, "properties": [ { "$id": "20", @@ -188,7 +198,8 @@ "name": "readProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "22", @@ -214,7 +225,8 @@ "name": "queryProp" } }, - "isHttpMetadata": true + "isHttpMetadata": true, + "isExactName": false }, { "$id": "24", @@ -247,7 +259,8 @@ "name": "createProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "27", @@ -280,7 +293,8 @@ "name": "updateProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "30", @@ -306,7 +320,8 @@ "name": "deleteProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -324,6 +339,7 @@ "name": "ReadOnlyModel" } }, + "isExactName": false, "properties": [ { "$id": "33", @@ -350,7 +366,8 @@ "name": "optionalNullableIntList" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "35", @@ -388,7 +405,8 @@ "name": "optionalStringRecord" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -449,7 +467,8 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.getModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -467,9 +486,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.VisibilityModel.queryProp", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "46", @@ -504,9 +525,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.getModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "48", @@ -539,9 +562,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.getModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "50", @@ -565,7 +590,8 @@ { "$ref": "44" } - ] + ], + "isExactName": false } ], "responses": [ @@ -665,12 +691,14 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.headModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$ref": "45" } - ] + ], + "isExactName": false }, { "$id": "56", @@ -705,9 +733,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.headModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "58", @@ -731,7 +761,8 @@ { "$ref": "55" } - ] + ], + "isExactName": false } ], "responses": [ @@ -815,9 +846,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.putModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "63", @@ -853,9 +886,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.putModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -939,9 +974,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.patchModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "69", @@ -977,9 +1014,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.patchModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1063,9 +1102,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.postModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "75", @@ -1101,9 +1142,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.postModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1187,9 +1230,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.deleteModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "81", @@ -1225,9 +1270,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.deleteModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1311,9 +1358,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.putReadOnlyModel.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "87", @@ -1346,9 +1395,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.putReadOnlyModel.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "89", @@ -1384,9 +1435,11 @@ "crossLanguageDefinitionId": "Type.Model.Visibility.putReadOnlyModel.input", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1468,7 +1521,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Model.Visibility.endpoint" + "crossLanguageDefinitionId": "Type.Model.Visibility.endpoint", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json index aee155076ae..dde978aae3e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "derived", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "derived", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "kind0", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "kind1", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "kind1", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -289,7 +306,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -305,7 +323,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -321,7 +340,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -337,7 +357,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -353,7 +374,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -369,7 +391,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -385,7 +408,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -401,7 +425,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -417,7 +442,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "53", @@ -433,7 +459,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -449,7 +476,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "57", @@ -465,7 +493,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "59", @@ -481,7 +510,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "61", @@ -497,7 +527,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "63", @@ -513,7 +544,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "65", @@ -529,7 +561,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "67", @@ -545,7 +578,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "69", @@ -561,7 +595,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "71", @@ -577,7 +612,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "73", @@ -593,7 +629,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "75", @@ -609,7 +646,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "77", @@ -625,7 +663,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "79", @@ -641,7 +680,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "81", @@ -657,7 +697,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "83", @@ -673,7 +714,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "85", @@ -689,7 +731,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "87", @@ -705,7 +748,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "89", @@ -721,7 +765,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "91", @@ -737,7 +782,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "93", @@ -753,7 +799,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "95", @@ -769,7 +816,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "97", @@ -785,7 +833,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "99", @@ -801,7 +850,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "101", @@ -817,7 +867,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "103", @@ -833,7 +884,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "105", @@ -849,7 +901,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "107", @@ -865,7 +918,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "109", @@ -881,7 +935,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "111", @@ -897,7 +952,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "113", @@ -913,7 +969,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "115", @@ -929,7 +986,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "117", @@ -945,7 +1003,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "119", @@ -961,7 +1020,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "121", @@ -977,7 +1037,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "123", @@ -993,7 +1054,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "125", @@ -1009,7 +1071,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "127", @@ -1025,7 +1088,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "129", @@ -1041,7 +1105,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "131", @@ -1057,7 +1122,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "133", @@ -1073,7 +1139,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -1091,6 +1158,7 @@ "name": "ExtendsUnknownAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "136", "kind": "unknown", @@ -1123,7 +1191,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1141,6 +1210,7 @@ "name": "ExtendsUnknownAdditionalPropertiesDerived" } }, + "isExactName": false, "baseModel": { "$ref": "135" }, @@ -1169,7 +1239,8 @@ "name": "index" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "142", @@ -1195,7 +1266,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1213,6 +1285,7 @@ "name": "ExtendsUnknownAdditionalPropertiesDiscriminated" } }, + "isExactName": false, "additionalProperties": { "$ref": "136" }, @@ -1240,7 +1313,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -1267,7 +1341,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$ref": "145" @@ -1289,6 +1364,7 @@ "name": "ExtendsUnknownAdditionalPropertiesDiscriminatedDerived" } }, + "isExactName": false, "baseModel": { "$ref": "144" }, @@ -1312,7 +1388,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "151", @@ -1338,7 +1415,8 @@ "name": "index" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "153", @@ -1364,7 +1442,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -1387,6 +1466,7 @@ "name": "IsUnknownAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "156", "kind": "unknown", @@ -1419,7 +1499,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1437,6 +1518,7 @@ "name": "IsUnknownAdditionalPropertiesDerived" } }, + "isExactName": false, "baseModel": { "$ref": "155" }, @@ -1465,7 +1547,8 @@ "name": "index" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "162", @@ -1491,7 +1574,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1509,6 +1593,7 @@ "name": "IsUnknownAdditionalPropertiesDiscriminated" } }, + "isExactName": false, "additionalProperties": { "$id": "165", "kind": "unknown", @@ -1540,7 +1625,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, "properties": [ { @@ -1567,7 +1653,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$ref": "166" @@ -1589,6 +1676,7 @@ "name": "IsUnknownAdditionalPropertiesDiscriminatedDerived" } }, + "isExactName": false, "baseModel": { "$ref": "164" }, @@ -1612,7 +1700,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "172", @@ -1638,7 +1727,8 @@ "name": "index" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "174", @@ -1664,7 +1754,8 @@ "name": "age" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -1687,6 +1778,7 @@ "name": "ExtendsStringAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "177", "kind": "string", @@ -1719,7 +1811,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1737,6 +1830,7 @@ "name": "IsStringAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "181", "kind": "string", @@ -1769,7 +1863,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1787,6 +1882,7 @@ "name": "SpreadStringRecord" } }, + "isExactName": false, "additionalProperties": { "$id": "185", "kind": "string", @@ -1819,7 +1915,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1837,6 +1934,7 @@ "name": "ExtendsFloatAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "189", "kind": "float32", @@ -1869,7 +1967,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1887,6 +1986,7 @@ "name": "IsFloatAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "193", "kind": "float32", @@ -1919,7 +2019,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1937,6 +2038,7 @@ "name": "SpreadFloatRecord" } }, + "isExactName": false, "additionalProperties": { "$id": "197", "kind": "float32", @@ -1969,7 +2071,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1987,6 +2090,7 @@ "name": "ExtendsModelAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "201", "kind": "model", @@ -2001,6 +2105,7 @@ "name": "ModelForRecord" } }, + "isExactName": false, "properties": [ { "$id": "202", @@ -2026,7 +2131,8 @@ "name": "state" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2050,7 +2156,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2071,6 +2178,7 @@ "name": "IsModelAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$ref": "201" }, @@ -2094,7 +2202,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2112,6 +2221,7 @@ "name": "SpreadModelRecord" } }, + "isExactName": false, "additionalProperties": { "$ref": "201" }, @@ -2135,7 +2245,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2153,6 +2264,7 @@ "name": "ExtendsModelArrayAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$id": "210", "kind": "array", @@ -2183,7 +2295,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2201,6 +2314,7 @@ "name": "IsModelArrayAdditionalProperties" } }, + "isExactName": false, "additionalProperties": { "$ref": "210" }, @@ -2224,7 +2338,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2241,6 +2356,7 @@ "name": "SpreadModelArrayRecord" } }, + "isExactName": false, "additionalProperties": { "$ref": "210" }, @@ -2264,7 +2380,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2282,6 +2399,7 @@ "name": "DifferentSpreadStringRecord" } }, + "isExactName": false, "additionalProperties": { "$id": "217", "kind": "string", @@ -2314,7 +2432,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2332,6 +2451,7 @@ "name": "DifferentSpreadFloatRecord" } }, + "isExactName": false, "additionalProperties": { "$id": "221", "kind": "float32", @@ -2364,7 +2484,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2382,6 +2503,7 @@ "name": "DifferentSpreadModelRecord" } }, + "isExactName": false, "additionalProperties": { "$ref": "201" }, @@ -2409,7 +2531,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2427,6 +2550,7 @@ "name": "DifferentSpreadModelArrayRecord" } }, + "isExactName": false, "additionalProperties": { "$ref": "210" }, @@ -2454,7 +2578,8 @@ "name": "knownProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2472,6 +2597,7 @@ "name": "DifferentSpreadStringDerived" } }, + "isExactName": false, "baseModel": { "$ref": "216" }, @@ -2500,7 +2626,8 @@ "name": "derivedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2518,6 +2645,7 @@ "name": "DifferentSpreadFloatDerived" } }, + "isExactName": false, "baseModel": { "$ref": "220" }, @@ -2546,7 +2674,8 @@ "name": "derivedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2564,6 +2693,7 @@ "name": "DifferentSpreadModelDerived" } }, + "isExactName": false, "baseModel": { "$ref": "224" }, @@ -2588,7 +2718,8 @@ "name": "derivedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2606,6 +2737,7 @@ "name": "DifferentSpreadModelArrayDerived" } }, + "isExactName": false, "baseModel": { "$ref": "227" }, @@ -2630,7 +2762,8 @@ "name": "derivedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2648,6 +2781,7 @@ "name": "MultipleSpreadRecord" } }, + "isExactName": false, "additionalProperties": { "$id": "241", "kind": "union", @@ -2669,7 +2803,8 @@ } ], "namespace": "", - "decorators": [] + "decorators": [], + "isExactName": false }, "properties": [ { @@ -2696,7 +2831,8 @@ "name": "flag" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2714,6 +2850,7 @@ "name": "SpreadRecordForUnion" } }, + "isExactName": false, "additionalProperties": { "$id": "247", "kind": "union", @@ -2735,7 +2872,8 @@ } ], "namespace": "Type.Property.AdditionalProperties", - "decorators": [] + "decorators": [], + "isExactName": false }, "properties": [ { @@ -2762,7 +2900,8 @@ "name": "flag" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2780,6 +2919,7 @@ "name": "SpreadRecordForNonDiscriminatedUnion" } }, + "isExactName": false, "additionalProperties": { "$id": "253", "kind": "union", @@ -2798,6 +2938,7 @@ "name": "WidgetData0" } }, + "isExactName": false, "properties": [ { "$id": "255", @@ -2818,7 +2959,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "256", @@ -2843,7 +2985,8 @@ "name": "fooProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2860,6 +3003,7 @@ "name": "WidgetData1" } }, + "isExactName": false, "properties": [ { "$id": "259", @@ -2880,7 +3024,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "260", @@ -2913,7 +3058,8 @@ "name": "start" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "263", @@ -2946,13 +3092,15 @@ "name": "end" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } ], "namespace": "Type.Property.AdditionalProperties", - "decorators": [] + "decorators": [], + "isExactName": false }, "properties": [ { @@ -2979,7 +3127,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3003,6 +3152,7 @@ "name": "SpreadRecordForNonDiscriminatedUnion2" } }, + "isExactName": false, "additionalProperties": { "$id": "269", "kind": "union", @@ -3021,6 +3171,7 @@ "name": "WidgetData2" } }, + "isExactName": false, "properties": [ { "$id": "271", @@ -3041,7 +3192,8 @@ "name": "kind" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "272", @@ -3066,7 +3218,8 @@ "name": "start" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3075,7 +3228,8 @@ } ], "namespace": "Type.Property.AdditionalProperties", - "decorators": [] + "decorators": [], + "isExactName": false }, "properties": [ { @@ -3102,7 +3256,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -3123,6 +3278,7 @@ "name": "SpreadRecordForNonDiscriminatedUnion3" } }, + "isExactName": false, "additionalProperties": { "$id": "277", "kind": "union", @@ -3143,7 +3299,8 @@ } ], "namespace": "Type.Property.AdditionalProperties", - "decorators": [] + "decorators": [], + "isExactName": false }, "properties": [ { @@ -3170,7 +3327,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -3212,7 +3370,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -3271,9 +3430,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3363,9 +3524,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "294", @@ -3403,9 +3566,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3474,7 +3639,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknown.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3537,9 +3703,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3629,9 +3797,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "308", @@ -3669,9 +3839,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3740,7 +3912,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3803,9 +3976,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3895,9 +4070,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "322", @@ -3935,9 +4112,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4006,7 +4185,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4069,9 +4249,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4161,9 +4343,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "336", @@ -4201,9 +4385,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4272,7 +4458,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknown.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4335,9 +4522,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4427,9 +4616,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "350", @@ -4467,9 +4658,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4538,7 +4731,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDerived.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4601,9 +4795,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4693,9 +4889,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "364", @@ -4733,9 +4931,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4804,7 +5004,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4867,9 +5068,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4959,9 +5162,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "378", @@ -4999,9 +5204,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5070,7 +5277,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5133,9 +5341,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5225,9 +5435,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "392", @@ -5265,9 +5477,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5336,7 +5550,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5399,9 +5614,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5491,9 +5708,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "406", @@ -5531,9 +5750,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5602,7 +5823,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5665,9 +5887,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5757,9 +5981,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "420", @@ -5797,9 +6023,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5868,7 +6096,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsFloat.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5931,9 +6160,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6023,9 +6254,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "434", @@ -6063,9 +6296,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6134,7 +6369,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsFloat.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6197,9 +6433,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6289,9 +6527,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "448", @@ -6329,9 +6569,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6400,7 +6642,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadFloat.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6463,9 +6706,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6555,9 +6800,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "462", @@ -6595,9 +6842,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6666,7 +6915,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6729,9 +6979,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6821,9 +7073,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "476", @@ -6861,9 +7115,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6932,7 +7188,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6995,9 +7252,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7087,9 +7346,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "490", @@ -7127,9 +7388,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7198,7 +7461,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7261,9 +7525,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7353,9 +7619,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "504", @@ -7393,9 +7661,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7464,7 +7734,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsModelArray.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7527,9 +7798,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7619,9 +7892,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "518", @@ -7659,9 +7934,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7730,7 +8007,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.IsModelArray.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7793,9 +8071,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7885,9 +8165,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "532", @@ -7925,9 +8207,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7996,7 +8280,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadModelArray.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8059,9 +8344,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8151,9 +8438,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "546", @@ -8191,9 +8480,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8262,7 +8553,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8325,9 +8617,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8417,9 +8711,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "560", @@ -8457,9 +8753,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8528,7 +8826,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentFloat.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8591,9 +8890,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8683,9 +8984,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "574", @@ -8723,9 +9026,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8794,7 +9099,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8857,9 +9163,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8949,9 +9257,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "588", @@ -8989,9 +9299,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9060,7 +9372,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9123,9 +9436,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9215,9 +9530,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "602", @@ -9255,9 +9572,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9326,7 +9645,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9389,9 +9709,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9481,9 +9803,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "616", @@ -9521,9 +9845,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9592,7 +9918,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9655,9 +9982,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9747,9 +10076,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "630", @@ -9787,9 +10118,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9858,7 +10191,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9921,9 +10255,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10013,9 +10349,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "644", @@ -10053,9 +10391,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10124,7 +10464,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10187,9 +10528,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10279,9 +10622,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "658", @@ -10319,9 +10664,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10390,7 +10737,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.MultipleSpread.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10453,9 +10801,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10545,9 +10895,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "672", @@ -10585,9 +10937,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10656,7 +11010,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordUnion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10719,9 +11074,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10811,9 +11168,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "686", @@ -10851,9 +11210,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10922,7 +11283,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10985,9 +11347,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11077,9 +11441,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "700", @@ -11117,9 +11483,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11188,7 +11556,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -11251,9 +11620,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11343,9 +11714,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "714", @@ -11383,9 +11756,11 @@ "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -11454,7 +11829,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.endpoint" + "crossLanguageDefinitionId": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json index b5af60fc245..090e6a95f9e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -289,7 +306,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -305,7 +323,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -321,7 +340,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -337,7 +357,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -353,7 +374,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -369,7 +391,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -385,7 +408,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -401,7 +425,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -417,7 +442,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "53", @@ -433,7 +459,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -449,7 +476,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "57", @@ -465,7 +493,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "59", @@ -481,7 +510,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "61", @@ -497,7 +527,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "63", @@ -513,7 +544,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "65", @@ -529,7 +561,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "67", @@ -545,7 +578,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "69", @@ -561,7 +595,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "71", @@ -577,7 +612,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "73", @@ -593,7 +629,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "75", @@ -609,7 +646,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "77", @@ -625,7 +663,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "79", @@ -641,7 +680,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "81", @@ -657,7 +697,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "83", @@ -673,7 +714,8 @@ "decorators": [] }, "value": "application/merge-patch+json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -691,6 +733,7 @@ "name": "StringProperty" } }, + "isExactName": false, "properties": [ { "$id": "86", @@ -716,7 +759,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "88", @@ -747,7 +791,8 @@ "name": "nullableProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -765,6 +810,7 @@ "name": "BytesProperty" } }, + "isExactName": false, "properties": [ { "$id": "92", @@ -790,7 +836,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "94", @@ -822,7 +869,8 @@ "name": "nullableProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -840,6 +888,7 @@ "name": "DatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "98", @@ -865,7 +914,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "100", @@ -904,7 +954,8 @@ "name": "nullableProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -922,6 +973,7 @@ "name": "DurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "105", @@ -947,7 +999,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "107", @@ -986,7 +1039,8 @@ "name": "nullableProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1004,6 +1058,7 @@ "name": "CollectionsByteProperty" } }, + "isExactName": false, "properties": [ { "$id": "112", @@ -1029,7 +1084,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "114", @@ -1068,7 +1124,8 @@ "name": "nullableProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1086,6 +1143,7 @@ "name": "CollectionsModelProperty" } }, + "isExactName": false, "properties": [ { "$id": "119", @@ -1111,7 +1169,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "121", @@ -1140,6 +1199,7 @@ "name": "InnerModel" } }, + "isExactName": false, "properties": [ { "$id": "125", @@ -1165,7 +1225,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1185,7 +1246,8 @@ "name": "nullableProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1206,6 +1268,7 @@ "name": "CollectionsStringProperty" } }, + "isExactName": false, "properties": [ { "$id": "128", @@ -1231,7 +1294,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "130", @@ -1269,7 +1333,8 @@ "name": "nullableProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -1311,7 +1376,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -1370,9 +1436,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.getNonNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1460,9 +1528,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.getNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1552,9 +1622,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.patchNonNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "151", @@ -1590,9 +1662,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.patchNonNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1678,9 +1752,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.patchNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "157", @@ -1716,9 +1792,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.String.patchNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1787,7 +1865,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.String.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.String.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1850,9 +1929,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.getNonNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1940,9 +2021,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.getNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2032,9 +2115,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.patchNonNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "175", @@ -2070,9 +2155,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.patchNonNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2158,9 +2245,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.patchNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "181", @@ -2196,9 +2285,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.patchNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2267,7 +2358,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.Bytes.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2330,9 +2422,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.getNonNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2420,9 +2514,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.getNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2512,9 +2608,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.patchNonNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "199", @@ -2550,9 +2648,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.patchNonNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2638,9 +2738,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.patchNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "205", @@ -2676,9 +2778,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.patchNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2747,7 +2851,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.Datetime.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2810,9 +2915,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.getNonNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2900,9 +3007,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.getNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2992,9 +3101,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.patchNonNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "223", @@ -3030,9 +3141,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.patchNonNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3118,9 +3231,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.patchNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "229", @@ -3156,9 +3271,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.patchNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3227,7 +3344,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.Duration.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3290,9 +3408,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.getNonNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3380,9 +3500,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.getNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3472,9 +3594,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.patchNonNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "247", @@ -3510,9 +3634,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.patchNonNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3598,9 +3724,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.patchNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "253", @@ -3636,9 +3764,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.patchNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3707,7 +3837,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsByte.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3770,9 +3901,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.getNonNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3860,9 +3993,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.getNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3952,9 +4087,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.patchNonNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "271", @@ -3990,9 +4127,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.patchNonNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4078,9 +4217,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.patchNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "277", @@ -4116,9 +4257,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.patchNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4187,7 +4330,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4250,9 +4394,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.getNonNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4340,9 +4486,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.getNull.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4432,9 +4580,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.patchNonNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "295", @@ -4470,9 +4620,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.patchNonNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4558,9 +4710,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.patchNull.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "301", @@ -4596,9 +4750,11 @@ "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.patchNull.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4667,7 +4823,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.endpoint" + "crossLanguageDefinitionId": "Type.Property.Nullable.CollectionsString.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json index d1420a3bf83..9e7bcae0af8 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json @@ -38,7 +38,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -76,7 +77,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -114,7 +116,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -160,7 +163,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -206,7 +210,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -252,7 +257,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -270,7 +276,8 @@ "decorators": [] }, "value": true, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -286,7 +293,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -302,7 +310,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -318,7 +327,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -334,7 +344,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -350,7 +361,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -366,7 +378,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -382,7 +395,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -398,7 +412,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -414,7 +429,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -430,7 +446,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -446,7 +463,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -462,7 +480,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -478,7 +497,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "53", @@ -494,7 +514,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -510,7 +531,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "57", @@ -526,7 +548,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "59", @@ -542,7 +565,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "61", @@ -558,7 +582,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "63", @@ -574,7 +599,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "65", @@ -590,7 +616,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "67", @@ -606,7 +633,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "69", @@ -622,7 +650,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "71", @@ -638,7 +667,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "73", @@ -654,7 +684,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "75", @@ -670,7 +701,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "77", @@ -686,7 +718,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "79", @@ -702,7 +735,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "81", @@ -718,7 +752,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "83", @@ -734,7 +769,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "85", @@ -750,7 +786,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "87", @@ -766,7 +803,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "89", @@ -782,7 +820,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "91", @@ -798,7 +837,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "93", @@ -814,7 +854,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "95", @@ -830,7 +871,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "97", @@ -846,7 +888,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "99", @@ -862,7 +905,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "101", @@ -878,7 +922,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "103", @@ -894,7 +939,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "105", @@ -910,7 +956,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "107", @@ -926,7 +973,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "109", @@ -942,7 +990,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "111", @@ -958,7 +1007,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "113", @@ -974,7 +1024,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "115", @@ -990,7 +1041,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "117", @@ -1006,7 +1058,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "119", @@ -1022,7 +1075,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "121", @@ -1038,7 +1092,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "123", @@ -1054,7 +1109,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "125", @@ -1070,7 +1126,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "127", @@ -1086,7 +1143,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "129", @@ -1102,7 +1160,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "131", @@ -1118,7 +1177,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "133", @@ -1134,7 +1194,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "135", @@ -1150,7 +1211,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "137", @@ -1166,7 +1228,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "139", @@ -1182,7 +1245,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "141", @@ -1198,7 +1262,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "143", @@ -1214,7 +1279,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "145", @@ -1230,7 +1296,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "147", @@ -1246,7 +1313,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "149", @@ -1262,7 +1330,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "151", @@ -1278,7 +1347,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "153", @@ -1294,7 +1364,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -1312,6 +1383,7 @@ "name": "StringProperty" } }, + "isExactName": false, "properties": [ { "$id": "156", @@ -1337,7 +1409,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1355,6 +1428,7 @@ "name": "BytesProperty" } }, + "isExactName": false, "properties": [ { "$id": "159", @@ -1381,7 +1455,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1399,6 +1474,7 @@ "name": "DatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "162", @@ -1432,7 +1508,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1450,6 +1527,7 @@ "name": "DurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "166", @@ -1483,7 +1561,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1501,6 +1580,7 @@ "name": "PlainDateProperty" } }, + "isExactName": false, "properties": [ { "$id": "170", @@ -1526,7 +1606,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1544,6 +1625,7 @@ "name": "PlainTimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "173", @@ -1569,7 +1651,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1587,6 +1670,7 @@ "name": "CollectionsByteProperty" } }, + "isExactName": false, "properties": [ { "$id": "176", @@ -1620,7 +1704,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1638,6 +1723,7 @@ "name": "CollectionsModelProperty" } }, + "isExactName": false, "properties": [ { "$id": "180", @@ -1666,7 +1752,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1684,6 +1771,7 @@ "name": "StringLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "183", @@ -1705,7 +1793,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1723,6 +1812,7 @@ "name": "IntLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "185", @@ -1744,7 +1834,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1762,6 +1853,7 @@ "name": "FloatLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "187", @@ -1783,7 +1875,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1801,6 +1894,7 @@ "name": "BooleanLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "189", @@ -1822,7 +1916,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1840,6 +1935,7 @@ "name": "UnionStringLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "191", @@ -1861,7 +1957,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1879,6 +1976,7 @@ "name": "UnionIntLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "193", @@ -1900,7 +1998,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1918,6 +2017,7 @@ "name": "UnionFloatLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "195", @@ -1939,7 +2039,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1957,6 +2058,7 @@ "name": "RequiredAndOptionalProperty" } }, + "isExactName": false, "properties": [ { "$id": "197", @@ -1982,7 +2084,8 @@ "name": "optionalProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "199", @@ -2008,7 +2111,8 @@ "name": "requiredProperty" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -2050,7 +2154,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -2109,9 +2214,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2199,9 +2306,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2291,9 +2400,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "218", @@ -2329,9 +2440,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2417,9 +2530,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "224", @@ -2455,9 +2570,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.String.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2526,7 +2643,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.String.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.String.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2589,9 +2707,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2679,9 +2799,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2771,9 +2893,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "242", @@ -2809,9 +2933,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2897,9 +3023,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "248", @@ -2935,9 +3063,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3006,7 +3136,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.Bytes.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3069,9 +3200,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3159,9 +3292,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3251,9 +3386,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "266", @@ -3289,9 +3426,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3377,9 +3516,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "272", @@ -3415,9 +3556,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3486,7 +3629,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.Datetime.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3549,9 +3693,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3639,9 +3785,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3731,9 +3879,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "290", @@ -3769,9 +3919,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3857,9 +4009,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "296", @@ -3895,9 +4049,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.Duration.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3966,7 +4122,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.Duration.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.Duration.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4029,9 +4186,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4119,9 +4278,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4211,9 +4372,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "314", @@ -4249,9 +4412,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4337,9 +4502,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "320", @@ -4375,9 +4542,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4446,7 +4615,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.PlainDate.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4509,9 +4679,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4599,9 +4771,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4691,9 +4865,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "338", @@ -4729,9 +4905,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4817,9 +4995,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "344", @@ -4855,9 +5035,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4926,7 +5108,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.PlainTime.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4989,9 +5172,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5079,9 +5264,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5171,9 +5358,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "362", @@ -5209,9 +5398,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5297,9 +5488,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "368", @@ -5335,9 +5528,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5406,7 +5601,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsByte.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5469,9 +5665,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5559,9 +5757,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5651,9 +5851,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "386", @@ -5689,9 +5891,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5777,9 +5981,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "392", @@ -5815,9 +6021,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5886,7 +6094,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.CollectionsModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5949,9 +6158,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6039,9 +6250,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6131,9 +6344,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "410", @@ -6169,9 +6384,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6257,9 +6474,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "416", @@ -6295,9 +6514,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6366,7 +6587,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.StringLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6429,9 +6651,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6519,9 +6743,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6611,9 +6837,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "434", @@ -6649,9 +6877,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6737,9 +6967,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "440", @@ -6775,9 +7007,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6846,7 +7080,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.IntLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6909,9 +7144,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6999,9 +7236,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7091,9 +7330,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "458", @@ -7129,9 +7370,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7217,9 +7460,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "464", @@ -7255,9 +7500,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7326,7 +7573,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.FloatLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7389,9 +7637,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7479,9 +7729,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7571,9 +7823,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "482", @@ -7609,9 +7863,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7697,9 +7953,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "488", @@ -7735,9 +7993,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7806,7 +8066,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.BooleanLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7869,9 +8130,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7959,9 +8222,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8051,9 +8316,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "506", @@ -8089,9 +8356,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8177,9 +8446,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "512", @@ -8215,9 +8486,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8286,7 +8559,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.UnionStringLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8349,9 +8623,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8439,9 +8715,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8531,9 +8809,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "530", @@ -8569,9 +8849,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8657,9 +8939,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "536", @@ -8695,9 +8979,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8766,7 +9052,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.UnionIntLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8829,9 +9116,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8919,9 +9208,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.getDefault.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9011,9 +9302,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "554", @@ -9049,9 +9342,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9137,9 +9432,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.putDefault.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "560", @@ -9175,9 +9472,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.putDefault.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9246,7 +9545,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.UnionFloatLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9310,9 +9610,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.getAll.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9400,9 +9702,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.getRequiredOnly.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9492,9 +9796,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.putAll.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "578", @@ -9530,9 +9836,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.putAll.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9618,9 +9926,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.putRequiredOnly.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "584", @@ -9656,9 +9966,11 @@ "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.putRequiredOnly.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9727,7 +10039,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.endpoint" + "crossLanguageDefinitionId": "Type.Property.Optional.RequiredAndOptional.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json index b5a52cb7a49..cabaa4d0648 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json @@ -49,7 +49,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -98,7 +99,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -144,7 +146,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -190,7 +193,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -236,7 +240,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -269,7 +274,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -287,7 +293,8 @@ "decorators": [] }, "value": "hello", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "26", @@ -303,7 +310,8 @@ "decorators": [] }, "value": 42, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "28", @@ -319,7 +327,8 @@ "decorators": [] }, "value": 43.125, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "30", @@ -335,7 +344,8 @@ "decorators": [] }, "value": true, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "32", @@ -351,7 +361,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "34", @@ -367,7 +378,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "36", @@ -383,7 +395,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "38", @@ -399,7 +412,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "40", @@ -415,7 +429,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "42", @@ -431,7 +446,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "44", @@ -447,7 +463,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "46", @@ -463,7 +480,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "48", @@ -479,7 +497,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "50", @@ -495,7 +514,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "52", @@ -511,7 +531,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "54", @@ -527,7 +548,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "56", @@ -543,7 +565,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "58", @@ -559,7 +582,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "60", @@ -575,7 +599,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "62", @@ -591,7 +616,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "64", @@ -607,7 +633,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "66", @@ -623,7 +650,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "68", @@ -639,7 +667,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "70", @@ -655,7 +684,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "72", @@ -671,7 +701,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "74", @@ -687,7 +718,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "76", @@ -703,7 +735,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "78", @@ -719,7 +752,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "80", @@ -735,7 +769,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "82", @@ -751,7 +786,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "84", @@ -767,7 +803,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "86", @@ -783,7 +820,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "88", @@ -799,7 +837,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "90", @@ -815,7 +854,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "92", @@ -831,7 +871,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "94", @@ -847,7 +888,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "96", @@ -863,7 +905,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "98", @@ -879,7 +922,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "100", @@ -895,7 +939,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "102", @@ -911,7 +956,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "104", @@ -927,7 +973,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "106", @@ -943,7 +990,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "108", @@ -959,7 +1007,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "110", @@ -975,7 +1024,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "112", @@ -991,7 +1041,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "114", @@ -1007,7 +1058,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "116", @@ -1023,7 +1075,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "118", @@ -1039,7 +1092,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "120", @@ -1055,7 +1109,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "122", @@ -1071,7 +1126,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "124", @@ -1087,7 +1143,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "126", @@ -1103,7 +1160,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "128", @@ -1119,7 +1177,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "130", @@ -1135,7 +1194,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "132", @@ -1151,7 +1211,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "134", @@ -1167,7 +1228,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "136", @@ -1183,7 +1245,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "138", @@ -1199,7 +1262,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "140", @@ -1215,7 +1279,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "142", @@ -1231,7 +1296,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "144", @@ -1247,7 +1313,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "146", @@ -1263,7 +1330,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -1281,6 +1349,7 @@ "name": "BooleanProperty" } }, + "isExactName": false, "properties": [ { "$id": "149", @@ -1306,7 +1375,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1324,6 +1394,7 @@ "name": "StringProperty" } }, + "isExactName": false, "properties": [ { "$id": "152", @@ -1349,7 +1420,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1367,6 +1439,7 @@ "name": "BytesProperty" } }, + "isExactName": false, "properties": [ { "$id": "155", @@ -1393,7 +1466,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1411,6 +1485,7 @@ "name": "IntProperty" } }, + "isExactName": false, "properties": [ { "$id": "158", @@ -1436,7 +1511,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1454,6 +1530,7 @@ "name": "FloatProperty" } }, + "isExactName": false, "properties": [ { "$id": "161", @@ -1479,7 +1556,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1497,6 +1575,7 @@ "name": "DecimalProperty" } }, + "isExactName": false, "properties": [ { "$id": "164", @@ -1522,7 +1601,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1540,6 +1620,7 @@ "name": "Decimal128Property" } }, + "isExactName": false, "properties": [ { "$id": "167", @@ -1565,7 +1646,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1583,6 +1665,7 @@ "name": "DatetimeProperty" } }, + "isExactName": false, "properties": [ { "$id": "170", @@ -1616,7 +1699,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1634,6 +1718,7 @@ "name": "DurationProperty" } }, + "isExactName": false, "properties": [ { "$id": "174", @@ -1667,7 +1752,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1685,6 +1771,7 @@ "name": "EnumProperty" } }, + "isExactName": false, "properties": [ { "$id": "178", @@ -1706,7 +1793,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1724,6 +1812,7 @@ "name": "ExtensibleEnumProperty" } }, + "isExactName": false, "properties": [ { "$id": "180", @@ -1745,7 +1834,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1763,6 +1853,7 @@ "name": "ModelProperty" } }, + "isExactName": false, "properties": [ { "$id": "182", @@ -1784,6 +1875,7 @@ "name": "InnerModel" } }, + "isExactName": false, "properties": [ { "$id": "184", @@ -1809,7 +1901,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1824,7 +1917,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1845,6 +1939,7 @@ "name": "CollectionsStringProperty" } }, + "isExactName": false, "properties": [ { "$id": "187", @@ -1877,7 +1972,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1895,6 +1991,7 @@ "name": "CollectionsIntProperty" } }, + "isExactName": false, "properties": [ { "$id": "191", @@ -1927,7 +2024,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1945,6 +2043,7 @@ "name": "CollectionsModelProperty" } }, + "isExactName": false, "properties": [ { "$id": "195", @@ -1973,7 +2072,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1991,6 +2091,7 @@ "name": "DictionaryStringProperty" } }, + "isExactName": false, "properties": [ { "$id": "198", @@ -2028,7 +2129,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2046,6 +2148,7 @@ "name": "NeverProperty" } }, + "isExactName": false, "properties": [] }, { @@ -2062,6 +2165,7 @@ "name": "UnknownStringProperty" } }, + "isExactName": false, "properties": [ { "$id": "204", @@ -2087,7 +2191,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2105,6 +2210,7 @@ "name": "UnknownIntProperty" } }, + "isExactName": false, "properties": [ { "$id": "207", @@ -2130,7 +2236,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2148,6 +2255,7 @@ "name": "UnknownDictProperty" } }, + "isExactName": false, "properties": [ { "$id": "210", @@ -2173,7 +2281,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2191,6 +2300,7 @@ "name": "UnknownArrayProperty" } }, + "isExactName": false, "properties": [ { "$id": "213", @@ -2216,7 +2326,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2234,6 +2345,7 @@ "name": "StringLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "216", @@ -2255,7 +2367,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2273,6 +2386,7 @@ "name": "IntLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "218", @@ -2294,7 +2408,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2312,6 +2427,7 @@ "name": "FloatLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "220", @@ -2333,7 +2449,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2351,6 +2468,7 @@ "name": "BooleanLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "222", @@ -2372,7 +2490,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2390,6 +2509,7 @@ "name": "UnionStringLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "224", @@ -2411,7 +2531,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2429,6 +2550,7 @@ "name": "UnionIntLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "226", @@ -2450,7 +2572,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2468,6 +2591,7 @@ "name": "UnionFloatLiteralProperty" } }, + "isExactName": false, "properties": [ { "$id": "228", @@ -2489,7 +2613,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2507,6 +2632,7 @@ "name": "UnionEnumValueProperty" } }, + "isExactName": false, "properties": [ { "$id": "230", @@ -2576,7 +2702,8 @@ "name": "property" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -2618,7 +2745,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -2677,9 +2805,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2769,9 +2899,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "248", @@ -2809,9 +2941,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2880,7 +3014,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Boolean.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2943,9 +3078,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.String.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3035,9 +3172,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.String.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "262", @@ -3075,9 +3214,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.String.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3146,7 +3287,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.String.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.String.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3209,9 +3351,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3301,9 +3445,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "276", @@ -3341,9 +3487,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3412,7 +3560,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Bytes.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3475,9 +3624,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3567,9 +3718,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "290", @@ -3607,9 +3760,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3678,7 +3833,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Int.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3741,9 +3897,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3833,9 +3991,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "304", @@ -3873,9 +4033,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3944,7 +4106,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Float.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4007,9 +4170,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4099,9 +4264,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "318", @@ -4139,9 +4306,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4210,7 +4379,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4273,9 +4443,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4365,9 +4537,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "332", @@ -4405,9 +4579,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4476,7 +4652,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Decimal128.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4539,9 +4716,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4631,9 +4810,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "346", @@ -4671,9 +4852,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4742,7 +4925,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Datetime.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4805,9 +4989,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4897,9 +5083,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "360", @@ -4937,9 +5125,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5008,7 +5198,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Duration.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5071,9 +5262,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5163,9 +5356,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "374", @@ -5203,9 +5398,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5274,7 +5471,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Enum.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5337,9 +5535,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5429,9 +5629,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "388", @@ -5469,9 +5671,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5540,7 +5744,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.ExtensibleEnum.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5603,9 +5808,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5695,9 +5902,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "402", @@ -5735,9 +5944,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5806,7 +6017,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Model.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -5869,9 +6081,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -5961,9 +6175,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "416", @@ -6001,9 +6217,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6072,7 +6290,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6135,9 +6354,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6227,9 +6448,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "430", @@ -6267,9 +6490,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6338,7 +6563,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsInt.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6401,9 +6627,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6493,9 +6721,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "444", @@ -6533,9 +6763,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6604,7 +6836,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.CollectionsModel.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6667,9 +6900,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6759,9 +6994,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "458", @@ -6799,9 +7036,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -6870,7 +7109,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.DictionaryString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -6933,9 +7173,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7025,9 +7267,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "472", @@ -7065,9 +7309,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7136,7 +7382,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.Never.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7199,9 +7446,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7291,9 +7540,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "486", @@ -7331,9 +7582,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7402,7 +7655,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownString.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7465,9 +7719,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7557,9 +7813,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "500", @@ -7597,9 +7855,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7668,7 +7928,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownInt.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7731,9 +7992,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7823,9 +8086,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "514", @@ -7863,9 +8128,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -7934,7 +8201,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownDict.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -7997,9 +8265,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8089,9 +8359,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "528", @@ -8129,9 +8401,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8200,7 +8474,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnknownArray.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8263,9 +8538,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8355,9 +8632,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "542", @@ -8395,9 +8674,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8466,7 +8747,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.StringLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8529,9 +8811,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8621,9 +8905,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "556", @@ -8661,9 +8947,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8732,7 +9020,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.IntLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -8795,9 +9084,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8887,9 +9178,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "570", @@ -8927,9 +9220,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -8998,7 +9293,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.FloatLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9061,9 +9357,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9153,9 +9451,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "584", @@ -9193,9 +9493,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9264,7 +9566,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.BooleanLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9327,9 +9630,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9419,9 +9724,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "598", @@ -9459,9 +9766,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9530,7 +9839,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionStringLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9593,9 +9903,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9685,9 +9997,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "612", @@ -9725,9 +10039,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9796,7 +10112,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionIntLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -9859,9 +10176,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -9951,9 +10270,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "626", @@ -9991,9 +10312,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10062,7 +10385,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionFloatLiteral.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -10125,9 +10449,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10217,9 +10543,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "640", @@ -10257,9 +10585,11 @@ "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -10328,7 +10658,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue.endpoint" + "crossLanguageDefinitionId": "Type.Property.ValueTypes.UnionEnumValue.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json index 74424877003..c064c1696da 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json @@ -17,7 +17,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "3", @@ -33,7 +34,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -49,7 +51,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -65,7 +68,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -81,7 +85,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -97,7 +102,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -113,7 +119,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -129,7 +136,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -145,7 +153,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -161,7 +170,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -177,7 +187,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -193,7 +204,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -209,7 +221,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -225,7 +238,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -241,7 +255,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -257,7 +272,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -273,7 +289,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -289,7 +306,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "37", @@ -305,7 +323,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "39", @@ -321,7 +340,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -337,7 +357,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "43", @@ -353,7 +374,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -369,7 +391,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "47", @@ -385,7 +408,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "49", @@ -401,7 +425,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [], @@ -441,7 +466,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -500,9 +526,11 @@ "crossLanguageDefinitionId": "Type.Scalar.String.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -602,9 +630,11 @@ "crossLanguageDefinitionId": "Type.Scalar.String.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "65", @@ -650,9 +680,11 @@ "crossLanguageDefinitionId": "Type.Scalar.String.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -721,7 +753,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.String.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.String.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -784,9 +817,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Boolean.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -886,9 +921,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Boolean.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "82", @@ -934,9 +971,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Boolean.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1005,7 +1044,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.Boolean.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.Boolean.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1068,9 +1108,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Unknown.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1170,9 +1212,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Unknown.put.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "99", @@ -1218,9 +1262,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Unknown.put.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1289,7 +1335,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.Unknown.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.Unknown.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1351,9 +1398,11 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.responseBody.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1451,9 +1500,11 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.requestBody.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "116", @@ -1497,9 +1548,11 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.requestBody.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1589,9 +1642,11 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalType.requestParameter.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1654,7 +1709,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.DecimalType.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.DecimalType.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -1716,9 +1772,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.responseBody.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1816,9 +1874,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.requestBody.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "139", @@ -1862,9 +1922,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.requestBody.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1954,9 +2016,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.requestParameter.value", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2019,7 +2083,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.Decimal128Type.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2081,9 +2146,11 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify.prepareVerify.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2180,9 +2247,11 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify.verify.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "163", @@ -2226,9 +2295,11 @@ "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify.verify.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2297,7 +2368,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.DecimalVerify.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2359,9 +2431,11 @@ "crossLanguageDefinitionId": "Type.Scalar.Decimal128Verify.prepareVerify.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2435,7 +2509,8 @@ { "$ref": "162" } - ] + ], + "isExactName": false }, { "$id": "178", @@ -2463,7 +2538,8 @@ { "$ref": "165" } - ] + ], + "isExactName": false } ], "responses": [ @@ -2532,7 +2608,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Scalar.Decimal128Verify.endpoint" + "crossLanguageDefinitionId": "Type.Scalar.Decimal128Verify.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json index c1ac537dca6..7ac5a047f0c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json @@ -59,7 +59,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -105,7 +106,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "10", @@ -151,7 +153,8 @@ "isFixed": false, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -210,7 +213,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -269,7 +273,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "24", @@ -341,7 +346,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "30", @@ -387,7 +393,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -405,7 +412,8 @@ "decorators": [] }, "value": "a", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "36", @@ -421,7 +429,8 @@ "decorators": [] }, "value": 2, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "38", @@ -437,7 +446,8 @@ "decorators": [] }, "value": 3.3, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "40", @@ -453,7 +463,8 @@ "decorators": [] }, "value": true, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "42", @@ -469,7 +480,8 @@ "decorators": [] }, "value": "a", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "44", @@ -485,7 +497,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "46", @@ -501,7 +514,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "48", @@ -517,7 +531,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "50", @@ -533,7 +548,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "52", @@ -549,7 +565,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "54", @@ -565,7 +582,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "56", @@ -581,7 +599,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "58", @@ -597,7 +616,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "60", @@ -613,7 +633,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "62", @@ -629,7 +650,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "64", @@ -645,7 +667,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "66", @@ -661,7 +684,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "68", @@ -677,7 +701,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "70", @@ -693,7 +718,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "72", @@ -709,7 +735,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "74", @@ -725,7 +752,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "76", @@ -741,7 +769,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "78", @@ -757,7 +786,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "80", @@ -773,7 +803,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "82", @@ -789,7 +820,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -806,6 +838,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "85", @@ -826,7 +859,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -843,6 +877,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "87", @@ -863,7 +898,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -880,6 +916,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "89", @@ -900,7 +937,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -917,6 +955,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "91", @@ -937,7 +976,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -954,6 +994,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "93", @@ -974,7 +1015,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -991,6 +1033,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "95", @@ -1011,7 +1054,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1028,6 +1072,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "97", @@ -1048,7 +1093,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1065,6 +1111,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "99", @@ -1085,7 +1132,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1102,6 +1150,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "101", @@ -1122,7 +1171,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1139,6 +1189,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "103", @@ -1159,7 +1210,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1176,6 +1228,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "105", @@ -1200,6 +1253,7 @@ "name": "Cat" } }, + "isExactName": false, "properties": [ { "$id": "108", @@ -1224,7 +1278,8 @@ "name": "name" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1241,6 +1296,7 @@ "name": "Dog" } }, + "isExactName": false, "properties": [ { "$id": "111", @@ -1265,13 +1321,15 @@ "name": "bark" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } ], "namespace": "Type.Union", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -1284,7 +1342,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1307,6 +1366,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "114", @@ -1327,7 +1387,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1344,6 +1405,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "116", @@ -1363,6 +1425,7 @@ "name": "EnumsOnlyCases" } }, + "isExactName": false, "properties": [ { "$id": "118", @@ -1384,7 +1447,8 @@ "name": "lr" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "119", @@ -1406,7 +1470,8 @@ "name": "ud" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1421,7 +1486,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1441,6 +1507,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "121", @@ -1461,7 +1528,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1478,6 +1546,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "123", @@ -1497,6 +1566,7 @@ "name": "StringAndArrayCases" } }, + "isExactName": false, "properties": [ { "$id": "125", @@ -1532,7 +1602,8 @@ } ], "namespace": "Type.Union", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -1545,7 +1616,8 @@ "name": "string" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "130", @@ -1570,7 +1642,8 @@ } ], "namespace": "Type.Union", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -1583,7 +1656,8 @@ "name": "array" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1598,7 +1672,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1618,6 +1693,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "134", @@ -1638,7 +1714,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1655,6 +1732,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "136", @@ -1674,6 +1752,7 @@ "name": "MixedLiteralsCases" } }, + "isExactName": false, "properties": [ { "$id": "138", @@ -1700,7 +1779,8 @@ } ], "namespace": "Type.Union", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -1713,7 +1793,8 @@ "name": "stringLiteral" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "140", @@ -1735,7 +1816,8 @@ "name": "intLiteral" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "141", @@ -1757,7 +1839,8 @@ "name": "floatLiteral" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "142", @@ -1779,7 +1862,8 @@ "name": "booleanLiteral" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1794,7 +1878,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1814,6 +1899,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "144", @@ -1834,7 +1920,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -1851,6 +1938,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "146", @@ -1870,6 +1958,7 @@ "name": "MixedTypesCases" } }, + "isExactName": false, "properties": [ { "$id": "148", @@ -1904,7 +1993,8 @@ } ], "namespace": "Type.Union", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -1917,7 +2007,8 @@ "name": "model" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "152", @@ -1939,7 +2030,8 @@ "name": "literal" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "153", @@ -1961,7 +2053,8 @@ "name": "int" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "154", @@ -1983,7 +2076,8 @@ "name": "boolean" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "155", @@ -2012,7 +2106,8 @@ "name": "array" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2027,7 +2122,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -2047,6 +2143,7 @@ "name": "" } }, + "isExactName": false, "properties": [ { "$id": "158", @@ -2067,7 +2164,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -2109,7 +2207,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.endpoint" + "crossLanguageDefinitionId": "Type.Union.endpoint", + "isExactName": false } ], "initializedBy": 1, @@ -2167,9 +2266,11 @@ "crossLanguageDefinitionId": "Type.Union.StringsOnly.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2257,9 +2358,11 @@ "crossLanguageDefinitionId": "Type.Union.StringsOnly.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "172", @@ -2295,9 +2398,11 @@ "crossLanguageDefinitionId": "Type.Union.StringsOnly.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2366,7 +2471,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.StringsOnly.endpoint" + "crossLanguageDefinitionId": "Type.Union.StringsOnly.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2428,9 +2534,11 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensible.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2518,9 +2626,11 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensible.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "186", @@ -2556,9 +2666,11 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensible.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2627,7 +2739,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.StringExtensible.endpoint" + "crossLanguageDefinitionId": "Type.Union.StringExtensible.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2689,9 +2802,11 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2779,9 +2894,11 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "200", @@ -2817,9 +2934,11 @@ "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -2888,7 +3007,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.endpoint" + "crossLanguageDefinitionId": "Type.Union.StringExtensibleNamed.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -2950,9 +3070,11 @@ "crossLanguageDefinitionId": "Type.Union.IntsOnly.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3040,9 +3162,11 @@ "crossLanguageDefinitionId": "Type.Union.IntsOnly.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "214", @@ -3078,9 +3202,11 @@ "crossLanguageDefinitionId": "Type.Union.IntsOnly.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3149,7 +3275,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.IntsOnly.endpoint" + "crossLanguageDefinitionId": "Type.Union.IntsOnly.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3211,9 +3338,11 @@ "crossLanguageDefinitionId": "Type.Union.FloatsOnly.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3301,9 +3430,11 @@ "crossLanguageDefinitionId": "Type.Union.FloatsOnly.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "228", @@ -3339,9 +3470,11 @@ "crossLanguageDefinitionId": "Type.Union.FloatsOnly.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3410,7 +3543,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.FloatsOnly.endpoint" + "crossLanguageDefinitionId": "Type.Union.FloatsOnly.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3472,9 +3606,11 @@ "crossLanguageDefinitionId": "Type.Union.ModelsOnly.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3562,9 +3698,11 @@ "crossLanguageDefinitionId": "Type.Union.ModelsOnly.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "242", @@ -3600,9 +3738,11 @@ "crossLanguageDefinitionId": "Type.Union.ModelsOnly.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3671,7 +3811,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.ModelsOnly.endpoint" + "crossLanguageDefinitionId": "Type.Union.ModelsOnly.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3733,9 +3874,11 @@ "crossLanguageDefinitionId": "Type.Union.EnumsOnly.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3823,9 +3966,11 @@ "crossLanguageDefinitionId": "Type.Union.EnumsOnly.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "256", @@ -3861,9 +4006,11 @@ "crossLanguageDefinitionId": "Type.Union.EnumsOnly.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -3932,7 +4079,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.EnumsOnly.endpoint" + "crossLanguageDefinitionId": "Type.Union.EnumsOnly.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -3994,9 +4142,11 @@ "crossLanguageDefinitionId": "Type.Union.StringAndArray.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4084,9 +4234,11 @@ "crossLanguageDefinitionId": "Type.Union.StringAndArray.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "270", @@ -4122,9 +4274,11 @@ "crossLanguageDefinitionId": "Type.Union.StringAndArray.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4193,7 +4347,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.StringAndArray.endpoint" + "crossLanguageDefinitionId": "Type.Union.StringAndArray.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4255,9 +4410,11 @@ "crossLanguageDefinitionId": "Type.Union.MixedLiterals.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4345,9 +4502,11 @@ "crossLanguageDefinitionId": "Type.Union.MixedLiterals.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "284", @@ -4383,9 +4542,11 @@ "crossLanguageDefinitionId": "Type.Union.MixedLiterals.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4454,7 +4615,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.MixedLiterals.endpoint" + "crossLanguageDefinitionId": "Type.Union.MixedLiterals.endpoint", + "isExactName": false } ], "initializedBy": 0, @@ -4516,9 +4678,11 @@ "crossLanguageDefinitionId": "Type.Union.MixedTypes.get.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4606,9 +4770,11 @@ "crossLanguageDefinitionId": "Type.Union.MixedTypes.send.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "298", @@ -4644,9 +4810,11 @@ "crossLanguageDefinitionId": "Type.Union.MixedTypes.send.prop", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -4715,7 +4883,8 @@ "serverUrlTemplate": "{endpoint}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Type.Union.MixedTypes.endpoint" + "crossLanguageDefinitionId": "Type.Union.MixedTypes.endpoint", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json index db87377ed49..a3d09a4e9bd 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json @@ -35,7 +35,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -70,7 +71,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -88,7 +90,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -104,7 +107,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -121,6 +125,7 @@ "name": "ModelV1" } }, + "isExactName": false, "properties": [ { "$id": "12", @@ -145,7 +150,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "14", @@ -166,7 +172,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -226,9 +233,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v1.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "20", @@ -261,9 +270,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v1.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "22", @@ -299,9 +310,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v1.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -374,7 +387,8 @@ "serverUrlTemplate": "{endpoint}/versioning/added/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Added.endpoint" + "crossLanguageDefinitionId": "Versioning.Added.endpoint", + "isExactName": false }, { "$id": "26", @@ -401,7 +415,8 @@ "serverUrlTemplate": "{endpoint}/versioning/added/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Added.version" + "crossLanguageDefinitionId": "Versioning.Added.version", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json index 3e3b3030190..c73091097c2 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json @@ -49,7 +49,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -82,7 +83,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -131,7 +133,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -149,7 +152,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -165,7 +169,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -181,7 +186,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "18", @@ -197,7 +203,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -213,7 +220,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "22", @@ -229,7 +237,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -246,6 +255,7 @@ "name": "ModelV1" } }, + "isExactName": false, "properties": [ { "$id": "25", @@ -270,7 +280,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "27", @@ -291,7 +302,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "28", @@ -326,7 +338,8 @@ } ], "namespace": "Versioning.Added", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -339,7 +352,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -356,6 +370,7 @@ "name": "ModelV2" } }, + "isExactName": false, "properties": [ { "$id": "34", @@ -380,7 +395,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "36", @@ -401,7 +417,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "37", @@ -429,7 +446,8 @@ } ], "namespace": "Versioning.Added", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -442,7 +460,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -509,9 +528,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v1.headerV2", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "48", @@ -546,9 +567,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v1.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "50", @@ -581,9 +604,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v1.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "52", @@ -619,9 +644,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v1.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -723,9 +750,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v2.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "58", @@ -758,9 +787,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v2.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "60", @@ -796,9 +827,11 @@ "crossLanguageDefinitionId": "Versioning.Added.v2.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -871,7 +904,8 @@ "serverUrlTemplate": "{endpoint}/versioning/added/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Added.endpoint" + "crossLanguageDefinitionId": "Versioning.Added.endpoint", + "isExactName": false }, { "$id": "64", @@ -898,7 +932,8 @@ "serverUrlTemplate": "{endpoint}/versioning/added/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Added.version" + "crossLanguageDefinitionId": "Versioning.Added.version", + "isExactName": false } ], "initializedBy": 1, @@ -962,9 +997,11 @@ "crossLanguageDefinitionId": "Versioning.Added.InterfaceV2.v2InInterface.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "71", @@ -997,9 +1034,11 @@ "crossLanguageDefinitionId": "Versioning.Added.InterfaceV2.v2InInterface.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "73", @@ -1035,9 +1074,11 @@ "crossLanguageDefinitionId": "Versioning.Added.InterfaceV2.v2InInterface.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1110,7 +1151,8 @@ "serverUrlTemplate": "{endpoint}/versioning/added/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Added.InterfaceV2.endpoint" + "crossLanguageDefinitionId": "Versioning.Added.InterfaceV2.endpoint", + "isExactName": false }, { "$id": "77", @@ -1137,7 +1179,8 @@ "serverUrlTemplate": "{endpoint}/versioning/added/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Added.InterfaceV2.version" + "crossLanguageDefinitionId": "Versioning.Added.InterfaceV2.version", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json index d91cf477351..eb16d74ebad 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json @@ -37,7 +37,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -55,7 +56,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -71,7 +73,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -88,6 +91,7 @@ "name": "TestModel" } }, + "isExactName": false, "properties": [ { "$id": "9", @@ -112,7 +116,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "11", @@ -137,7 +142,8 @@ "name": "changedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -203,9 +209,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "20", @@ -240,9 +248,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "22", @@ -275,9 +285,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "24", @@ -313,9 +325,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -391,7 +405,8 @@ "serverUrlTemplate": "{endpoint}/versioning/made-optional/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.MadeOptional.endpoint" + "crossLanguageDefinitionId": "Versioning.MadeOptional.endpoint", + "isExactName": false }, { "$id": "28", @@ -418,7 +433,8 @@ "serverUrlTemplate": "{endpoint}/versioning/made-optional/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.MadeOptional.version" + "crossLanguageDefinitionId": "Versioning.MadeOptional.version", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json index 78e5a2f9046..6e381150481 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json @@ -52,7 +52,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -70,7 +71,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -86,7 +88,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -103,6 +106,7 @@ "name": "TestModel" } }, + "isExactName": false, "properties": [ { "$id": "10", @@ -127,7 +131,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "12", @@ -152,7 +157,8 @@ "name": "changedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -219,9 +225,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "21", @@ -256,9 +264,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "23", @@ -291,9 +301,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "25", @@ -329,9 +341,11 @@ "crossLanguageDefinitionId": "Versioning.MadeOptional.test.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -407,7 +421,8 @@ "serverUrlTemplate": "{endpoint}/versioning/made-optional/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.MadeOptional.endpoint" + "crossLanguageDefinitionId": "Versioning.MadeOptional.endpoint", + "isExactName": false }, { "$id": "29", @@ -434,7 +449,8 @@ "serverUrlTemplate": "{endpoint}/versioning/made-optional/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.MadeOptional.version" + "crossLanguageDefinitionId": "Versioning.MadeOptional.version", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json index cad385e2ac9..d9663ce6d91 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json @@ -35,7 +35,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -81,7 +82,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -127,7 +129,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -162,7 +165,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -180,7 +184,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -196,7 +201,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -212,7 +218,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -228,7 +235,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -244,7 +252,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -260,7 +269,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -276,7 +286,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -292,7 +303,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -309,6 +321,7 @@ "name": "ModelV1" } }, + "isExactName": false, "properties": [ { "$id": "32", @@ -333,7 +346,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "34", @@ -354,7 +368,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "35", @@ -382,7 +397,8 @@ } ], "namespace": "Versioning.Removed", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -395,7 +411,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -412,6 +429,7 @@ "name": "ModelV2" } }, + "isExactName": false, "properties": [ { "$id": "40", @@ -436,7 +454,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "42", @@ -461,7 +480,8 @@ "name": "removedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "44", @@ -482,7 +502,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "45", @@ -524,7 +545,8 @@ } ], "namespace": "Versioning.Removed", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -537,7 +559,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -554,6 +577,7 @@ "name": "ModelV3" } }, + "isExactName": false, "properties": [ { "$id": "52", @@ -578,7 +602,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "54", @@ -599,7 +624,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -661,9 +687,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "60", @@ -696,9 +724,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "62", @@ -734,9 +764,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -841,9 +873,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "70", @@ -878,9 +912,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "72", @@ -913,9 +949,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "74", @@ -951,9 +989,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1057,9 +1097,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "80", @@ -1092,9 +1134,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "82", @@ -1130,9 +1174,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1205,7 +1251,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.endpoint" + "crossLanguageDefinitionId": "Versioning.Removed.endpoint", + "isExactName": false }, { "$id": "86", @@ -1232,7 +1279,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.version" + "crossLanguageDefinitionId": "Versioning.Removed.version", + "isExactName": false } ], "initializedBy": 1, @@ -1296,9 +1344,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.v1InInterface.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "93", @@ -1331,9 +1381,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.v1InInterface.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "95", @@ -1369,9 +1421,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.v1InInterface.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1444,7 +1498,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.endpoint" + "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.endpoint", + "isExactName": false }, { "$id": "99", @@ -1471,7 +1526,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.version" + "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.version", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json index 7f17fc484f7..1c560373251 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json @@ -37,7 +37,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -83,7 +84,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -146,7 +148,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -164,7 +167,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -180,7 +184,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -196,7 +201,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -212,7 +218,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -229,6 +236,7 @@ "name": "ModelV2" } }, + "isExactName": false, "properties": [ { "$id": "22", @@ -253,7 +261,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "24", @@ -274,7 +283,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "25", @@ -302,7 +312,8 @@ } ], "namespace": "Versioning.Removed", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -315,7 +326,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -332,6 +344,7 @@ "name": "ModelV3" } }, + "isExactName": false, "properties": [ { "$id": "30", @@ -356,7 +369,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "32", @@ -377,7 +391,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -439,9 +454,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "38", @@ -474,9 +491,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "40", @@ -512,9 +531,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -617,9 +638,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "46", @@ -652,9 +675,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "48", @@ -690,9 +715,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -765,7 +792,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.endpoint" + "crossLanguageDefinitionId": "Versioning.Removed.endpoint", + "isExactName": false }, { "$id": "52", @@ -792,7 +820,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.version" + "crossLanguageDefinitionId": "Versioning.Removed.version", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json index 63845602933..7a7fe232704 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json @@ -36,7 +36,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -82,7 +83,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -131,7 +133,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -149,7 +152,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -165,7 +169,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -181,7 +186,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "18", @@ -197,7 +203,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -213,7 +220,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "22", @@ -229,7 +237,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "24", @@ -245,7 +254,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "26", @@ -261,7 +271,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -278,6 +289,7 @@ "name": "ModelV1" } }, + "isExactName": false, "properties": [ { "$id": "29", @@ -302,7 +314,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "31", @@ -323,7 +336,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "32", @@ -351,7 +365,8 @@ } ], "namespace": "Versioning.Removed", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -364,7 +379,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -381,6 +397,7 @@ "name": "ModelV2" } }, + "isExactName": false, "properties": [ { "$id": "37", @@ -405,7 +422,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "39", @@ -430,7 +448,8 @@ "name": "removedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "41", @@ -451,7 +470,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "42", @@ -493,7 +513,8 @@ } ], "namespace": "Versioning.Removed", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -506,7 +527,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] }, @@ -523,6 +545,7 @@ "name": "ModelV3" } }, + "isExactName": false, "properties": [ { "$id": "49", @@ -547,7 +570,8 @@ "name": "id" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -610,9 +634,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "56", @@ -645,9 +671,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "58", @@ -683,9 +711,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v1.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -791,9 +821,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "66", @@ -828,9 +860,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "68", @@ -863,9 +897,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "70", @@ -901,9 +937,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.v2.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1008,9 +1046,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "76", @@ -1043,9 +1083,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "78", @@ -1081,9 +1123,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.modelV3.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1156,7 +1200,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.endpoint" + "crossLanguageDefinitionId": "Versioning.Removed.endpoint", + "isExactName": false }, { "$id": "82", @@ -1183,7 +1228,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.version" + "crossLanguageDefinitionId": "Versioning.Removed.version", + "isExactName": false } ], "initializedBy": 1, @@ -1249,9 +1295,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.v1InInterface.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "89", @@ -1284,9 +1332,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.v1InInterface.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "91", @@ -1322,9 +1372,11 @@ "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.v1InInterface.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -1397,7 +1449,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.endpoint" + "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.endpoint", + "isExactName": false }, { "$id": "95", @@ -1424,7 +1477,8 @@ "serverUrlTemplate": "{endpoint}/versioning/removed/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.version" + "crossLanguageDefinitionId": "Versioning.Removed.InterfaceV1.version", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json index ed78afd5d13..d447d4cced5 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json @@ -35,7 +35,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -70,7 +71,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -88,7 +90,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -104,7 +107,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -120,7 +124,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -136,7 +141,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -153,6 +159,7 @@ "name": "OldModel" } }, + "isExactName": false, "properties": [ { "$id": "16", @@ -177,7 +184,8 @@ "name": "oldProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "18", @@ -198,7 +206,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "19", @@ -233,7 +242,8 @@ } ], "namespace": "Versioning.RenamedFrom", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -246,7 +256,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -312,9 +323,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.oldOp.oldQuery", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "31", @@ -349,9 +362,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.oldOp.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "33", @@ -384,9 +399,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.oldOp.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "35", @@ -422,9 +439,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.oldOp.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -500,7 +519,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.endpoint" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.endpoint", + "isExactName": false }, { "$id": "39", @@ -527,7 +547,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.version" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.version", + "isExactName": false } ], "initializedBy": 1, @@ -590,9 +611,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.OldInterface.newOpInNewInterface.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "46", @@ -625,9 +648,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.OldInterface.newOpInNewInterface.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "48", @@ -663,9 +688,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.OldInterface.newOpInNewInterface.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -738,7 +765,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.OldInterface.endpoint" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.OldInterface.endpoint", + "isExactName": false }, { "$id": "52", @@ -765,7 +793,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.OldInterface.version" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.OldInterface.version", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json index 2bd0333497c..aa5d409494c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json @@ -36,7 +36,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,Output,Json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -85,7 +86,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -103,7 +105,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "10", @@ -119,7 +122,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -135,7 +139,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -151,7 +156,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -168,6 +174,7 @@ "name": "NewModel" } }, + "isExactName": false, "properties": [ { "$id": "17", @@ -192,7 +199,8 @@ "name": "newProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "19", @@ -213,7 +221,8 @@ "name": "enumProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "20", @@ -248,7 +257,8 @@ } ], "namespace": "Versioning.RenamedFrom", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -261,7 +271,8 @@ "name": "unionProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -328,9 +339,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.newOp.newQuery", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "32", @@ -365,9 +378,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.newOp.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "34", @@ -400,9 +415,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.newOp.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "36", @@ -438,9 +455,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.newOp.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -516,7 +535,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.endpoint" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.endpoint", + "isExactName": false }, { "$id": "40", @@ -543,7 +563,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.version" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.version", + "isExactName": false } ], "initializedBy": 1, @@ -608,9 +629,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewInterface.newOpInNewInterface.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "47", @@ -643,9 +666,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewInterface.newOpInNewInterface.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "49", @@ -681,9 +706,11 @@ "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewInterface.newOpInNewInterface.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -756,7 +783,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewInterface.endpoint" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewInterface.endpoint", + "isExactName": false }, { "$id": "53", @@ -783,7 +811,8 @@ "serverUrlTemplate": "{endpoint}/versioning/renamed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewInterface.version" + "crossLanguageDefinitionId": "Versioning.RenamedFrom.NewInterface.version", + "isExactName": false } ], "initializedBy": 0, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json index 480bc54d6ee..788eb607769 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json @@ -37,7 +37,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -55,7 +56,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -71,7 +73,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -87,7 +90,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "10", @@ -103,7 +107,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [], @@ -160,9 +165,11 @@ "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.test.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "17", @@ -195,9 +202,11 @@ "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.test.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "19", @@ -241,9 +250,11 @@ "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.test.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -328,7 +339,8 @@ "serverUrlTemplate": "{endpoint}/versioning/return-type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.endpoint" + "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.endpoint", + "isExactName": false }, { "$id": "26", @@ -355,7 +367,8 @@ "serverUrlTemplate": "{endpoint}/versioning/return-type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.version" + "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.version", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json index f4ad27fc871..5cf3fc58c2e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json @@ -52,7 +52,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -70,7 +71,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -86,7 +88,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -102,7 +105,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -118,7 +122,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [], @@ -176,9 +181,11 @@ "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.test.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "18", @@ -211,9 +218,11 @@ "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.test.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "20", @@ -257,9 +266,11 @@ "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.test.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -344,7 +355,8 @@ "serverUrlTemplate": "{endpoint}/versioning/return-type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.endpoint" + "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.endpoint", + "isExactName": false }, { "$id": "27", @@ -371,7 +383,8 @@ "serverUrlTemplate": "{endpoint}/versioning/return-type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.version" + "crossLanguageDefinitionId": "Versioning.ReturnTypeChangedFrom.version", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json index 122308aae6b..e28a26e5e7c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json @@ -37,7 +37,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -55,7 +56,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -71,7 +73,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -88,6 +91,7 @@ "name": "TestModel" } }, + "isExactName": false, "properties": [ { "$id": "9", @@ -112,7 +116,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "11", @@ -137,7 +142,8 @@ "name": "changedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -203,9 +209,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "20", @@ -240,9 +248,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "22", @@ -275,9 +285,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "24", @@ -313,9 +325,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -391,7 +405,8 @@ "serverUrlTemplate": "{endpoint}/versioning/type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.endpoint" + "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.endpoint", + "isExactName": false }, { "$id": "28", @@ -418,7 +433,8 @@ "serverUrlTemplate": "{endpoint}/versioning/type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.version" + "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.version", + "isExactName": false } ], "initializedBy": 1, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json index d3baf89076c..987b7dba539 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json @@ -52,7 +52,8 @@ "isFixed": true, "isFlags": false, "usage": "Input,ApiVersionEnum", - "decorators": [] + "decorators": [], + "isExactName": false } ], "constants": [ @@ -70,7 +71,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -86,7 +88,8 @@ "decorators": [] }, "value": "application/json", - "decorators": [] + "decorators": [], + "isExactName": false } ], "models": [ @@ -103,6 +106,7 @@ "name": "TestModel" } }, + "isExactName": false, "properties": [ { "$id": "10", @@ -127,7 +131,8 @@ "name": "prop" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false }, { "$id": "12", @@ -152,7 +157,8 @@ "name": "changedProp" } }, - "isHttpMetadata": false + "isHttpMetadata": false, + "isExactName": false } ] } @@ -219,9 +225,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.param", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "21", @@ -256,9 +264,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.contentType", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "23", @@ -291,9 +301,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.accept", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false }, { "$id": "25", @@ -329,9 +341,11 @@ "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.test.body", "readOnly": false, "access": "public", - "decorators": [] + "decorators": [], + "isExactName": false } - ] + ], + "isExactName": false } ], "responses": [ @@ -407,7 +421,8 @@ "serverUrlTemplate": "{endpoint}/versioning/type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.endpoint" + "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.endpoint", + "isExactName": false }, { "$id": "29", @@ -434,7 +449,8 @@ "serverUrlTemplate": "{endpoint}/versioning/type-changed-from/api-version:{version}", "skipUrlEncoding": false, "readOnly": false, - "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.version" + "crossLanguageDefinitionId": "Versioning.TypeChangedFrom.version", + "isExactName": false } ], "initializedBy": 1, From 870e9b8329e205621d6cf5aea09cdb6a88254229 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 18:04:43 +0000 Subject: [PATCH 05/15] Add serialization + method-parameter coverage for IsExactName, switch test value to access_token Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/9283803c-c529-4be6-aede-8fe1a7e8b509 Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../MrwSerializationTypeDefinitionTests.cs | 51 +++++++++++++++++++ .../RestClientProviderTests.cs | 47 +++++++++++++++++ .../ModelProviders/ModelCustomizationTests.cs | 8 +-- .../MockInputModel.cs | 4 +- .../test/common/InputFactory.cs | 14 +++-- 5 files changed, 114 insertions(+), 10 deletions(-) diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs index b061989883c..e0bf06c6980 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs @@ -598,6 +598,57 @@ public void SerializedNameIsUsed(bool isRequired) Assert.AreEqual(Helpers.GetExpectedFromFile(isRequired.ToString()), methodBody); } + [Test] + public void IsExactNamePropertySerializationUsesExactName() + { + // When a property has IsExactName, both the C# property identifier and the wire name + // should appear verbatim in the generated JsonModelWriteCore body — i.e. the wire name + // is written via WritePropertyName and the C# property reference uses the exact name. + var property = InputFactory.Property( + "access_token", + InputPrimitiveType.String, + wireName: "access_token", + isRequired: true, + isExactName: true); + var inputModel = InputFactory.Model("mockInputModel", properties: [property]); + var (model, serialization) = CreateModelAndSerialization(inputModel); + + // C# property name preserves the exact-case name. + Assert.AreEqual("access_token", model.Properties[0].Name); + + var serializationMethod = serialization.Methods.Single(m => m.Signature.Name == "JsonModelWriteCore"); + var methodBody = serializationMethod.BodyStatements!.ToDisplayString(); + + // Wire name is written as the JSON property name. + StringAssert.Contains("writer.WritePropertyName(\"access_token\"u8);", methodBody); + // The C# property reference uses the exact name (not PascalCased). + StringAssert.Contains("access_token", methodBody); + StringAssert.DoesNotContain("AccessToken", methodBody); + + // Deserialization also references the wire name and assigns to the exact-named property. + var deserializationMethod = serialization.Methods.Single(m => m.Signature.Name.StartsWith("Deserialize")); + var deserializationBody = deserializationMethod.BodyStatements!.ToDisplayString(); + StringAssert.Contains("\"access_token\"", deserializationBody); + StringAssert.DoesNotContain("AccessToken", deserializationBody); + } + + [Test] + public void IsExactNameModelSerializationUsesExactName() + { + // When a model has IsExactName, the model name is preserved verbatim and + // generated Deserialize method signature uses the exact name. + var property = InputFactory.Property("Name", InputPrimitiveType.String, isRequired: true, wireName: "Name"); + var inputModel = InputFactory.Model("snake_case_model", properties: [property], isExactName: true); + var (model, serialization) = CreateModelAndSerialization(inputModel); + + // C# model name preserves the exact-case name. + Assert.AreEqual("snake_case_model", model.Name); + + // The deserialization method name is built from the model name verbatim. + var deserializationMethod = serialization.Methods.Single(m => m.Signature.Name.StartsWith("Deserialize")); + Assert.AreEqual("Deserializesnake_case_model", deserializationMethod.Signature.Name); + } + [Test] public void GetUtf8BytesIsUsedForMrwFallback() { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs index c789fb2f9a5..fde492f4ca8 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs @@ -395,6 +395,53 @@ public async Task ParameterNamePreservedFromLastContractView() "When 'oldParam' is preserved, the renamed 'newParam' must not appear."); } + [Test] + public void ExactNameMethodParameterPreservedInRestClient() + { + // A method parameter marked with IsExactName must be preserved verbatim in the + // generated method signature — both as the C# parameter name and as the wire + // (serialized) name used by the rest client when building the request URI. + var queryParam = InputFactory.QueryParameter( + "api_key", + InputPrimitiveType.String, + isRequired: true, + serializedName: "api_key", + isExactName: true); + var operation = InputFactory.Operation("GetSomething", parameters: [queryParam]); + var serviceMethod = InputFactory.BasicServiceMethod("GetSomething", operation, parameters: + [ + InputFactory.MethodParameter( + "api_key", + InputPrimitiveType.String, + isRequired: true, + location: InputRequestLocation.Query, + serializedName: "api_key", + isExactName: true) + ]); + var client = InputFactory.Client("TestClient", methods: [serviceMethod]); + var clientProvider = new ClientProvider(client); + Assert.IsNotNull(clientProvider); + + var convenienceParams = RestClientProvider.GetMethodParameters(serviceMethod, ScmMethodKind.Convenience, clientProvider!); + Assert.IsNotNull(convenienceParams); + // C# parameter name preserves the exact-case name (not normalized to ApiKey or apiKey). + Assert.IsNotNull( + convenienceParams.FirstOrDefault(p => string.Equals(p.Name, "api_key", StringComparison.Ordinal)), + "Convenience method parameter should preserve the exact name 'api_key'."); + + var protocolParams = RestClientProvider.GetMethodParameters(serviceMethod, ScmMethodKind.Protocol, clientProvider!); + Assert.IsNotNull(protocolParams); + Assert.IsNotNull( + protocolParams.FirstOrDefault(p => string.Equals(p.Name, "api_key", StringComparison.Ordinal)), + "Protocol method parameter should preserve the exact name 'api_key'."); + + // Validate the rest client appends the wire (serialized) name when building the URI. + var restClientProvider = clientProvider.RestClient; + var createRequestMethod = restClientProvider.Methods.Single(m => m.Signature.Name.StartsWith("CreateGetSomething")); + var body = createRequestMethod.BodyStatements!.ToDisplayString(); + StringAssert.Contains("api_key", body); + } + [TestCase(true, true)] [TestCase(true, false)] [TestCase(false, true)] diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs index 4c393e06a9d..dfcb63ccc74 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs @@ -123,7 +123,7 @@ public async Task CustomCodeWinsOverIsExactName() // custom property's name is used. var props = new[] { - InputFactory.Property("snake_case_name", InputPrimitiveType.String, wireName: "snake_case_name", isExactName: true), + InputFactory.Property("access_token", InputPrimitiveType.String, wireName: "access_token", isExactName: true), }; var inputModel = InputFactory.Model("mockInputModel", properties: props); @@ -138,19 +138,19 @@ public async Task CustomCodeWinsOverIsExactName() // the property should be added to the custom code view with its custom name Assert.AreEqual(1, modelTypeProvider.CustomCodeView!.Properties.Count); - Assert.AreEqual("CustomRenamedProp", modelTypeProvider.CustomCodeView.Properties[0].Name); + Assert.AreEqual("AccessToken", modelTypeProvider.CustomCodeView.Properties[0].Name); // serialized name from the spec must be preserved on the custom property var wireInfo = modelTypeProvider.CustomCodeView.Properties[0].WireInfo; Assert.IsNotNull(wireInfo); - Assert.AreEqual("snake_case_name", wireInfo!.SerializedName); + Assert.AreEqual("access_token", wireInfo!.SerializedName); // the generated property should be filtered out Assert.AreEqual(0, modelTypeProvider.Properties.Count); // canonical view should expose only the custom rename Assert.AreEqual(1, modelTypeProvider.CanonicalView!.Properties.Count); - Assert.AreEqual("CustomRenamedProp", modelTypeProvider.CanonicalView.Properties[0].Name); + Assert.AreEqual("AccessToken", modelTypeProvider.CanonicalView.Properties[0].Name); } [Test] diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs index 4ea1d41171d..535ca49a9ea 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactName/MockInputModel.cs @@ -8,7 +8,7 @@ namespace Sample.Models { public partial class MockInputModel { - [CodeGenMember("snake_case_name")] - public string CustomRenamedProp { get; set; } + [CodeGenMember("access_token")] + public string AccessToken { get; set; } } } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs index 4cd24422f52..6089f67be0c 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs @@ -349,7 +349,8 @@ public static InputQueryParameter QueryParameter( string? serializedName = null, bool explode = false, InputParameterScope scope = InputParameterScope.Method, - string? delimiter = null) + string? delimiter = null, + bool isExactName = false) { return new InputQueryParameter( name: name, @@ -365,7 +366,10 @@ public static InputQueryParameter QueryParameter( access: null, serializedName: serializedName ?? name, collectionFormat: collectionFormat, - explode: explode); + explode: explode) + { + IsExactName = isExactName + }; } public static InputPathParameter PathParameter( @@ -476,7 +480,8 @@ public static InputMethodParameter MethodParameter( string? serializedName = null, InputRequestLocation location = InputRequestLocation.Body, InputParameterScope scope = InputParameterScope.Method, - string? paramAlias = null) + string? paramAlias = null, + bool isExactName = false) { return new InputMethodParameter( name: name, @@ -492,7 +497,8 @@ public static InputMethodParameter MethodParameter( location: location, serializedName: serializedName ?? name) { - ParamAlias = paramAlias + ParamAlias = paramAlias, + IsExactName = isExactName }; } From 5080471193dc4e08e7335eb5dcb73598c3811671 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 18:32:38 +0000 Subject: [PATCH 06/15] Regenerate test projects after merge with main Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/4fcb1063-c7b2-4ae0-bdda-fd4ba28c24ec Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../Local/Sample-TypeSpec/tspCodeModel.json | 367 +++++++++-- .../http/documentation/tspCodeModel.json | 25 +- .../http/encode/array/tspCodeModel.json | 168 ++++- .../http/encode/bytes/tspCodeModel.json | 141 ++++- .../http/encode/datetime/tspCodeModel.json | 112 +++- .../http/encode/duration/tspCodeModel.json | 280 +++++++-- .../http/encode/numeric/tspCodeModel.json | 42 +- .../http/parameters/basic/tspCodeModel.json | 20 +- .../body-optionality/tspCodeModel.json | 40 +- .../http/parameters/spread/tspCodeModel.json | 93 ++- .../json-merge-patch/tspCodeModel.json | 42 +- .../http/payload/media-type/tspCodeModel.json | 26 +- .../http/payload/multipart/tspCodeModel.json | 102 ++- .../http/payload/pageable/tspCodeModel.json | 105 +++- .../http/payload/xml/tspCodeModel.json | 432 ++++++++++--- .../encoded-name/json/tspCodeModel.json | 17 +- .../http/special-words/tspCodeModel.json | 585 +++++++++++++----- .../Spector/http/type/array/tspCodeModel.json | 238 +++++-- .../http/type/dictionary/tspCodeModel.json | 187 +++++- .../type/enum/extensible/tspCodeModel.json | 34 +- .../http/type/enum/fixed/tspCodeModel.json | 27 +- .../http/type/model/empty/tspCodeModel.json | 31 +- .../enum-discriminator/tspCodeModel.json | 62 +- .../nested-discriminator/tspCodeModel.json | 48 +- .../not-discriminated/tspCodeModel.json | 31 +- .../inheritance/recursive/tspCodeModel.json | 17 +- .../single-discriminator/tspCodeModel.json | 55 +- .../http/type/model/usage/tspCodeModel.json | 31 +- .../type/model/visibility/tspCodeModel.json | 78 ++- .../additional-properties/tspCodeModel.json | 527 +++++++++++++--- .../type/property/nullable/tspCodeModel.json | 238 +++++-- .../property/optionality/tspCodeModel.json | 544 +++++++++++++--- .../property/value-types/tspCodeModel.json | 493 ++++++++++++--- .../http/type/scalar/tspCodeModel.json | 125 +++- .../Spector/http/type/union/tspCodeModel.json | 170 ++++- .../versioning/added/v1/tspCodeModel.json | 14 +- .../versioning/added/v2/tspCodeModel.json | 42 +- .../madeOptional/v1/tspCodeModel.json | 14 +- .../madeOptional/v2/tspCodeModel.json | 14 +- .../versioning/removed/v1/tspCodeModel.json | 56 +- .../versioning/removed/v2/tspCodeModel.json | 28 +- .../removed/v2Preview/tspCodeModel.json | 56 +- .../renamedFrom/v1/tspCodeModel.json | 28 +- .../renamedFrom/v2/tspCodeModel.json | 28 +- .../v1/tspCodeModel.json | 14 +- .../v2/tspCodeModel.json | 14 +- .../typeChangedFrom/v1/tspCodeModel.json | 14 +- .../typeChangedFrom/v2/tspCodeModel.json | 14 +- 48 files changed, 4786 insertions(+), 1083 deletions(-) diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json index 09bd6024b60..b37a9c61325 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json @@ -7082,7 +7082,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7341,7 +7346,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -7356,7 +7362,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7642,7 +7653,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "action" + } + } } ], "responses": [ @@ -7657,7 +7673,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7761,7 +7782,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7920,7 +7946,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7935,7 +7966,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -8153,7 +8189,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8321,7 +8362,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8419,7 +8465,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8578,7 +8629,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8593,7 +8649,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PATCH", @@ -8840,7 +8901,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -8855,7 +8921,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -9454,7 +9525,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -9469,7 +9545,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -9589,7 +9670,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9749,7 +9831,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -9764,7 +9851,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -9868,7 +9960,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -9963,7 +10060,8 @@ "isErrorResponse": false, "contentTypes": [ "text/plain" - ] + ], + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10122,7 +10220,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10137,7 +10240,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -10197,7 +10305,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10289,7 +10398,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "HEAD", @@ -10445,7 +10555,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10536,7 +10647,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10646,7 +10762,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10801,7 +10922,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10974,7 +11100,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -11090,7 +11221,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -11405,7 +11541,12 @@ "$ref": "760" } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -11414,7 +11555,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -11538,7 +11680,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -11547,7 +11694,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -11652,7 +11800,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -11809,7 +11962,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "body" + } + } } ], "responses": [ @@ -11832,7 +11990,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -12041,7 +12204,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "animal" + } + } } ], "responses": [ @@ -12056,7 +12224,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -12224,7 +12397,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "animal" + } + } } ], "responses": [ @@ -12239,7 +12417,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -12449,7 +12632,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "pet" + } + } } ], "responses": [ @@ -12464,7 +12652,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -12632,7 +12825,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "pet" + } + } } ], "responses": [ @@ -12647,7 +12845,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -12857,7 +13060,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "dog" + } + } } ], "responses": [ @@ -12872,7 +13080,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -13026,7 +13239,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -13129,7 +13347,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -13286,7 +13509,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "tree" + } + } } ], "responses": [ @@ -13309,7 +13537,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -13475,7 +13708,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "tree" + } + } } ], "responses": [ @@ -13498,7 +13736,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -13732,7 +13975,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -13924,7 +14172,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json index 011b845dfac..ea3468db7d0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json @@ -240,7 +240,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -349,7 +350,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -358,7 +364,8 @@ 200 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -408,7 +415,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -497,7 +505,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -537,7 +546,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -577,7 +587,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json index 2c7ad83266e..5588849de99 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json @@ -1218,7 +1218,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1233,7 +1238,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1396,7 +1406,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1411,7 +1426,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1574,7 +1594,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1589,7 +1614,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1752,7 +1782,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1767,7 +1802,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1930,7 +1970,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1945,7 +1990,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2108,7 +2158,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2123,7 +2178,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2286,7 +2346,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2301,7 +2366,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2464,7 +2534,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2479,7 +2554,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2642,7 +2722,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2657,7 +2742,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2820,7 +2910,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2835,7 +2930,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2998,7 +3098,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3013,7 +3118,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -3176,7 +3286,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3191,7 +3306,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json index a9b7ca93752..5dd8719b814 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json @@ -757,7 +757,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -847,7 +848,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -937,7 +939,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1018,7 +1021,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1217,7 +1221,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1232,7 +1241,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1395,7 +1409,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1410,7 +1429,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1573,7 +1597,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1588,7 +1617,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1751,7 +1785,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1766,7 +1805,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1918,7 +1962,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2008,7 +2053,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2098,7 +2144,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2180,7 +2227,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2350,7 +2398,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -2359,7 +2408,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2484,7 +2534,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -2493,7 +2544,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2618,7 +2670,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -2627,7 +2680,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2754,7 +2808,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "value" + } + } } ], "responses": [ @@ -2763,7 +2822,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2890,7 +2950,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "value" + } + } } ], "responses": [ @@ -2899,7 +2964,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3044,7 +3110,8 @@ "isErrorResponse": false, "contentTypes": [ "application/octet-stream" - ] + ], + "serializationOptions": {} } ], "httpMethod": "GET", @@ -3146,7 +3213,8 @@ "isErrorResponse": false, "contentTypes": [ "application/octet-stream" - ] + ], + "serializationOptions": {} } ], "httpMethod": "GET", @@ -3248,7 +3316,8 @@ "isErrorResponse": false, "contentTypes": [ "image/png" - ] + ], + "serializationOptions": {} } ], "httpMethod": "GET", @@ -3351,7 +3420,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3462,7 +3536,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json index 6d289a7966c..f1e6435b94a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json @@ -585,7 +585,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -689,7 +690,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -793,7 +795,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -897,7 +900,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -978,7 +982,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1177,7 +1182,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1192,7 +1202,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1355,7 +1370,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1370,7 +1390,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1533,7 +1558,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1548,7 +1578,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1711,7 +1746,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1726,7 +1766,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1889,7 +1934,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1904,7 +1954,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2070,7 +2125,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2174,7 +2230,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2278,7 +2335,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2382,7 +2440,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2464,7 +2523,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2575,7 +2635,8 @@ } } ], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2633,7 +2694,8 @@ } } ], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2691,7 +2753,8 @@ } } ], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2749,7 +2812,8 @@ } } ], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json index de310da8a2d..48313829685 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json @@ -1372,7 +1372,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1476,7 +1477,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1580,7 +1582,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1684,7 +1687,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1788,7 +1792,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1892,7 +1897,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1996,7 +2002,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2100,7 +2107,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2204,7 +2212,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2308,7 +2317,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2412,7 +2422,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2516,7 +2527,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2631,7 +2643,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2746,7 +2759,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2945,7 +2959,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2960,7 +2979,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -3123,7 +3147,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3138,7 +3167,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -3301,7 +3335,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3316,7 +3355,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -3479,7 +3523,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3494,7 +3543,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -3657,7 +3711,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3672,7 +3731,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -3835,7 +3899,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3850,7 +3919,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -4013,7 +4087,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4028,7 +4107,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -4191,7 +4275,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4206,7 +4295,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -4369,7 +4463,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4384,7 +4483,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -4547,7 +4651,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4562,7 +4671,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -4725,7 +4839,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4740,7 +4859,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -4903,7 +5027,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4918,7 +5047,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -5081,7 +5215,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5096,7 +5235,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -5259,7 +5403,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5274,7 +5423,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -5440,7 +5594,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -5544,7 +5699,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -5660,7 +5816,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -5764,7 +5921,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -5868,7 +6026,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -5972,7 +6131,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6076,7 +6236,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6180,7 +6341,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6284,7 +6446,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6388,7 +6551,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6492,7 +6656,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6596,7 +6761,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6700,7 +6866,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -6816,7 +6983,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json index 9b158e9e0bf..157b88fe700 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json @@ -418,7 +418,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "value" + } + } } ], "responses": [ @@ -433,7 +438,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -596,7 +606,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "value" + } + } } ], "responses": [ @@ -611,7 +626,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -774,7 +794,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "value" + } + } } ], "responses": [ @@ -789,7 +814,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json index f2d1fcaffe4..ec63be8d3f7 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json @@ -268,7 +268,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -277,7 +282,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -449,7 +455,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -458,7 +469,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json index 174051ab0ef..079b0bf1885 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json @@ -214,7 +214,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -223,7 +228,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -346,7 +352,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -355,7 +366,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -519,7 +531,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -528,7 +545,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -647,7 +665,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -656,7 +679,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json index eb5876bccc7..8088d5394df 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json @@ -730,7 +730,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -739,7 +744,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -858,7 +864,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -867,7 +878,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1009,7 +1021,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1218,7 +1231,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1227,7 +1245,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1449,7 +1468,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -1458,7 +1482,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1636,7 +1661,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -1645,7 +1675,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1861,7 +1892,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -1870,7 +1906,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2092,7 +2129,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -2101,7 +2143,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2324,7 +2367,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -2333,7 +2381,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2619,7 +2668,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -2628,7 +2682,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json index bea35a88c33..9f47f5f9831 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json @@ -772,7 +772,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -787,7 +792,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -950,7 +960,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -965,7 +980,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PATCH", @@ -1128,7 +1148,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1143,7 +1168,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PATCH", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json index f5893666582..e415d7b27f0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json @@ -288,7 +288,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -297,7 +298,8 @@ 200 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -401,7 +403,8 @@ "isErrorResponse": false, "contentTypes": [ "text/plain" - ] + ], + "serializationOptions": {} } ], "httpMethod": "GET", @@ -524,7 +527,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "text" + } + } } ], "responses": [ @@ -533,7 +541,8 @@ 200 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -637,7 +646,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json index 6d119243cce..4657d4dace0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json @@ -2685,7 +2685,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -2694,7 +2695,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2813,7 +2815,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -2822,7 +2825,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2941,7 +2945,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -2950,7 +2955,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3069,7 +3075,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -3078,7 +3085,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3197,7 +3205,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -3206,7 +3215,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3325,7 +3335,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -3334,7 +3345,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3453,7 +3465,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -3462,7 +3475,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3581,7 +3595,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -3590,7 +3605,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3709,7 +3725,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -3718,7 +3735,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3885,7 +3903,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -3894,7 +3913,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4061,7 +4081,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -4070,7 +4091,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4189,7 +4211,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -4198,7 +4221,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4317,7 +4341,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -4326,7 +4351,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4494,7 +4520,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -4503,7 +4530,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4672,7 +4700,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -4681,7 +4710,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4798,7 +4828,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -4807,7 +4838,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4924,7 +4956,8 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": {} } ], "responses": [ @@ -4933,7 +4966,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json index 8f0779b6a6a..cf2a776b277 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json @@ -1730,7 +1730,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1835,7 +1840,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1940,7 +1950,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2161,7 +2176,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2176,7 +2196,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -2474,7 +2499,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2726,7 +2756,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2990,7 +3025,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3254,7 +3294,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3506,7 +3551,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3761,7 +3811,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3933,7 +3988,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4077,7 +4137,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4283,7 +4348,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4402,7 +4472,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json index b4cd6f28578..86ed2648848 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json @@ -4087,7 +4087,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4202,7 +4207,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -4211,7 +4221,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4361,7 +4372,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4476,7 +4492,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -4485,7 +4506,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4635,7 +4657,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4750,7 +4777,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -4759,7 +4791,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4909,7 +4942,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5024,7 +5062,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -5033,7 +5076,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5183,7 +5227,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5298,7 +5347,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -5307,7 +5361,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5457,7 +5512,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5572,7 +5632,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -5581,7 +5646,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5731,7 +5797,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5846,7 +5917,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -5855,7 +5931,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6005,7 +6082,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6120,7 +6202,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -6129,7 +6216,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6279,7 +6367,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6394,7 +6487,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -6403,7 +6501,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6553,7 +6652,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6668,7 +6772,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -6677,7 +6786,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6827,7 +6937,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6942,7 +7057,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -6951,7 +7071,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7101,7 +7222,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7216,7 +7342,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -7225,7 +7356,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7375,7 +7507,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7490,7 +7627,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -7499,7 +7641,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7649,7 +7792,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7764,7 +7912,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -7773,7 +7926,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7923,7 +8077,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8038,7 +8197,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -8047,7 +8211,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8197,7 +8362,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8312,7 +8482,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -8321,7 +8496,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8471,7 +8647,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8586,7 +8767,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -8595,7 +8781,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8745,7 +8932,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8860,7 +9052,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -8869,7 +9066,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9019,7 +9217,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9134,7 +9337,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -9143,7 +9351,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9293,7 +9502,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9408,7 +9622,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -9417,7 +9636,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9567,7 +9787,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9682,7 +9907,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -9691,7 +9921,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9841,7 +10072,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9956,7 +10192,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -9965,7 +10206,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10115,7 +10357,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10230,7 +10477,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -10239,7 +10491,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10389,7 +10642,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10504,7 +10762,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -10513,7 +10776,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10663,7 +10927,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10778,7 +11047,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "xml": { + "name": "input" + } + } } ], "responses": [ @@ -10787,7 +11061,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10937,7 +11212,12 @@ "isErrorResponse": false, "contentTypes": [ "application/xml" - ] + ], + "serializationOptions": { + "xml": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json index 8858fdd5a70..8a00bcad202 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json @@ -225,7 +225,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -234,7 +239,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -326,7 +332,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json index 2ea711c2d61..47dea6011ad 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json @@ -3129,7 +3129,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3138,7 +3143,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3257,7 +3263,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3266,7 +3277,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3385,7 +3397,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3394,7 +3411,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3513,7 +3531,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3522,7 +3545,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3641,7 +3665,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3650,7 +3679,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3769,7 +3799,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3778,7 +3813,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3897,7 +3933,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3906,7 +3947,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4025,7 +4067,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4034,7 +4081,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4153,7 +4201,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4162,7 +4215,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4281,7 +4335,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4290,7 +4349,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4409,7 +4469,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4418,7 +4483,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4537,7 +4603,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4546,7 +4617,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4665,7 +4737,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4674,7 +4751,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4793,7 +4871,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4802,7 +4885,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4921,7 +5005,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4930,7 +5019,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5049,7 +5139,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5058,7 +5153,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5177,7 +5273,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5186,7 +5287,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5305,7 +5407,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5314,7 +5421,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5433,7 +5541,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5442,7 +5555,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5561,7 +5675,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5570,7 +5689,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5689,7 +5809,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5698,7 +5823,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5817,7 +5943,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5826,7 +5957,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -5945,7 +6077,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5954,7 +6091,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6073,7 +6211,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6082,7 +6225,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6201,7 +6345,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6210,7 +6359,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6329,7 +6479,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6338,7 +6493,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6457,7 +6613,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6466,7 +6627,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6585,7 +6747,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6594,7 +6761,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6713,7 +6881,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6722,7 +6895,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6841,7 +7015,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6850,7 +7029,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -6969,7 +7149,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6978,7 +7163,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -7097,7 +7283,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7106,7 +7297,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -7225,7 +7417,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7234,7 +7431,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -7403,7 +7601,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7412,7 +7615,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -7531,7 +7735,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7540,7 +7749,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -7659,7 +7869,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7668,7 +7883,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -7837,7 +8053,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -7846,7 +8067,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -8050,7 +8272,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8073,7 +8300,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", @@ -8178,7 +8410,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8216,7 +8449,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8254,7 +8488,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8292,7 +8527,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8330,7 +8566,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8368,7 +8605,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8406,7 +8644,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8444,7 +8683,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8482,7 +8722,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8520,7 +8761,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8558,7 +8800,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8596,7 +8839,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8634,7 +8878,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8672,7 +8917,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8710,7 +8956,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8748,7 +8995,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8786,7 +9034,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8824,7 +9073,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8862,7 +9112,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8900,7 +9151,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8938,7 +9190,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -8976,7 +9229,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9014,7 +9268,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9052,7 +9307,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9090,7 +9346,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9128,7 +9385,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9166,7 +9424,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9204,7 +9463,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9242,7 +9502,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9280,7 +9541,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9318,7 +9580,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9356,7 +9619,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9394,7 +9658,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9528,7 +9793,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9616,7 +9882,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9704,7 +9971,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9792,7 +10060,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9880,7 +10149,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -9968,7 +10238,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10056,7 +10327,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10144,7 +10416,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10232,7 +10505,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10320,7 +10594,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10408,7 +10683,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10496,7 +10772,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10584,7 +10861,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10672,7 +10950,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10760,7 +11039,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10848,7 +11128,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -10936,7 +11217,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11024,7 +11306,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11112,7 +11395,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11200,7 +11484,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11288,7 +11573,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11376,7 +11662,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11464,7 +11751,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11552,7 +11840,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11640,7 +11929,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11728,7 +12018,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11816,7 +12107,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11904,7 +12196,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -11992,7 +12285,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -12080,7 +12374,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -12168,7 +12463,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -12256,7 +12552,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -12344,7 +12641,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -12432,7 +12730,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json index 4acf34447c4..7e16388a84b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json @@ -682,7 +682,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -799,7 +804,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -808,7 +818,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -961,7 +972,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1078,7 +1094,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1087,7 +1108,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1240,7 +1262,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1357,7 +1384,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1366,7 +1398,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1519,7 +1552,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1636,7 +1674,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1645,7 +1688,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1798,7 +1842,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1915,7 +1964,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1924,7 +1978,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2085,7 +2140,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2202,7 +2262,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2211,7 +2276,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2372,7 +2438,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2489,7 +2560,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2498,7 +2574,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2651,7 +2728,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2768,7 +2850,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2777,7 +2864,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2919,7 +3007,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3036,7 +3129,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3045,7 +3143,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3203,7 +3302,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3320,7 +3424,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3329,7 +3438,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3487,7 +3597,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3604,7 +3719,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3613,7 +3733,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3771,7 +3892,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3888,7 +4014,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3897,7 +4028,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4055,7 +4187,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4172,7 +4309,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4181,7 +4323,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4335,7 +4478,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4452,7 +4600,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4461,7 +4614,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json index aae5f888e22..d8109333bc7 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json @@ -590,7 +590,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -707,7 +712,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -716,7 +726,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -874,7 +885,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -991,7 +1007,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1000,7 +1021,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1158,7 +1180,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1275,7 +1302,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1284,7 +1316,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1442,7 +1475,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1559,7 +1597,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1568,7 +1611,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1726,7 +1770,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1843,7 +1892,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1852,7 +1906,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2018,7 +2073,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2135,7 +2195,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2144,7 +2209,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2310,7 +2376,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2427,7 +2498,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2436,7 +2512,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2594,7 +2671,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2711,7 +2793,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2720,7 +2807,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2862,7 +2950,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2979,7 +3072,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2988,7 +3086,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3130,7 +3229,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3247,7 +3351,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3256,7 +3365,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3419,7 +3529,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3536,7 +3651,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3545,7 +3665,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json index 3eb5658da6f..33ef97e72ce 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json @@ -383,7 +383,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -481,7 +486,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -596,7 +606,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -605,7 +620,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -722,7 +738,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -731,7 +752,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json index 60af74f9740..8e2a692fa5f 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json @@ -351,7 +351,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -470,7 +475,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -479,7 +489,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -600,7 +611,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -609,7 +625,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json index 0eabae5aa88..774ad80d9a1 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json @@ -222,7 +222,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -231,7 +236,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -323,7 +329,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -477,7 +488,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -492,7 +508,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json index abeaf3a8c7d..1e1771ae4a5 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -631,7 +631,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -752,7 +757,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -761,7 +771,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -855,7 +866,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -947,7 +963,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1039,7 +1060,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1160,7 +1186,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -1169,7 +1200,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1263,7 +1295,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1355,7 +1392,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json index 6ba179b0bb3..abd9ed1d025 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json @@ -626,7 +626,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -743,7 +748,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -752,7 +762,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -844,7 +855,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -961,7 +977,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -970,7 +991,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1062,7 +1084,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1152,7 +1179,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json index 1ad975d9f3f..bb5c0dbad45 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json @@ -309,7 +309,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -318,7 +323,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -410,7 +416,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -564,7 +575,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -579,7 +595,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json index 34db8141714..570bdd50020 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json @@ -231,7 +231,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -240,7 +245,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -332,7 +338,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json index 861f20656e6..1ab98e6eb88 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -751,7 +751,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -868,7 +873,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -877,7 +887,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -969,7 +980,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1086,7 +1102,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -1095,7 +1116,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1187,7 +1209,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1277,7 +1304,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1367,7 +1399,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json index 85cb5fabf76..747d49b8ebd 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json @@ -303,7 +303,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -312,7 +317,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -404,7 +410,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -558,7 +569,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -573,7 +589,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json index 7419c5279b4..2c1978d5de1 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json @@ -591,7 +591,12 @@ "$ref": "44" } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -606,7 +611,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -762,7 +772,12 @@ "$ref": "55" } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -771,7 +786,8 @@ 200 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "HEAD", @@ -890,7 +906,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -899,7 +920,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1018,7 +1040,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -1027,7 +1054,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -1146,7 +1174,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -1155,7 +1188,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -1274,7 +1308,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -1283,7 +1322,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "DELETE", @@ -1439,7 +1479,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "input" + } + } } ], "responses": [ @@ -1454,7 +1499,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json index dde978aae3e..3410d98fd4e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json @@ -3449,7 +3449,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3570,7 +3575,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3579,7 +3589,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3722,7 +3733,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3843,7 +3859,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3852,7 +3873,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3995,7 +4017,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4116,7 +4143,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4125,7 +4157,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4268,7 +4301,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4389,7 +4427,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4398,7 +4441,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4541,7 +4585,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4662,7 +4711,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4671,7 +4725,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4814,7 +4869,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4935,7 +4995,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4944,7 +5009,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5087,7 +5153,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5208,7 +5279,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5217,7 +5293,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5360,7 +5437,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5481,7 +5563,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5490,7 +5577,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5633,7 +5721,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5754,7 +5847,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5763,7 +5861,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5906,7 +6005,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6027,7 +6131,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6036,7 +6145,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6179,7 +6289,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6300,7 +6415,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6309,7 +6429,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6452,7 +6573,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6573,7 +6699,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6582,7 +6713,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6725,7 +6857,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6846,7 +6983,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6855,7 +6997,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6998,7 +7141,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7119,7 +7267,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7128,7 +7281,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7271,7 +7425,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7392,7 +7551,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7401,7 +7565,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7544,7 +7709,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7665,7 +7835,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7674,7 +7849,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7817,7 +7993,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7938,7 +8119,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7947,7 +8133,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8090,7 +8277,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8211,7 +8403,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8220,7 +8417,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8363,7 +8561,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8484,7 +8687,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8493,7 +8701,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8636,7 +8845,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8757,7 +8971,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8766,7 +8985,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8909,7 +9129,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9030,7 +9255,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9039,7 +9269,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9182,7 +9413,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9303,7 +9539,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9312,7 +9553,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9455,7 +9697,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9576,7 +9823,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9585,7 +9837,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9728,7 +9981,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9849,7 +10107,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9858,7 +10121,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10001,7 +10265,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10122,7 +10391,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10131,7 +10405,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10274,7 +10549,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10395,7 +10675,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10404,7 +10689,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10547,7 +10833,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10668,7 +10959,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10677,7 +10973,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10820,7 +11117,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10941,7 +11243,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10950,7 +11257,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -11093,7 +11401,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -11214,7 +11527,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -11223,7 +11541,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -11366,7 +11685,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -11487,7 +11811,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -11496,7 +11825,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -11639,7 +11969,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -11760,7 +12095,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -11769,7 +12109,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json index 090e6a95f9e..4204521c6bb 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json @@ -1455,7 +1455,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1547,7 +1552,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1666,7 +1676,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1675,7 +1690,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -1796,7 +1812,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1805,7 +1826,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -1948,7 +1970,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2040,7 +2067,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2159,7 +2191,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2168,7 +2205,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -2289,7 +2327,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2298,7 +2341,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -2441,7 +2485,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2533,7 +2582,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2652,7 +2706,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2661,7 +2720,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -2782,7 +2842,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2791,7 +2856,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -2934,7 +3000,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3026,7 +3097,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3145,7 +3221,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3154,7 +3235,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -3275,7 +3357,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3284,7 +3371,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -3427,7 +3515,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3519,7 +3612,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3638,7 +3736,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3647,7 +3750,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -3768,7 +3872,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3777,7 +3886,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -3920,7 +4030,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4012,7 +4127,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4131,7 +4251,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4140,7 +4265,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -4261,7 +4387,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4270,7 +4401,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -4413,7 +4545,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4505,7 +4642,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4624,7 +4766,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4633,7 +4780,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", @@ -4754,7 +4902,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4763,7 +4916,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PATCH", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json index 9e7bcae0af8..127563ea997 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json @@ -2233,7 +2233,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2325,7 +2330,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2444,7 +2454,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2453,7 +2468,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2574,7 +2590,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2583,7 +2604,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2726,7 +2748,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2818,7 +2845,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2937,7 +2969,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2946,7 +2983,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3067,7 +3105,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3076,7 +3119,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3219,7 +3263,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3311,7 +3360,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3430,7 +3484,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3439,7 +3498,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3560,7 +3620,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3569,7 +3634,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3712,7 +3778,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3804,7 +3875,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3923,7 +3999,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3932,7 +4013,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4053,7 +4135,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4062,7 +4149,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4205,7 +4293,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4297,7 +4390,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4416,7 +4514,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4425,7 +4528,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4546,7 +4650,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4555,7 +4664,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4698,7 +4808,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4790,7 +4905,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4909,7 +5029,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4918,7 +5043,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5039,7 +5165,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5048,7 +5179,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5191,7 +5323,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5283,7 +5420,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5402,7 +5544,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5411,7 +5558,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5532,7 +5680,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5541,7 +5694,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5684,7 +5838,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5776,7 +5935,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5895,7 +6059,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5904,7 +6073,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6025,7 +6195,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6034,7 +6209,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6177,7 +6353,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6269,7 +6450,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6388,7 +6574,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6397,7 +6588,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6518,7 +6710,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6527,7 +6724,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6670,7 +6868,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6762,7 +6965,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6881,7 +7089,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6890,7 +7103,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7011,7 +7225,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7020,7 +7239,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7163,7 +7383,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7255,7 +7480,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7374,7 +7604,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7383,7 +7618,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7504,7 +7740,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7513,7 +7754,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7656,7 +7898,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7748,7 +7995,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7867,7 +8119,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7876,7 +8133,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7997,7 +8255,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8006,7 +8269,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8149,7 +8413,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8241,7 +8510,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8360,7 +8634,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8369,7 +8648,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8490,7 +8770,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8499,7 +8784,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8642,7 +8928,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8734,7 +9025,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8853,7 +9149,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8862,7 +9163,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8983,7 +9285,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8992,7 +9299,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9135,7 +9443,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9227,7 +9540,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9346,7 +9664,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9355,7 +9678,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9476,7 +9800,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9485,7 +9814,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9629,7 +9959,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9721,7 +10056,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9840,7 +10180,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9849,7 +10194,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9970,7 +10316,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9979,7 +10330,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json index cabaa4d0648..59a0187b42b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json @@ -2824,7 +2824,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2945,7 +2950,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2954,7 +2964,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3097,7 +3108,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3218,7 +3234,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3227,7 +3248,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3370,7 +3392,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3491,7 +3518,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3500,7 +3532,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3643,7 +3676,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3764,7 +3802,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -3773,7 +3816,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -3916,7 +3960,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4037,7 +4086,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4046,7 +4100,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4189,7 +4244,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4310,7 +4370,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4319,7 +4384,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4462,7 +4528,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4583,7 +4654,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4592,7 +4668,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -4735,7 +4812,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4856,7 +4938,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -4865,7 +4952,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5008,7 +5096,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5129,7 +5222,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5138,7 +5236,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5281,7 +5380,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5402,7 +5506,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5411,7 +5520,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5554,7 +5664,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5675,7 +5790,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5684,7 +5804,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -5827,7 +5948,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -5948,7 +6074,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -5957,7 +6088,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6100,7 +6232,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6221,7 +6358,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6230,7 +6372,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6373,7 +6516,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6494,7 +6642,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6503,7 +6656,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6646,7 +6800,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -6767,7 +6926,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -6776,7 +6940,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -6919,7 +7084,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7040,7 +7210,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7049,7 +7224,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7192,7 +7368,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7313,7 +7494,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7322,7 +7508,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7465,7 +7652,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7586,7 +7778,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7595,7 +7792,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -7738,7 +7936,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -7859,7 +8062,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -7868,7 +8076,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8011,7 +8220,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8132,7 +8346,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8141,7 +8360,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8284,7 +8504,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8405,7 +8630,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8414,7 +8644,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8557,7 +8788,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8678,7 +8914,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8687,7 +8928,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -8830,7 +9072,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -8951,7 +9198,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -8960,7 +9212,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9103,7 +9356,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9224,7 +9482,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9233,7 +9496,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9376,7 +9640,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9497,7 +9766,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9506,7 +9780,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9649,7 +9924,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -9770,7 +10050,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -9779,7 +10064,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -9922,7 +10208,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10043,7 +10334,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10052,7 +10348,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10195,7 +10492,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10316,7 +10618,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10325,7 +10632,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -10468,7 +10776,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -10589,7 +10902,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -10598,7 +10916,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json index c064c1696da..086e7dc50cf 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json @@ -557,7 +557,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -684,7 +689,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -693,7 +703,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -848,7 +859,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -975,7 +991,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -984,7 +1005,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1139,7 +1161,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1266,7 +1293,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1275,7 +1307,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1429,7 +1462,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1552,7 +1590,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1561,7 +1604,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -1655,7 +1699,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -1803,7 +1848,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -1926,7 +1976,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1935,7 +1990,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "PUT", @@ -2029,7 +2085,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "GET", @@ -2176,7 +2233,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2299,7 +2361,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2308,7 +2375,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2450,7 +2518,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2539,7 +2612,12 @@ "$ref": "165" } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -2548,7 +2626,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json index 7ac5a047f0c..1dd3d5f9d41 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json @@ -2285,7 +2285,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2402,7 +2407,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -2411,7 +2421,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2553,7 +2564,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2670,7 +2686,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -2679,7 +2700,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -2821,7 +2843,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -2938,7 +2965,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -2947,7 +2979,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3089,7 +3122,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3206,7 +3244,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -3215,7 +3258,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3357,7 +3401,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3474,7 +3523,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -3483,7 +3537,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3625,7 +3680,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -3742,7 +3802,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -3751,7 +3816,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -3893,7 +3959,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4010,7 +4081,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -4019,7 +4095,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4161,7 +4238,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4278,7 +4360,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -4287,7 +4374,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4429,7 +4517,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4546,7 +4639,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -4555,7 +4653,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", @@ -4697,7 +4796,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "GET", @@ -4814,7 +4918,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "" + } + } } ], "responses": [ @@ -4823,7 +4932,8 @@ 204 ], "headers": [], - "isErrorResponse": false + "isErrorResponse": false, + "serializationOptions": {} } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json index a3d09a4e9bd..489159f046d 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json @@ -314,7 +314,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -329,7 +334,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json index c73091097c2..f391cab1b7e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json @@ -648,7 +648,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -663,7 +668,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -831,7 +841,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -846,7 +861,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1078,7 +1098,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1093,7 +1118,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json index eb16d74ebad..f1c80ec9919 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json @@ -329,7 +329,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -344,7 +349,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json index 6e381150481..049f8f9ba5c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json @@ -345,7 +345,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -360,7 +365,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json index d9663ce6d91..50f099fd667 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json @@ -768,7 +768,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -783,7 +788,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -993,7 +1003,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1008,7 +1023,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1178,7 +1198,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1193,7 +1218,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1425,7 +1455,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1440,7 +1475,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json index 1c560373251..3736bf4418b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json @@ -535,7 +535,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -550,7 +555,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -719,7 +729,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -734,7 +749,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json index 7a7fe232704..5dfa55c5d97 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json @@ -715,7 +715,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -730,7 +735,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -941,7 +951,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -956,7 +971,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1127,7 +1147,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1142,7 +1167,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -1376,7 +1406,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -1391,7 +1426,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json index d447d4cced5..445460048b7 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json @@ -443,7 +443,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -458,7 +463,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -692,7 +702,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -707,7 +722,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json index aa5d409494c..05751e7526b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json @@ -459,7 +459,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -474,7 +479,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", @@ -710,7 +720,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -725,7 +740,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json index 788eb607769..e4fb4a6115e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json @@ -254,7 +254,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -281,7 +286,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json index 5cf3fc58c2e..63c6c52d05c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json @@ -270,7 +270,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -297,7 +302,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json index e28a26e5e7c..cdd4f31f80e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json @@ -329,7 +329,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -344,7 +349,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json index 987b7dba539..a844c684244 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json @@ -345,7 +345,12 @@ "isExactName": false } ], - "isExactName": false + "isExactName": false, + "serializationOptions": { + "json": { + "name": "body" + } + } } ], "responses": [ @@ -360,7 +365,12 @@ "isErrorResponse": false, "contentTypes": [ "application/json" - ] + ], + "serializationOptions": { + "json": { + "name": "" + } + } } ], "httpMethod": "POST", From 91338306a4be60b65b2170d8d8d046a1bfd47cd1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 19:50:51 +0000 Subject: [PATCH 07/15] Refactor IsExactName serialization tests to use TestData files Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/415f88ad-5491-45f7-b9b0-45eff15ff8e6 Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../MrwSerializationTypeDefinitionTests.cs | 17 ++++++-------- ...xactNameModelSerializationUsesExactName.cs | 19 ++++++++++++++++ ...SerializationUsesExactName(deserialize).cs | 19 ++++++++++++++++ ...tySerializationUsesExactName(serialize).cs | 22 +++++++++++++++++++ 4 files changed, 67 insertions(+), 10 deletions(-) create mode 100644 packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNameModelSerializationUsesExactName.cs create mode 100644 packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(deserialize).cs create mode 100644 packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(serialize).cs diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs index e0bf06c6980..a048e1853a0 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs @@ -617,19 +617,12 @@ public void IsExactNamePropertySerializationUsesExactName() Assert.AreEqual("access_token", model.Properties[0].Name); var serializationMethod = serialization.Methods.Single(m => m.Signature.Name == "JsonModelWriteCore"); - var methodBody = serializationMethod.BodyStatements!.ToDisplayString(); - - // Wire name is written as the JSON property name. - StringAssert.Contains("writer.WritePropertyName(\"access_token\"u8);", methodBody); - // The C# property reference uses the exact name (not PascalCased). - StringAssert.Contains("access_token", methodBody); - StringAssert.DoesNotContain("AccessToken", methodBody); + var serializationBody = serializationMethod.BodyStatements!.ToDisplayString(); + Assert.AreEqual(Helpers.GetExpectedFromFile("serialize"), serializationBody); - // Deserialization also references the wire name and assigns to the exact-named property. var deserializationMethod = serialization.Methods.Single(m => m.Signature.Name.StartsWith("Deserialize")); var deserializationBody = deserializationMethod.BodyStatements!.ToDisplayString(); - StringAssert.Contains("\"access_token\"", deserializationBody); - StringAssert.DoesNotContain("AccessToken", deserializationBody); + Assert.AreEqual(Helpers.GetExpectedFromFile("deserialize"), deserializationBody); } [Test] @@ -647,6 +640,10 @@ public void IsExactNameModelSerializationUsesExactName() // The deserialization method name is built from the model name verbatim. var deserializationMethod = serialization.Methods.Single(m => m.Signature.Name.StartsWith("Deserialize")); Assert.AreEqual("Deserializesnake_case_model", deserializationMethod.Signature.Name); + + // Full deserialization body uses the exact model name verbatim throughout. + var deserializationBody = deserializationMethod.BodyStatements!.ToDisplayString(); + Assert.AreEqual(Helpers.GetExpectedFromFile(), deserializationBody); } [Test] diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNameModelSerializationUsesExactName.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNameModelSerializationUsesExactName.cs new file mode 100644 index 00000000000..881a921c15d --- /dev/null +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNameModelSerializationUsesExactName.cs @@ -0,0 +1,19 @@ +if ((element.ValueKind == global::System.Text.Json.JsonValueKind.Null)) +{ + return null; +} +string name = default; +global::System.Collections.Generic.IDictionary additionalBinaryDataProperties = new global::Sample.ChangeTrackingDictionary(); +foreach (var prop in element.EnumerateObject()) +{ + if (prop.NameEquals("Name"u8)) + { + name = prop.Value.GetString(); + continue; + } + if ((options.Format != "W")) + { + additionalBinaryDataProperties.Add(prop.Name, global::System.BinaryData.FromString(prop.Value.GetRawText())); + } +} +return new global::Sample.Models.snake_case_model(name, additionalBinaryDataProperties); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(deserialize).cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(deserialize).cs new file mode 100644 index 00000000000..903070b5513 --- /dev/null +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(deserialize).cs @@ -0,0 +1,19 @@ +if ((element.ValueKind == global::System.Text.Json.JsonValueKind.Null)) +{ + return null; +} +string accessToken = default; +global::System.Collections.Generic.IDictionary additionalBinaryDataProperties = new global::Sample.ChangeTrackingDictionary(); +foreach (var prop in element.EnumerateObject()) +{ + if (prop.NameEquals("access_token"u8)) + { + accessToken = prop.Value.GetString(); + continue; + } + if ((options.Format != "W")) + { + additionalBinaryDataProperties.Add(prop.Name, global::System.BinaryData.FromString(prop.Value.GetRawText())); + } +} +return new global::Sample.Models.MockInputModel(accessToken, additionalBinaryDataProperties); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(serialize).cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(serialize).cs new file mode 100644 index 00000000000..574da2704e3 --- /dev/null +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/TestData/MrwSerializationTypeDefinitionTests/IsExactNamePropertySerializationUsesExactName(serialize).cs @@ -0,0 +1,22 @@ +string format = (options.Format == "W") ? ((global::System.ClientModel.Primitives.IPersistableModel)this).GetFormatFromOptions(options) : options.Format; +if ((format != "J")) +{ + throw new global::System.FormatException($"The model {nameof(global::Sample.Models.MockInputModel)} does not support writing '{format}' format."); +} +writer.WritePropertyName("access_token"u8); +writer.WriteStringValue(access_token); +if (((options.Format != "W") && (_additionalBinaryDataProperties != null))) +{ + foreach (var item in _additionalBinaryDataProperties) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (global::System.Text.Json.JsonDocument document = global::System.Text.Json.JsonDocument.Parse(item.Value)) + { + global::System.Text.Json.JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } +} From 997509a1c774af073cf8d60acde692625a7dbeea Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 19:58:26 +0000 Subject: [PATCH 08/15] Add @clientName(exact()) demo to Sample-TypeSpec RoundTripModel and regenerate Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/415f88ad-5491-45f7-b9b0-45eff15ff8e6 Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../Local/Sample-TypeSpec/Sample-TypeSpec.tsp | 4 + .../Models/RoundTripModel.Serialization.cs | 12 + .../src/Generated/Models/RoundTripModel.cs | 7 +- .../Generated/SampleTypeSpecModelFactory.cs | 4 +- .../Local/Sample-TypeSpec/tspCodeModel.json | 1705 +++++++++-------- 5 files changed, 891 insertions(+), 841 deletions(-) diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp index 5e4fe46ddc1..0f87bbb470d 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp @@ -212,6 +212,10 @@ model RoundTripModel { @doc("Required string, illustrating a reference type property.") requiredString: string; + @doc("a property whose name is preserved verbatim by the C# emitter via exact()") + @clientName(Azure.ClientGenerator.Core.exact("exact_name_property"), "csharp") + exactNameProperty?: string; + @doc("Required int, illustrating a value type property.") @encode(string) requiredInt: int32; diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs index 0fa6f37b2d4..614d3fe24e3 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs @@ -99,6 +99,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WritePropertyName("requiredString"u8); writer.WriteStringValue(RequiredString); + if (Optional.IsDefined(exact_name_property)) + { + writer.WritePropertyName("exactNameProperty"u8); + writer.WriteStringValue(exact_name_property); + } writer.WritePropertyName("requiredInt"u8); writer.WriteStringValue(RequiredInt.ToString()); writer.WritePropertyName("requiredCollection"u8); @@ -350,6 +355,7 @@ internal static RoundTripModel DeserializeRoundTripModel(JsonElement element, Mo return null; } string requiredString = default; + string exactNameProperty = default; int requiredInt = default; IList requiredCollection = default; IDictionary requiredDictionary = default; @@ -381,6 +387,11 @@ internal static RoundTripModel DeserializeRoundTripModel(JsonElement element, Mo requiredString = prop.Value.GetString(); continue; } + if (prop.NameEquals("exactNameProperty"u8)) + { + exactNameProperty = prop.Value.GetString(); + continue; + } if (prop.NameEquals("requiredInt"u8)) { requiredInt = int.Parse(prop.Value.GetString()); @@ -637,6 +648,7 @@ internal static RoundTripModel DeserializeRoundTripModel(JsonElement element, Mo } return new RoundTripModel( requiredString, + exactNameProperty, requiredInt, requiredCollection, requiredDictionary, diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs index 810d6b74903..57877a4fc0b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs @@ -60,6 +60,7 @@ public RoundTripModel(string requiredString, int requiredInt, IEnumerable Initializes a new instance of . /// Required string, illustrating a reference type property. + /// a property whose name is preserved verbatim by the C# emitter via exact(). /// Required int, illustrating a value type property. /// Required collection of enums. /// Required dictionary of enums. @@ -84,9 +85,10 @@ public RoundTripModel(string requiredString, int requiredInt, IEnumerable this is a model with required nullable properties. /// Required bytes. /// Keeps track of any properties unknown to the library. - internal RoundTripModel(string requiredString, int requiredInt, IList requiredCollection, IDictionary requiredDictionary, Thing requiredModel, IntExtensibleEnum? intExtensibleEnum, IList intExtensibleEnumCollection, FloatExtensibleEnum? floatExtensibleEnum, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue, IList floatExtensibleEnumCollection, FloatFixedEnum? floatFixedEnum, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue, IList floatFixedEnumCollection, IntFixedEnum? intFixedEnum, IList intFixedEnumCollection, StringFixedEnum? stringFixedEnum, BinaryData requiredUnknown, BinaryData optionalUnknown, IDictionary requiredRecordUnknown, IDictionary optionalRecordUnknown, IReadOnlyDictionary readOnlyRequiredRecordUnknown, IReadOnlyDictionary readOnlyOptionalRecordUnknown, ModelWithRequiredNullableProperties modelWithRequiredNullable, BinaryData requiredBytes, IDictionary additionalBinaryDataProperties) + internal RoundTripModel(string requiredString, string exactNameProperty, int requiredInt, IList requiredCollection, IDictionary requiredDictionary, Thing requiredModel, IntExtensibleEnum? intExtensibleEnum, IList intExtensibleEnumCollection, FloatExtensibleEnum? floatExtensibleEnum, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue, IList floatExtensibleEnumCollection, FloatFixedEnum? floatFixedEnum, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue, IList floatFixedEnumCollection, IntFixedEnum? intFixedEnum, IList intFixedEnumCollection, StringFixedEnum? stringFixedEnum, BinaryData requiredUnknown, BinaryData optionalUnknown, IDictionary requiredRecordUnknown, IDictionary optionalRecordUnknown, IReadOnlyDictionary readOnlyRequiredRecordUnknown, IReadOnlyDictionary readOnlyOptionalRecordUnknown, ModelWithRequiredNullableProperties modelWithRequiredNullable, BinaryData requiredBytes, IDictionary additionalBinaryDataProperties) { RequiredString = requiredString; + exact_name_property = exactNameProperty; RequiredInt = requiredInt; RequiredCollection = requiredCollection; RequiredDictionary = requiredDictionary; @@ -116,6 +118,9 @@ internal RoundTripModel(string requiredString, int requiredInt, IList Required string, illustrating a reference type property. public string RequiredString { get; set; } + /// a property whose name is preserved verbatim by the C# emitter via exact(). + public string exact_name_property { get; set; } + /// Required int, illustrating a value type property. public int RequiredInt { get; set; } diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs index 5552d775dbe..84cfe66f763 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs @@ -61,6 +61,7 @@ public static Thing Thing(string rename = default, BinaryData requiredUnion = de /// this is a roundtrip model. /// Required string, illustrating a reference type property. + /// a property whose name is preserved verbatim by the C# emitter via exact(). /// Required int, illustrating a value type property. /// Required collection of enums. /// Required dictionary of enums. @@ -85,7 +86,7 @@ public static Thing Thing(string rename = default, BinaryData requiredUnion = de /// this is a model with required nullable properties. /// Required bytes. /// A new instance for mocking. - public static RoundTripModel RoundTripModel(string requiredString = default, int requiredInt = default, IEnumerable requiredCollection = default, IDictionary requiredDictionary = default, Thing requiredModel = default, IntExtensibleEnum? intExtensibleEnum = default, IEnumerable intExtensibleEnumCollection = default, FloatExtensibleEnum? floatExtensibleEnum = default, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue = default, IEnumerable floatExtensibleEnumCollection = default, FloatFixedEnum? floatFixedEnum = default, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue = default, IEnumerable floatFixedEnumCollection = default, IntFixedEnum? intFixedEnum = default, IEnumerable intFixedEnumCollection = default, StringFixedEnum? stringFixedEnum = default, BinaryData requiredUnknown = default, BinaryData optionalUnknown = default, IDictionary requiredRecordUnknown = default, IDictionary optionalRecordUnknown = default, IReadOnlyDictionary readOnlyRequiredRecordUnknown = default, IReadOnlyDictionary readOnlyOptionalRecordUnknown = default, ModelWithRequiredNullableProperties modelWithRequiredNullable = default, BinaryData requiredBytes = default) + public static RoundTripModel RoundTripModel(string requiredString = default, string exactNameProperty = default, int requiredInt = default, IEnumerable requiredCollection = default, IDictionary requiredDictionary = default, Thing requiredModel = default, IntExtensibleEnum? intExtensibleEnum = default, IEnumerable intExtensibleEnumCollection = default, FloatExtensibleEnum? floatExtensibleEnum = default, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue = default, IEnumerable floatExtensibleEnumCollection = default, FloatFixedEnum? floatFixedEnum = default, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue = default, IEnumerable floatFixedEnumCollection = default, IntFixedEnum? intFixedEnum = default, IEnumerable intFixedEnumCollection = default, StringFixedEnum? stringFixedEnum = default, BinaryData requiredUnknown = default, BinaryData optionalUnknown = default, IDictionary requiredRecordUnknown = default, IDictionary optionalRecordUnknown = default, IReadOnlyDictionary readOnlyRequiredRecordUnknown = default, IReadOnlyDictionary readOnlyOptionalRecordUnknown = default, ModelWithRequiredNullableProperties modelWithRequiredNullable = default, BinaryData requiredBytes = default) { requiredCollection ??= new ChangeTrackingList(); requiredDictionary ??= new ChangeTrackingDictionary(); @@ -100,6 +101,7 @@ public static RoundTripModel RoundTripModel(string requiredString = default, int return new RoundTripModel( requiredString, + exactNameProperty, requiredInt, requiredCollection.ToList(), requiredDictionary, diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json index b37a9c61325..1c9224b204b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json @@ -2786,11 +2786,38 @@ { "$id": "276", "kind": "property", + "name": "exact_name_property", + "serializedName": "exactNameProperty", + "doc": "a property whose name is preserved verbatim by the C# emitter via exact()", + "type": { + "$id": "277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "SampleTypeSpec.RoundTripModel.exactNameProperty", + "serializationOptions": { + "json": { + "name": "exactNameProperty" + } + }, + "isHttpMetadata": false, + "isExactName": true + }, + { + "$id": "278", + "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int, illustrating a value type property.", "type": { - "$id": "277", + "$id": "279", "kind": "int32", "name": "int32", "encode": "string", @@ -2812,13 +2839,13 @@ "isExactName": false }, { - "$id": "278", + "$id": "280", "kind": "property", "name": "requiredCollection", "serializedName": "requiredCollection", "doc": "Required collection of enums", "type": { - "$id": "279", + "$id": "281", "kind": "array", "name": "ArrayStringFixedEnum", "valueType": { @@ -2842,16 +2869,16 @@ "isExactName": false }, { - "$id": "280", + "$id": "282", "kind": "property", "name": "requiredDictionary", "serializedName": "requiredDictionary", "doc": "Required dictionary of enums", "type": { - "$id": "281", + "$id": "283", "kind": "dict", "keyType": { - "$id": "282", + "$id": "284", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2877,7 +2904,7 @@ "isExactName": false }, { - "$id": "283", + "$id": "285", "kind": "property", "name": "requiredModel", "serializedName": "requiredModel", @@ -2900,7 +2927,7 @@ "isExactName": false }, { - "$id": "284", + "$id": "286", "kind": "property", "name": "intExtensibleEnum", "serializedName": "intExtensibleEnum", @@ -2923,13 +2950,13 @@ "isExactName": false }, { - "$id": "285", + "$id": "287", "kind": "property", "name": "intExtensibleEnumCollection", "serializedName": "intExtensibleEnumCollection", "doc": "this is a collection of int based extensible enum", "type": { - "$id": "286", + "$id": "288", "kind": "array", "name": "ArrayIntExtensibleEnum", "valueType": { @@ -2953,7 +2980,7 @@ "isExactName": false }, { - "$id": "287", + "$id": "289", "kind": "property", "name": "floatExtensibleEnum", "serializedName": "floatExtensibleEnum", @@ -2976,7 +3003,7 @@ "isExactName": false }, { - "$id": "288", + "$id": "290", "kind": "property", "name": "floatExtensibleEnumWithIntValue", "serializedName": "floatExtensibleEnumWithIntValue", @@ -2999,13 +3026,13 @@ "isExactName": false }, { - "$id": "289", + "$id": "291", "kind": "property", "name": "floatExtensibleEnumCollection", "serializedName": "floatExtensibleEnumCollection", "doc": "this is a collection of float based extensible enum", "type": { - "$id": "290", + "$id": "292", "kind": "array", "name": "ArrayFloatExtensibleEnum", "valueType": { @@ -3029,7 +3056,7 @@ "isExactName": false }, { - "$id": "291", + "$id": "293", "kind": "property", "name": "floatFixedEnum", "serializedName": "floatFixedEnum", @@ -3052,7 +3079,7 @@ "isExactName": false }, { - "$id": "292", + "$id": "294", "kind": "property", "name": "floatFixedEnumWithIntValue", "serializedName": "floatFixedEnumWithIntValue", @@ -3075,13 +3102,13 @@ "isExactName": false }, { - "$id": "293", + "$id": "295", "kind": "property", "name": "floatFixedEnumCollection", "serializedName": "floatFixedEnumCollection", "doc": "this is a collection of float based fixed enum", "type": { - "$id": "294", + "$id": "296", "kind": "array", "name": "ArrayFloatFixedEnum", "valueType": { @@ -3105,7 +3132,7 @@ "isExactName": false }, { - "$id": "295", + "$id": "297", "kind": "property", "name": "intFixedEnum", "serializedName": "intFixedEnum", @@ -3128,13 +3155,13 @@ "isExactName": false }, { - "$id": "296", + "$id": "298", "kind": "property", "name": "intFixedEnumCollection", "serializedName": "intFixedEnumCollection", "doc": "this is a collection of int based fixed enum", "type": { - "$id": "297", + "$id": "299", "kind": "array", "name": "ArrayIntFixedEnum", "valueType": { @@ -3158,7 +3185,7 @@ "isExactName": false }, { - "$id": "298", + "$id": "300", "kind": "property", "name": "stringFixedEnum", "serializedName": "stringFixedEnum", @@ -3181,13 +3208,13 @@ "isExactName": false }, { - "$id": "299", + "$id": "301", "kind": "property", "name": "requiredUnknown", "serializedName": "requiredUnknown", "doc": "required unknown", "type": { - "$id": "300", + "$id": "302", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -3208,13 +3235,13 @@ "isExactName": false }, { - "$id": "301", + "$id": "303", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "doc": "optional unknown", "type": { - "$id": "302", + "$id": "304", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -3235,23 +3262,23 @@ "isExactName": false }, { - "$id": "303", + "$id": "305", "kind": "property", "name": "requiredRecordUnknown", "serializedName": "requiredRecordUnknown", "doc": "required record of unknown", "type": { - "$id": "304", + "$id": "306", "kind": "dict", "keyType": { - "$id": "305", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "306", + "$id": "308", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -3274,13 +3301,13 @@ "isExactName": false }, { - "$id": "307", + "$id": "309", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "304" + "$ref": "306" }, "optional": true, "readOnly": false, @@ -3297,13 +3324,13 @@ "isExactName": false }, { - "$id": "308", + "$id": "310", "kind": "property", "name": "readOnlyRequiredRecordUnknown", "serializedName": "readOnlyRequiredRecordUnknown", "doc": "required readonly record of unknown", "type": { - "$ref": "304" + "$ref": "306" }, "optional": false, "readOnly": true, @@ -3320,13 +3347,13 @@ "isExactName": false }, { - "$id": "309", + "$id": "311", "kind": "property", "name": "readOnlyOptionalRecordUnknown", "serializedName": "readOnlyOptionalRecordUnknown", "doc": "optional readonly record of unknown", "type": { - "$ref": "304" + "$ref": "306" }, "optional": true, "readOnly": true, @@ -3343,13 +3370,13 @@ "isExactName": false }, { - "$id": "310", + "$id": "312", "kind": "property", "name": "modelWithRequiredNullable", "serializedName": "modelWithRequiredNullable", "doc": "this is a model with required nullable properties", "type": { - "$id": "311", + "$id": "313", "kind": "model", "name": "ModelWithRequiredNullableProperties", "namespace": "SampleTypeSpec", @@ -3365,16 +3392,16 @@ "isExactName": false, "properties": [ { - "$id": "312", + "$id": "314", "kind": "property", "name": "requiredNullablePrimitive", "serializedName": "requiredNullablePrimitive", "doc": "required nullable primitive type", "type": { - "$id": "313", + "$id": "315", "kind": "nullable", "type": { - "$id": "314", + "$id": "316", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3397,13 +3424,13 @@ "isExactName": false }, { - "$id": "315", + "$id": "317", "kind": "property", "name": "requiredExtensibleEnum", "serializedName": "requiredExtensibleEnum", "doc": "required nullable extensible enum type", "type": { - "$id": "316", + "$id": "318", "kind": "nullable", "type": { "$ref": "22" @@ -3425,13 +3452,13 @@ "isExactName": false }, { - "$id": "317", + "$id": "319", "kind": "property", "name": "requiredFixedEnum", "serializedName": "requiredFixedEnum", "doc": "required nullable fixed enum type", "type": { - "$id": "318", + "$id": "320", "kind": "nullable", "type": { "$ref": "17" @@ -3469,13 +3496,13 @@ "isExactName": false }, { - "$id": "319", + "$id": "321", "kind": "property", "name": "requiredBytes", "serializedName": "requiredBytes", "doc": "Required bytes", "type": { - "$id": "320", + "$id": "322", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -3499,10 +3526,10 @@ ] }, { - "$ref": "311" + "$ref": "313" }, { - "$id": "321", + "$id": "323", "kind": "model", "name": "Wrapper", "namespace": "SampleTypeSpec", @@ -3513,12 +3540,12 @@ "isExactName": false, "properties": [ { - "$id": "322", + "$id": "324", "kind": "property", "name": "p1", "doc": "header parameter", "type": { - "$id": "323", + "$id": "325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3535,7 +3562,7 @@ "isExactName": false }, { - "$id": "324", + "$id": "326", "kind": "property", "name": "action", "doc": "body parameter", @@ -3553,12 +3580,12 @@ "isExactName": false }, { - "$id": "325", + "$id": "327", "kind": "property", "name": "p2", "doc": "path parameter", "type": { - "$id": "326", + "$id": "328", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3577,7 +3604,7 @@ ] }, { - "$id": "327", + "$id": "329", "kind": "model", "name": "Friend", "namespace": "SampleTypeSpec", @@ -3593,13 +3620,13 @@ "isExactName": false, "properties": [ { - "$id": "328", + "$id": "330", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "329", + "$id": "331", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3622,7 +3649,7 @@ ] }, { - "$id": "330", + "$id": "332", "kind": "model", "name": "RenamedModel", "namespace": "SampleTypeSpec", @@ -3638,13 +3665,13 @@ "isExactName": false, "properties": [ { - "$id": "331", + "$id": "333", "kind": "property", "name": "otherName", "serializedName": "otherName", "doc": "name of the ModelWithClientName", "type": { - "$id": "332", + "$id": "334", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3667,7 +3694,7 @@ ] }, { - "$id": "333", + "$id": "335", "kind": "model", "name": "ReturnsAnonymousModelResponse", "namespace": "SampleTypeSpec", @@ -3683,7 +3710,7 @@ "properties": [] }, { - "$id": "334", + "$id": "336", "kind": "model", "name": "ListWithNextLinkResponse", "namespace": "SampleTypeSpec", @@ -3698,12 +3725,12 @@ "isExactName": false, "properties": [ { - "$id": "335", + "$id": "337", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$id": "336", + "$id": "338", "kind": "array", "name": "ArrayThing", "valueType": { @@ -3727,12 +3754,12 @@ "isExactName": false }, { - "$id": "337", + "$id": "339", "kind": "property", "name": "next", "serializedName": "next", "type": { - "$id": "338", + "$id": "340", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3755,7 +3782,7 @@ ] }, { - "$id": "339", + "$id": "341", "kind": "model", "name": "ListWithStringNextLinkResponse", "namespace": "SampleTypeSpec", @@ -3770,12 +3797,12 @@ "isExactName": false, "properties": [ { - "$id": "340", + "$id": "342", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$ref": "336" + "$ref": "338" }, "optional": false, "readOnly": false, @@ -3792,12 +3819,12 @@ "isExactName": false }, { - "$id": "341", + "$id": "343", "kind": "property", "name": "next", "serializedName": "next", "type": { - "$id": "342", + "$id": "344", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3820,7 +3847,7 @@ ] }, { - "$id": "343", + "$id": "345", "kind": "model", "name": "ListWithContinuationTokenResponse", "namespace": "SampleTypeSpec", @@ -3835,12 +3862,12 @@ "isExactName": false, "properties": [ { - "$id": "344", + "$id": "346", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$ref": "336" + "$ref": "338" }, "optional": false, "readOnly": false, @@ -3857,12 +3884,12 @@ "isExactName": false }, { - "$id": "345", + "$id": "347", "kind": "property", "name": "nextToken", "serializedName": "nextToken", "type": { - "$id": "346", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3885,7 +3912,7 @@ ] }, { - "$id": "347", + "$id": "349", "kind": "model", "name": "ListWithContinuationTokenHeaderResponseResponse", "namespace": "", @@ -3900,12 +3927,12 @@ "isExactName": false, "properties": [ { - "$id": "348", + "$id": "350", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$ref": "336" + "$ref": "338" }, "optional": false, "readOnly": false, @@ -3924,7 +3951,7 @@ ] }, { - "$id": "349", + "$id": "351", "kind": "model", "name": "PageThing", "namespace": "SampleTypeSpec", @@ -3939,12 +3966,12 @@ "isExactName": false, "properties": [ { - "$id": "350", + "$id": "352", "kind": "property", "name": "items", "serializedName": "items", "type": { - "$ref": "336" + "$ref": "338" }, "optional": false, "readOnly": false, @@ -3963,7 +3990,7 @@ ] }, { - "$id": "351", + "$id": "353", "kind": "model", "name": "ModelWithEmbeddedNonBodyParameters", "namespace": "SampleTypeSpec", @@ -3978,13 +4005,13 @@ "isExactName": false, "properties": [ { - "$id": "352", + "$id": "354", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelWithEmbeddedNonBodyParameters", "type": { - "$id": "353", + "$id": "355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4005,13 +4032,13 @@ "isExactName": false }, { - "$id": "354", + "$id": "356", "kind": "property", "name": "requiredHeader", "serializedName": "requiredHeader", "doc": "required header parameter", "type": { - "$id": "355", + "$id": "357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4032,13 +4059,13 @@ "isExactName": false }, { - "$id": "356", + "$id": "358", "kind": "property", "name": "optionalHeader", "serializedName": "optionalHeader", "doc": "optional header parameter", "type": { - "$id": "357", + "$id": "359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4059,13 +4086,13 @@ "isExactName": false }, { - "$id": "358", + "$id": "360", "kind": "property", "name": "requiredQuery", "serializedName": "requiredQuery", "doc": "required query parameter", "type": { - "$id": "359", + "$id": "361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4086,13 +4113,13 @@ "isExactName": false }, { - "$id": "360", + "$id": "362", "kind": "property", "name": "optionalQuery", "serializedName": "optionalQuery", "doc": "optional query parameter", "type": { - "$id": "361", + "$id": "363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4115,7 +4142,7 @@ ] }, { - "$id": "362", + "$id": "364", "kind": "model", "name": "DynamicModel", "namespace": "SampleTypeSpec", @@ -4136,12 +4163,12 @@ "isExactName": false, "properties": [ { - "$id": "363", + "$id": "365", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "364", + "$id": "366", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4162,12 +4189,12 @@ "isExactName": false }, { - "$id": "365", + "$id": "367", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "type": { - "$id": "366", + "$id": "368", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -4188,12 +4215,12 @@ "isExactName": false }, { - "$id": "367", + "$id": "369", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "type": { - "$id": "368", + "$id": "370", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4214,12 +4241,12 @@ "isExactName": false }, { - "$id": "369", + "$id": "371", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "type": { - "$id": "370", + "$id": "372", "kind": "nullable", "type": { "$ref": "267" @@ -4241,12 +4268,12 @@ "isExactName": false }, { - "$id": "371", + "$id": "373", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "type": { - "$id": "372", + "$id": "374", "kind": "nullable", "type": { "$ref": "267" @@ -4268,25 +4295,25 @@ "isExactName": false }, { - "$id": "373", + "$id": "375", "kind": "property", "name": "optionalNullableDictionary", "serializedName": "optionalNullableDictionary", "type": { - "$id": "374", + "$id": "376", "kind": "nullable", "type": { - "$id": "375", + "$id": "377", "kind": "dict", "keyType": { - "$id": "376", + "$id": "378", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "377", + "$id": "379", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4311,15 +4338,15 @@ "isExactName": false }, { - "$id": "378", + "$id": "380", "kind": "property", "name": "requiredNullableDictionary", "serializedName": "requiredNullableDictionary", "type": { - "$id": "379", + "$id": "381", "kind": "nullable", "type": { - "$ref": "375" + "$ref": "377" }, "namespace": "SampleTypeSpec" }, @@ -4338,12 +4365,12 @@ "isExactName": false }, { - "$id": "380", + "$id": "382", "kind": "property", "name": "primitiveDictionary", "serializedName": "primitiveDictionary", "type": { - "$ref": "375" + "$ref": "377" }, "optional": false, "readOnly": false, @@ -4360,12 +4387,12 @@ "isExactName": false }, { - "$id": "381", + "$id": "383", "kind": "property", "name": "foo", "serializedName": "foo", "type": { - "$id": "382", + "$id": "384", "kind": "model", "name": "AnotherDynamicModel", "namespace": "SampleTypeSpec", @@ -4386,12 +4413,12 @@ "isExactName": false, "properties": [ { - "$id": "383", + "$id": "385", "kind": "property", "name": "bar", "serializedName": "bar", "type": { - "$id": "384", + "$id": "386", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4428,16 +4455,16 @@ "isExactName": false }, { - "$id": "385", + "$id": "387", "kind": "property", "name": "listFoo", "serializedName": "listFoo", "type": { - "$id": "386", + "$id": "388", "kind": "array", "name": "ArrayAnotherDynamicModel", "valueType": { - "$ref": "382" + "$ref": "384" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4457,16 +4484,16 @@ "isExactName": false }, { - "$id": "387", + "$id": "389", "kind": "property", "name": "listOfListFoo", "serializedName": "listOfListFoo", "type": { - "$id": "388", + "$id": "390", "kind": "array", "name": "ArrayArray", "valueType": { - "$ref": "386" + "$ref": "388" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4486,22 +4513,22 @@ "isExactName": false }, { - "$id": "389", + "$id": "391", "kind": "property", "name": "dictionaryFoo", "serializedName": "dictionaryFoo", "type": { - "$id": "390", + "$id": "392", "kind": "dict", "keyType": { - "$id": "391", + "$id": "393", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "382" + "$ref": "384" }, "decorators": [] }, @@ -4520,22 +4547,22 @@ "isExactName": false }, { - "$id": "392", + "$id": "394", "kind": "property", "name": "dictionaryOfDictionaryFoo", "serializedName": "dictionaryOfDictionaryFoo", "type": { - "$id": "393", + "$id": "395", "kind": "dict", "keyType": { - "$id": "394", + "$id": "396", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "390" + "$ref": "392" }, "decorators": [] }, @@ -4554,22 +4581,22 @@ "isExactName": false }, { - "$id": "395", + "$id": "397", "kind": "property", "name": "dictionaryListFoo", "serializedName": "dictionaryListFoo", "type": { - "$id": "396", + "$id": "398", "kind": "dict", "keyType": { - "$id": "397", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "386" + "$ref": "388" }, "decorators": [] }, @@ -4588,16 +4615,16 @@ "isExactName": false }, { - "$id": "398", + "$id": "400", "kind": "property", "name": "listOfDictionaryFoo", "serializedName": "listOfDictionaryFoo", "type": { - "$id": "399", + "$id": "401", "kind": "array", "name": "ArrayRecord", "valueType": { - "$ref": "390" + "$ref": "392" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4619,10 +4646,10 @@ ] }, { - "$ref": "382" + "$ref": "384" }, { - "$id": "400", + "$id": "402", "kind": "model", "name": "XmlAdvancedModel", "namespace": "SampleTypeSpec", @@ -4647,13 +4674,13 @@ "isExactName": false, "properties": [ { - "$id": "401", + "$id": "403", "kind": "property", "name": "name", "serializedName": "name", "doc": "A simple string property", "type": { - "$id": "402", + "$id": "404", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4676,13 +4703,13 @@ "isExactName": false }, { - "$id": "403", + "$id": "405", "kind": "property", "name": "age", "serializedName": "age", "doc": "An integer property", "type": { - "$id": "404", + "$id": "406", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4705,13 +4732,13 @@ "isExactName": false }, { - "$id": "405", + "$id": "407", "kind": "property", "name": "enabled", "serializedName": "enabled", "doc": "A boolean property", "type": { - "$id": "406", + "$id": "408", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4734,13 +4761,13 @@ "isExactName": false }, { - "$id": "407", + "$id": "409", "kind": "property", "name": "score", "serializedName": "score", "doc": "A float property", "type": { - "$id": "408", + "$id": "410", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -4763,13 +4790,13 @@ "isExactName": false }, { - "$id": "409", + "$id": "411", "kind": "property", "name": "optionalString", "serializedName": "optionalString", "doc": "An optional string", "type": { - "$id": "410", + "$id": "412", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4792,13 +4819,13 @@ "isExactName": false }, { - "$id": "411", + "$id": "413", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "doc": "An optional integer", "type": { - "$id": "412", + "$id": "414", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4821,16 +4848,16 @@ "isExactName": false }, { - "$id": "413", + "$id": "415", "kind": "property", "name": "nullableString", "serializedName": "nullableString", "doc": "A nullable string", "type": { - "$id": "414", + "$id": "416", "kind": "nullable", "type": { - "$id": "415", + "$id": "417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4855,13 +4882,13 @@ "isExactName": false }, { - "$id": "416", + "$id": "418", "kind": "property", "name": "id", "serializedName": "id", "doc": "A string as XML attribute", "type": { - "$id": "417", + "$id": "419", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4889,13 +4916,13 @@ "isExactName": false }, { - "$id": "418", + "$id": "420", "kind": "property", "name": "version", "serializedName": "version", "doc": "An integer as XML attribute", "type": { - "$id": "419", + "$id": "421", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4923,13 +4950,13 @@ "isExactName": false }, { - "$id": "420", + "$id": "422", "kind": "property", "name": "isActive", "serializedName": "isActive", "doc": "A boolean as XML attribute", "type": { - "$id": "421", + "$id": "423", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4957,13 +4984,13 @@ "isExactName": false }, { - "$id": "422", + "$id": "424", "kind": "property", "name": "originalName", "serializedName": "RenamedProperty", "doc": "A property with a custom XML element name", "type": { - "$id": "423", + "$id": "425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4993,13 +5020,13 @@ "isExactName": false }, { - "$id": "424", + "$id": "426", "kind": "property", "name": "xmlIdentifier", "serializedName": "xml-id", "doc": "An attribute with a custom XML name", "type": { - "$id": "425", + "$id": "427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5033,13 +5060,13 @@ "isExactName": false }, { - "$id": "426", + "$id": "428", "kind": "property", "name": "content", "serializedName": "content", "doc": "Text content in the element (unwrapped string)", "type": { - "$id": "427", + "$id": "429", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5067,7 +5094,7 @@ "isExactName": false }, { - "$id": "428", + "$id": "430", "kind": "property", "name": "unwrappedStrings", "serializedName": "unwrappedStrings", @@ -5098,7 +5125,7 @@ "isExactName": false }, { - "$id": "429", + "$id": "431", "kind": "property", "name": "unwrappedCounts", "serializedName": "unwrappedCounts", @@ -5129,17 +5156,17 @@ "isExactName": false }, { - "$id": "430", + "$id": "432", "kind": "property", "name": "unwrappedItems", "serializedName": "unwrappedItems", "doc": "An unwrapped array of models", "type": { - "$id": "431", + "$id": "433", "kind": "array", "name": "ArrayXmlItem", "valueType": { - "$id": "432", + "$id": "434", "kind": "model", "name": "XmlItem", "namespace": "SampleTypeSpec", @@ -5164,13 +5191,13 @@ "isExactName": false, "properties": [ { - "$id": "433", + "$id": "435", "kind": "property", "name": "itemName", "serializedName": "itemName", "doc": "The item name", "type": { - "$id": "434", + "$id": "436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5193,13 +5220,13 @@ "isExactName": false }, { - "$id": "435", + "$id": "437", "kind": "property", "name": "itemValue", "serializedName": "itemValue", "doc": "The item value", "type": { - "$id": "436", + "$id": "438", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5222,13 +5249,13 @@ "isExactName": false }, { - "$id": "437", + "$id": "439", "kind": "property", "name": "itemId", "serializedName": "itemId", "doc": "Item ID as attribute", "type": { - "$id": "438", + "$id": "440", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5283,7 +5310,7 @@ "isExactName": false }, { - "$id": "439", + "$id": "441", "kind": "property", "name": "wrappedColors", "serializedName": "wrappedColors", @@ -5309,13 +5336,13 @@ "isExactName": false }, { - "$id": "440", + "$id": "442", "kind": "property", "name": "items", "serializedName": "ItemCollection", "doc": "A wrapped array with custom wrapper name", "type": { - "$ref": "431" + "$ref": "433" }, "optional": false, "readOnly": false, @@ -5342,13 +5369,13 @@ "isExactName": false }, { - "$id": "441", + "$id": "443", "kind": "property", "name": "nestedModel", "serializedName": "nestedModel", "doc": "A nested model property", "type": { - "$id": "442", + "$id": "444", "kind": "model", "name": "XmlNestedModel", "namespace": "SampleTypeSpec", @@ -5366,13 +5393,13 @@ "isExactName": false, "properties": [ { - "$id": "443", + "$id": "445", "kind": "property", "name": "value", "serializedName": "value", "doc": "The value of the nested model", "type": { - "$id": "444", + "$id": "446", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5395,13 +5422,13 @@ "isExactName": false }, { - "$id": "445", + "$id": "447", "kind": "property", "name": "nestedId", "serializedName": "nestedId", "doc": "An attribute on the nested model", "type": { - "$id": "446", + "$id": "448", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5447,13 +5474,13 @@ "isExactName": false }, { - "$id": "447", + "$id": "449", "kind": "property", "name": "optionalNestedModel", "serializedName": "optionalNestedModel", "doc": "An optional nested model", "type": { - "$ref": "442" + "$ref": "444" }, "optional": true, "readOnly": false, @@ -5472,23 +5499,23 @@ "isExactName": false }, { - "$id": "448", + "$id": "450", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "A dictionary property", "type": { - "$id": "449", + "$id": "451", "kind": "dict", "keyType": { - "$id": "450", + "$id": "452", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "451", + "$id": "453", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5513,18 +5540,18 @@ "isExactName": false }, { - "$id": "452", + "$id": "454", "kind": "property", "name": "createdAt", "serializedName": "createdAt", "doc": "A date-time property", "type": { - "$id": "453", + "$id": "455", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "454", + "$id": "456", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5550,18 +5577,18 @@ "isExactName": false }, { - "$id": "455", + "$id": "457", "kind": "property", "name": "duration", "serializedName": "duration", "doc": "A duration property", "type": { - "$id": "456", + "$id": "458", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "457", + "$id": "459", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5587,13 +5614,13 @@ "isExactName": false }, { - "$id": "458", + "$id": "460", "kind": "property", "name": "data", "serializedName": "data", "doc": "A bytes property", "type": { - "$id": "459", + "$id": "461", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -5617,13 +5644,13 @@ "isExactName": false }, { - "$id": "460", + "$id": "462", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "304" + "$ref": "306" }, "optional": true, "readOnly": false, @@ -5642,7 +5669,7 @@ "isExactName": false }, { - "$id": "461", + "$id": "463", "kind": "property", "name": "fixedEnum", "serializedName": "fixedEnum", @@ -5667,7 +5694,7 @@ "isExactName": false }, { - "$id": "462", + "$id": "464", "kind": "property", "name": "extensibleEnum", "serializedName": "extensibleEnum", @@ -5692,7 +5719,7 @@ "isExactName": false }, { - "$id": "463", + "$id": "465", "kind": "property", "name": "optionalFixedEnum", "serializedName": "optionalFixedEnum", @@ -5717,7 +5744,7 @@ "isExactName": false }, { - "$id": "464", + "$id": "466", "kind": "property", "name": "optionalExtensibleEnum", "serializedName": "optionalExtensibleEnum", @@ -5742,12 +5769,12 @@ "isExactName": false }, { - "$id": "465", + "$id": "467", "kind": "property", "name": "label", "serializedName": "label", "type": { - "$id": "466", + "$id": "468", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5762,13 +5789,13 @@ "name": "TypeSpec.Xml.@ns", "arguments": { "ns": { - "$id": "467", + "$id": "469", "kind": "enumvalue", "decorators": [], "name": "ns1", "value": "https://example.com/ns1", "enumType": { - "$id": "468", + "$id": "470", "kind": "enum", "decorators": [ { @@ -5781,7 +5808,7 @@ "isExactName": false, "namespace": "SampleTypeSpec", "valueType": { - "$id": "469", + "$id": "471", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -5790,30 +5817,30 @@ }, "values": [ { - "$id": "470", + "$id": "472", "kind": "enumvalue", "decorators": [], "name": "ns1", "value": "https://example.com/ns1", "enumType": { - "$ref": "468" + "$ref": "470" }, "valueType": { - "$ref": "469" + "$ref": "471" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns1" }, { - "$id": "471", + "$id": "473", "kind": "enumvalue", "decorators": [], "name": "ns2", "value": "https://example.com/ns2", "enumType": { - "$ref": "468" + "$ref": "470" }, "valueType": { - "$ref": "469" + "$ref": "471" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns2" } @@ -5831,7 +5858,7 @@ "__accessSet": true }, "valueType": { - "$ref": "469" + "$ref": "471" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns1" } @@ -5858,12 +5885,12 @@ "isExactName": false }, { - "$id": "472", + "$id": "474", "kind": "property", "name": "daysUsed", "serializedName": "daysUsed", "type": { - "$id": "473", + "$id": "475", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5878,16 +5905,16 @@ "name": "TypeSpec.Xml.@ns", "arguments": { "ns": { - "$id": "474", + "$id": "476", "kind": "enumvalue", "decorators": [], "name": "ns2", "value": "https://example.com/ns2", "enumType": { - "$ref": "468" + "$ref": "470" }, "valueType": { - "$ref": "469" + "$ref": "471" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns2" } @@ -5910,7 +5937,7 @@ "isExactName": false }, { - "$id": "475", + "$id": "477", "kind": "property", "name": "fooItems", "serializedName": "fooItems", @@ -5947,12 +5974,12 @@ "isExactName": false }, { - "$id": "476", + "$id": "478", "kind": "property", "name": "anotherModel", "serializedName": "anotherModel", "type": { - "$ref": "442" + "$ref": "444" }, "optional": false, "readOnly": false, @@ -5983,16 +6010,16 @@ "isExactName": false }, { - "$id": "477", + "$id": "479", "kind": "property", "name": "modelsWithNamespaces", "serializedName": "modelsWithNamespaces", "type": { - "$id": "478", + "$id": "480", "kind": "array", "name": "ArrayXmlModelWithNamespace", "valueType": { - "$id": "479", + "$id": "481", "kind": "model", "name": "XmlModelWithNamespace", "namespace": "SampleTypeSpec", @@ -6021,12 +6048,12 @@ "isExactName": false, "properties": [ { - "$id": "480", + "$id": "482", "kind": "property", "name": "foo", "serializedName": "foo", "type": { - "$id": "481", + "$id": "483", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6075,12 +6102,12 @@ "isExactName": false }, { - "$id": "482", + "$id": "484", "kind": "property", "name": "unwrappedModelsWithNamespaces", "serializedName": "unwrappedModelsWithNamespaces", "type": { - "$ref": "478" + "$ref": "480" }, "optional": false, "readOnly": false, @@ -6105,16 +6132,16 @@ "isExactName": false }, { - "$id": "483", + "$id": "485", "kind": "property", "name": "listOfListFoo", "serializedName": "listOfListFoo", "type": { - "$id": "484", + "$id": "486", "kind": "array", "name": "ArrayArray1", "valueType": { - "$ref": "431" + "$ref": "433" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -6137,22 +6164,22 @@ "isExactName": false }, { - "$id": "485", + "$id": "487", "kind": "property", "name": "dictionaryFoo", "serializedName": "dictionaryFoo", "type": { - "$id": "486", + "$id": "488", "kind": "dict", "keyType": { - "$id": "487", + "$id": "489", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "432" + "$ref": "434" }, "decorators": [] }, @@ -6173,22 +6200,22 @@ "isExactName": false }, { - "$id": "488", + "$id": "490", "kind": "property", "name": "dictionaryOfDictionaryFoo", "serializedName": "dictionaryOfDictionaryFoo", "type": { - "$id": "489", + "$id": "491", "kind": "dict", "keyType": { - "$id": "490", + "$id": "492", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "486" + "$ref": "488" }, "decorators": [] }, @@ -6209,22 +6236,22 @@ "isExactName": false }, { - "$id": "491", + "$id": "493", "kind": "property", "name": "dictionaryListFoo", "serializedName": "dictionaryListFoo", "type": { - "$id": "492", + "$id": "494", "kind": "dict", "keyType": { - "$id": "493", + "$id": "495", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "431" + "$ref": "433" }, "decorators": [] }, @@ -6245,16 +6272,16 @@ "isExactName": false }, { - "$id": "494", + "$id": "496", "kind": "property", "name": "listOfDictionaryFoo", "serializedName": "listOfDictionaryFoo", "type": { - "$id": "495", + "$id": "497", "kind": "array", "name": "ArrayRecord1", "valueType": { - "$ref": "486" + "$ref": "488" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -6279,16 +6306,16 @@ ] }, { - "$ref": "432" + "$ref": "434" }, { - "$ref": "442" + "$ref": "444" }, { - "$ref": "479" + "$ref": "481" }, { - "$id": "496", + "$id": "498", "kind": "model", "name": "Animal", "namespace": "SampleTypeSpec", @@ -6303,13 +6330,13 @@ }, "isExactName": false, "discriminatorProperty": { - "$id": "497", + "$id": "499", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "The kind of animal", "type": { - "$id": "498", + "$id": "500", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6331,16 +6358,16 @@ }, "properties": [ { - "$ref": "497" + "$ref": "499" }, { - "$id": "499", + "$id": "501", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the animal", "type": { - "$id": "500", + "$id": "502", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6363,7 +6390,7 @@ ], "discriminatedSubtypes": { "pet": { - "$id": "501", + "$id": "503", "kind": "model", "name": "Pet", "namespace": "SampleTypeSpec", @@ -6379,7 +6406,7 @@ }, "isExactName": false, "discriminatorProperty": { - "$id": "502", + "$id": "504", "kind": "property", "name": "kind", "serializedName": "kind", @@ -6401,20 +6428,20 @@ "isExactName": false }, "baseModel": { - "$ref": "496" + "$ref": "498" }, "properties": [ { - "$ref": "502" + "$ref": "504" }, { - "$id": "503", + "$id": "505", "kind": "property", "name": "trained", "serializedName": "trained", "doc": "Whether the pet is trained", "type": { - "$id": "504", + "$id": "506", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -6437,7 +6464,7 @@ ], "discriminatedSubtypes": { "dog": { - "$id": "505", + "$id": "507", "kind": "model", "name": "Dog", "namespace": "SampleTypeSpec", @@ -6453,11 +6480,11 @@ }, "isExactName": false, "baseModel": { - "$ref": "501" + "$ref": "503" }, "properties": [ { - "$id": "506", + "$id": "508", "kind": "property", "name": "kind", "serializedName": "kind", @@ -6479,13 +6506,13 @@ "isExactName": false }, { - "$id": "507", + "$id": "509", "kind": "property", "name": "breed", "serializedName": "breed", "doc": "The breed of the dog", "type": { - "$id": "508", + "$id": "510", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6510,18 +6537,18 @@ } }, "dog": { - "$ref": "505" + "$ref": "507" } } }, { - "$ref": "501" + "$ref": "503" }, { - "$ref": "505" + "$ref": "507" }, { - "$id": "509", + "$id": "511", "kind": "model", "name": "Tree", "namespace": "SampleTypeSpec", @@ -6542,7 +6569,7 @@ }, "isExactName": false, "baseModel": { - "$id": "510", + "$id": "512", "kind": "model", "name": "Plant", "namespace": "SampleTypeSpec", @@ -6562,13 +6589,13 @@ }, "isExactName": false, "discriminatorProperty": { - "$id": "511", + "$id": "513", "kind": "property", "name": "species", "serializedName": "species", "doc": "The species of plant", "type": { - "$id": "512", + "$id": "514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6595,16 +6622,16 @@ }, "properties": [ { - "$ref": "511" + "$ref": "513" }, { - "$id": "513", + "$id": "515", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique identifier of the plant", "type": { - "$id": "514", + "$id": "516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6630,13 +6657,13 @@ "isExactName": false }, { - "$id": "515", + "$id": "517", "kind": "property", "name": "height", "serializedName": "height", "doc": "The height of the plant in centimeters", "type": { - "$id": "516", + "$id": "518", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6664,13 +6691,13 @@ ], "discriminatedSubtypes": { "tree": { - "$ref": "509" + "$ref": "511" } } }, "properties": [ { - "$id": "517", + "$id": "519", "kind": "property", "name": "species", "serializedName": "species", @@ -6697,13 +6724,13 @@ "isExactName": false }, { - "$id": "518", + "$id": "520", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age of the tree in years", "type": { - "$id": "519", + "$id": "521", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6731,10 +6758,10 @@ ] }, { - "$ref": "510" + "$ref": "512" }, { - "$id": "520", + "$id": "522", "kind": "model", "name": "GetWidgetMetricsResponse", "namespace": "SampleTypeSpec", @@ -6749,12 +6776,12 @@ "isExactName": false, "properties": [ { - "$id": "521", + "$id": "523", "kind": "property", "name": "numSold", "serializedName": "numSold", "type": { - "$id": "522", + "$id": "524", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6775,12 +6802,12 @@ "isExactName": false }, { - "$id": "523", + "$id": "525", "kind": "property", "name": "averagePrice", "serializedName": "averagePrice", "type": { - "$id": "524", + "$id": "526", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -6803,7 +6830,7 @@ ] }, { - "$id": "525", + "$id": "527", "kind": "model", "name": "GetNotebookResponse", "namespace": "SampleTypeSpec", @@ -6818,12 +6845,12 @@ "isExactName": false, "properties": [ { - "$id": "526", + "$id": "528", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "527", + "$id": "529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6844,12 +6871,12 @@ "isExactName": false }, { - "$id": "528", + "$id": "530", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "529", + "$id": "531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6874,14 +6901,14 @@ ], "clients": [ { - "$id": "530", + "$id": "532", "kind": "client", "name": "SampleTypeSpecClient", "namespace": "SampleTypeSpec", "doc": "This is a sample typespec project.", "methods": [ { - "$id": "531", + "$id": "533", "kind": "basic", "name": "sayHi", "accessibility": "public", @@ -6891,19 +6918,19 @@ ], "doc": "Return hi", "operation": { - "$id": "532", + "$id": "534", "name": "sayHi", "resourceName": "SampleTypeSpec", "doc": "Return hi", "accessibility": "public", "parameters": [ { - "$id": "533", + "$id": "535", "kind": "header", "name": "headParameter", "serializedName": "head-parameter", "type": { - "$id": "534", + "$id": "536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6918,12 +6945,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.headParameter", "methodParameterSegments": [ { - "$id": "535", + "$id": "537", "kind": "method", "name": "headParameter", "serializedName": "head-parameter", "type": { - "$id": "536", + "$id": "538", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6943,12 +6970,12 @@ "isExactName": false }, { - "$id": "537", + "$id": "539", "kind": "query", "name": "queryParameter", "serializedName": "queryParameter", "type": { - "$id": "538", + "$id": "540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6963,12 +6990,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "539", + "$id": "541", "kind": "method", "name": "queryParameter", "serializedName": "queryParameter", "type": { - "$id": "540", + "$id": "542", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6988,12 +7015,12 @@ "isExactName": false }, { - "$id": "541", + "$id": "543", "kind": "query", "name": "optionalQuery", "serializedName": "optionalQuery", "type": { - "$id": "542", + "$id": "544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7008,12 +7035,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "543", + "$id": "545", "kind": "method", "name": "optionalQuery", "serializedName": "optionalQuery", "type": { - "$id": "544", + "$id": "546", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7033,7 +7060,7 @@ "isExactName": false }, { - "$id": "545", + "$id": "547", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7049,7 +7076,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.accept", "methodParameterSegments": [ { - "$id": "546", + "$id": "548", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7102,16 +7129,16 @@ }, "parameters": [ { - "$ref": "535" + "$ref": "537" }, { - "$ref": "539" + "$ref": "541" }, { - "$ref": "543" + "$ref": "545" }, { - "$ref": "546" + "$ref": "548" } ], "response": { @@ -7125,7 +7152,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi" }, { - "$id": "547", + "$id": "549", "kind": "basic", "name": "helloAgain", "accessibility": "public", @@ -7135,19 +7162,19 @@ ], "doc": "Return hi again", "operation": { - "$id": "548", + "$id": "550", "name": "helloAgain", "resourceName": "SampleTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "549", + "$id": "551", "kind": "header", "name": "p1", "serializedName": "p1", "type": { - "$id": "550", + "$id": "552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7162,12 +7189,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.p1", "methodParameterSegments": [ { - "$id": "551", + "$id": "553", "kind": "method", "name": "p1", "serializedName": "p1", "type": { - "$id": "552", + "$id": "554", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7187,7 +7214,7 @@ "isExactName": false }, { - "$id": "553", + "$id": "555", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7203,7 +7230,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.contentType", "methodParameterSegments": [ { - "$id": "554", + "$id": "556", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7224,12 +7251,12 @@ "isExactName": false }, { - "$id": "555", + "$id": "557", "kind": "path", "name": "p2", "serializedName": "p2", "type": { - "$id": "556", + "$id": "558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7247,12 +7274,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.p2", "methodParameterSegments": [ { - "$id": "557", + "$id": "559", "kind": "method", "name": "p2", "serializedName": "p2", "type": { - "$id": "558", + "$id": "560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7272,7 +7299,7 @@ "isExactName": false }, { - "$id": "559", + "$id": "561", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7288,7 +7315,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.accept", "methodParameterSegments": [ { - "$id": "560", + "$id": "562", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7309,7 +7336,7 @@ "isExactName": false }, { - "$id": "561", + "$id": "563", "kind": "body", "name": "action", "serializedName": "action", @@ -7328,7 +7355,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.action", "methodParameterSegments": [ { - "$id": "562", + "$id": "564", "kind": "method", "name": "action", "serializedName": "action", @@ -7385,19 +7412,19 @@ }, "parameters": [ { - "$ref": "551" + "$ref": "553" }, { - "$ref": "562" + "$ref": "564" }, { - "$ref": "554" + "$ref": "556" }, { - "$ref": "557" + "$ref": "559" }, { - "$ref": "560" + "$ref": "562" } ], "response": { @@ -7411,7 +7438,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain" }, { - "$id": "563", + "$id": "565", "kind": "basic", "name": "noContentType", "accessibility": "public", @@ -7421,19 +7448,19 @@ ], "doc": "Return hi again", "operation": { - "$id": "564", + "$id": "566", "name": "noContentType", "resourceName": "SampleTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "565", + "$id": "567", "kind": "header", "name": "p1", "serializedName": "p1", "type": { - "$id": "566", + "$id": "568", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7448,12 +7475,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.p1", "methodParameterSegments": [ { - "$id": "567", + "$id": "569", "kind": "method", "name": "info", "serializedName": "info", "type": { - "$ref": "321" + "$ref": "323" }, "location": "", "isApiVersion": false, @@ -7466,13 +7493,13 @@ "isExactName": false }, { - "$id": "568", + "$id": "570", "kind": "method", "name": "p1", "serializedName": "p1", "doc": "header parameter", "type": { - "$ref": "323" + "$ref": "325" }, "location": "", "isApiVersion": false, @@ -7488,12 +7515,12 @@ "isExactName": false }, { - "$id": "569", + "$id": "571", "kind": "path", "name": "p2", "serializedName": "p2", "type": { - "$id": "570", + "$id": "572", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7511,16 +7538,16 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.p2", "methodParameterSegments": [ { - "$ref": "567" + "$ref": "569" }, { - "$id": "571", + "$id": "573", "kind": "method", "name": "p2", "serializedName": "p2", "doc": "path parameter", "type": { - "$ref": "326" + "$ref": "328" }, "location": "", "isApiVersion": false, @@ -7536,7 +7563,7 @@ "isExactName": false }, { - "$id": "572", + "$id": "574", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7553,7 +7580,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.contentType", "methodParameterSegments": [ { - "$id": "573", + "$id": "575", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7575,7 +7602,7 @@ "isExactName": false }, { - "$id": "574", + "$id": "576", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7591,7 +7618,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.accept", "methodParameterSegments": [ { - "$id": "575", + "$id": "577", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7612,7 +7639,7 @@ "isExactName": false }, { - "$id": "576", + "$id": "578", "kind": "body", "name": "action", "serializedName": "action", @@ -7631,10 +7658,10 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.action", "methodParameterSegments": [ { - "$ref": "567" + "$ref": "569" }, { - "$id": "577", + "$id": "579", "kind": "method", "name": "action", "serializedName": "action", @@ -7696,13 +7723,13 @@ }, "parameters": [ { - "$ref": "567" + "$ref": "569" }, { - "$ref": "573" + "$ref": "575" }, { - "$ref": "575" + "$ref": "577" } ], "response": { @@ -7716,7 +7743,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType" }, { - "$id": "578", + "$id": "580", "kind": "basic", "name": "helloDemo2", "accessibility": "public", @@ -7726,14 +7753,14 @@ ], "doc": "Return hi in demo2", "operation": { - "$id": "579", + "$id": "581", "name": "helloDemo2", "resourceName": "SampleTypeSpec", "doc": "Return hi in demo2", "accessibility": "public", "parameters": [ { - "$id": "580", + "$id": "582", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7749,7 +7776,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloDemo2.accept", "methodParameterSegments": [ { - "$id": "581", + "$id": "583", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7802,7 +7829,7 @@ }, "parameters": [ { - "$ref": "581" + "$ref": "583" } ], "response": { @@ -7816,7 +7843,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloDemo2" }, { - "$id": "582", + "$id": "584", "kind": "basic", "name": "createLiteral", "accessibility": "public", @@ -7826,14 +7853,14 @@ ], "doc": "Create with literal value", "operation": { - "$id": "583", + "$id": "585", "name": "createLiteral", "resourceName": "SampleTypeSpec", "doc": "Create with literal value", "accessibility": "public", "parameters": [ { - "$id": "584", + "$id": "586", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7850,7 +7877,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.contentType", "methodParameterSegments": [ { - "$id": "585", + "$id": "587", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7872,7 +7899,7 @@ "isExactName": false }, { - "$id": "586", + "$id": "588", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7888,7 +7915,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.accept", "methodParameterSegments": [ { - "$id": "587", + "$id": "589", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7909,7 +7936,7 @@ "isExactName": false }, { - "$id": "588", + "$id": "590", "kind": "body", "name": "body", "serializedName": "body", @@ -7928,7 +7955,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.body", "methodParameterSegments": [ { - "$id": "589", + "$id": "591", "kind": "method", "name": "body", "serializedName": "body", @@ -7989,13 +8016,13 @@ }, "parameters": [ { - "$ref": "589" + "$ref": "591" }, { - "$ref": "585" + "$ref": "587" }, { - "$ref": "587" + "$ref": "589" } ], "response": { @@ -8009,7 +8036,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral" }, { - "$id": "590", + "$id": "592", "kind": "basic", "name": "helloLiteral", "accessibility": "public", @@ -8019,14 +8046,14 @@ ], "doc": "Send literal parameters", "operation": { - "$id": "591", + "$id": "593", "name": "helloLiteral", "resourceName": "SampleTypeSpec", "doc": "Send literal parameters", "accessibility": "public", "parameters": [ { - "$id": "592", + "$id": "594", "kind": "header", "name": "p1", "serializedName": "p1", @@ -8042,7 +8069,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.p1", "methodParameterSegments": [ { - "$id": "593", + "$id": "595", "kind": "method", "name": "p1", "serializedName": "p1", @@ -8063,7 +8090,7 @@ "isExactName": false }, { - "$id": "594", + "$id": "596", "kind": "path", "name": "p2", "serializedName": "p2", @@ -8082,7 +8109,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.p2", "methodParameterSegments": [ { - "$id": "595", + "$id": "597", "kind": "method", "name": "p2", "serializedName": "p2", @@ -8103,7 +8130,7 @@ "isExactName": false }, { - "$id": "596", + "$id": "598", "kind": "query", "name": "p3", "serializedName": "p3", @@ -8119,7 +8146,7 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "597", + "$id": "599", "kind": "method", "name": "p3", "serializedName": "p3", @@ -8140,7 +8167,7 @@ "isExactName": false }, { - "$id": "598", + "$id": "600", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8156,7 +8183,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.accept", "methodParameterSegments": [ { - "$id": "599", + "$id": "601", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8208,9 +8235,6 @@ "namespace": "SampleTypeSpec" }, "parameters": [ - { - "$ref": "593" - }, { "$ref": "595" }, @@ -8219,6 +8243,9 @@ }, { "$ref": "599" + }, + { + "$ref": "601" } ], "response": { @@ -8232,7 +8259,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral" }, { - "$id": "600", + "$id": "602", "kind": "basic", "name": "topAction", "accessibility": "public", @@ -8242,24 +8269,24 @@ ], "doc": "top level method", "operation": { - "$id": "601", + "$id": "603", "name": "topAction", "resourceName": "SampleTypeSpec", "doc": "top level method", "accessibility": "public", "parameters": [ { - "$id": "602", + "$id": "604", "kind": "path", "name": "action", "serializedName": "action", "type": { - "$id": "603", + "$id": "605", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "604", + "$id": "606", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8280,17 +8307,17 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction.action", "methodParameterSegments": [ { - "$id": "605", + "$id": "607", "kind": "method", "name": "action", "serializedName": "action", "type": { - "$id": "606", + "$id": "608", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "607", + "$id": "609", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8313,7 +8340,7 @@ "isExactName": false }, { - "$id": "608", + "$id": "610", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8329,7 +8356,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction.accept", "methodParameterSegments": [ { - "$id": "609", + "$id": "611", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8382,10 +8409,10 @@ }, "parameters": [ { - "$ref": "605" + "$ref": "607" }, { - "$ref": "609" + "$ref": "611" } ], "response": { @@ -8399,7 +8426,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction" }, { - "$id": "610", + "$id": "612", "kind": "basic", "name": "topAction2", "accessibility": "public", @@ -8409,14 +8436,14 @@ ], "doc": "top level method2", "operation": { - "$id": "611", + "$id": "613", "name": "topAction2", "resourceName": "SampleTypeSpec", "doc": "top level method2", "accessibility": "public", "parameters": [ { - "$id": "612", + "$id": "614", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8432,7 +8459,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction2.accept", "methodParameterSegments": [ { - "$id": "613", + "$id": "615", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8485,7 +8512,7 @@ }, "parameters": [ { - "$ref": "613" + "$ref": "615" } ], "response": { @@ -8499,7 +8526,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction2" }, { - "$id": "614", + "$id": "616", "kind": "basic", "name": "patchAction", "accessibility": "public", @@ -8509,14 +8536,14 @@ ], "doc": "top level patch", "operation": { - "$id": "615", + "$id": "617", "name": "patchAction", "resourceName": "SampleTypeSpec", "doc": "top level patch", "accessibility": "public", "parameters": [ { - "$id": "616", + "$id": "618", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -8533,7 +8560,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.contentType", "methodParameterSegments": [ { - "$id": "617", + "$id": "619", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -8555,7 +8582,7 @@ "isExactName": false }, { - "$id": "618", + "$id": "620", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8571,7 +8598,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.accept", "methodParameterSegments": [ { - "$id": "619", + "$id": "621", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8592,7 +8619,7 @@ "isExactName": false }, { - "$id": "620", + "$id": "622", "kind": "body", "name": "body", "serializedName": "body", @@ -8611,7 +8638,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.body", "methodParameterSegments": [ { - "$id": "621", + "$id": "623", "kind": "method", "name": "body", "serializedName": "body", @@ -8672,13 +8699,13 @@ }, "parameters": [ { - "$ref": "621" + "$ref": "623" }, { - "$ref": "617" + "$ref": "619" }, { - "$ref": "619" + "$ref": "621" } ], "response": { @@ -8692,7 +8719,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction" }, { - "$id": "622", + "$id": "624", "kind": "basic", "name": "anonymousBody", "accessibility": "public", @@ -8702,14 +8729,14 @@ ], "doc": "body parameter without body decorator", "operation": { - "$id": "623", + "$id": "625", "name": "anonymousBody", "resourceName": "SampleTypeSpec", "doc": "body parameter without body decorator", "accessibility": "public", "parameters": [ { - "$id": "624", + "$id": "626", "kind": "query", "name": "requiredQueryParam", "serializedName": "requiredQueryParam", @@ -8725,7 +8752,7 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "625", + "$id": "627", "kind": "method", "name": "requiredQueryParam", "serializedName": "requiredQueryParam", @@ -8746,7 +8773,7 @@ "isExactName": false }, { - "$id": "626", + "$id": "628", "kind": "header", "name": "requiredHeader", "serializedName": "required-header", @@ -8762,7 +8789,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredHeader", "methodParameterSegments": [ { - "$id": "627", + "$id": "629", "kind": "method", "name": "requiredHeader", "serializedName": "required-header", @@ -8783,7 +8810,7 @@ "isExactName": false }, { - "$id": "628", + "$id": "630", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -8800,7 +8827,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.contentType", "methodParameterSegments": [ { - "$id": "629", + "$id": "631", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -8822,7 +8849,7 @@ "isExactName": false }, { - "$id": "630", + "$id": "632", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8838,7 +8865,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.accept", "methodParameterSegments": [ { - "$id": "631", + "$id": "633", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8859,7 +8886,7 @@ "isExactName": false }, { - "$id": "632", + "$id": "634", "kind": "body", "name": "thing", "serializedName": "thing", @@ -8878,13 +8905,13 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.body", "methodParameterSegments": [ { - "$id": "633", + "$id": "635", "kind": "method", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "634", + "$id": "636", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8944,10 +8971,10 @@ }, "parameters": [ { - "$ref": "633" + "$ref": "635" }, { - "$id": "635", + "$id": "637", "kind": "method", "name": "requiredUnion", "serializedName": "requiredUnion", @@ -8966,7 +8993,7 @@ "isExactName": false }, { - "$id": "636", + "$id": "638", "kind": "method", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", @@ -8985,7 +9012,7 @@ "isExactName": false }, { - "$id": "637", + "$id": "639", "kind": "method", "name": "requiredNullableString", "serializedName": "requiredNullableString", @@ -9004,7 +9031,7 @@ "isExactName": false }, { - "$id": "638", + "$id": "640", "kind": "method", "name": "optionalNullableString", "serializedName": "optionalNullableString", @@ -9023,7 +9050,7 @@ "isExactName": false }, { - "$id": "639", + "$id": "641", "kind": "method", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", @@ -9042,7 +9069,7 @@ "isExactName": false }, { - "$id": "640", + "$id": "642", "kind": "method", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", @@ -9061,7 +9088,7 @@ "isExactName": false }, { - "$id": "641", + "$id": "643", "kind": "method", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", @@ -9080,18 +9107,18 @@ "isExactName": false }, { - "$id": "642", + "$id": "644", "kind": "method", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "643", + "$id": "645", "kind": "enum", "name": "ThingOptionalLiteralString", "crossLanguageDefinitionId": "", "valueType": { - "$id": "644", + "$id": "646", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9099,12 +9126,12 @@ }, "values": [ { - "$id": "645", + "$id": "647", "kind": "enumvalue", "name": "reject", "value": "reject", "valueType": { - "$id": "646", + "$id": "648", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -9112,7 +9139,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "643" + "$ref": "645" }, "decorators": [] } @@ -9135,7 +9162,7 @@ "isExactName": false }, { - "$id": "647", + "$id": "649", "kind": "method", "name": "requiredNullableLiteralString", "serializedName": "requiredNullableLiteralString", @@ -9154,18 +9181,18 @@ "isExactName": false }, { - "$id": "648", + "$id": "650", "kind": "method", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "649", + "$id": "651", "kind": "enum", "name": "ThingOptionalLiteralInt", "crossLanguageDefinitionId": "", "valueType": { - "$id": "650", + "$id": "652", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -9173,12 +9200,12 @@ }, "values": [ { - "$id": "651", + "$id": "653", "kind": "enumvalue", "name": "456", "value": 456, "valueType": { - "$id": "652", + "$id": "654", "kind": "int32", "decorators": [], "doc": "A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)", @@ -9186,7 +9213,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32" }, "enumType": { - "$ref": "649" + "$ref": "651" }, "decorators": [] } @@ -9209,18 +9236,18 @@ "isExactName": false }, { - "$id": "653", + "$id": "655", "kind": "method", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "654", + "$id": "656", "kind": "enum", "name": "ThingOptionalLiteralFloat", "crossLanguageDefinitionId": "", "valueType": { - "$id": "655", + "$id": "657", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -9228,12 +9255,12 @@ }, "values": [ { - "$id": "656", + "$id": "658", "kind": "enumvalue", "name": "4.56", "value": 4.56, "valueType": { - "$id": "657", + "$id": "659", "kind": "float32", "decorators": [], "doc": "A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`)", @@ -9241,7 +9268,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32" }, "enumType": { - "$ref": "654" + "$ref": "656" }, "decorators": [] } @@ -9264,7 +9291,7 @@ "isExactName": false }, { - "$id": "658", + "$id": "660", "kind": "method", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", @@ -9283,13 +9310,13 @@ "isExactName": false }, { - "$id": "659", + "$id": "661", "kind": "method", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "660", + "$id": "662", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9306,7 +9333,7 @@ "isExactName": false }, { - "$id": "661", + "$id": "663", "kind": "method", "name": "optionalNullableList", "serializedName": "optionalNullableList", @@ -9325,7 +9352,7 @@ "isExactName": false }, { - "$id": "662", + "$id": "664", "kind": "method", "name": "requiredNullableList", "serializedName": "requiredNullableList", @@ -9344,13 +9371,13 @@ "isExactName": false }, { - "$id": "663", + "$id": "665", "kind": "method", "name": "propertyWithSpecialDocs", "serializedName": "propertyWithSpecialDocs", "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", "type": { - "$id": "664", + "$id": "666", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9366,9 +9393,6 @@ "decorators": [], "isExactName": false }, - { - "$ref": "625" - }, { "$ref": "627" }, @@ -9377,6 +9401,9 @@ }, { "$ref": "631" + }, + { + "$ref": "633" } ], "response": { @@ -9390,7 +9417,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody" }, { - "$id": "665", + "$id": "667", "kind": "basic", "name": "friendlyModel", "accessibility": "public", @@ -9400,14 +9427,14 @@ ], "doc": "Model can have its friendly name", "operation": { - "$id": "666", + "$id": "668", "name": "friendlyModel", "resourceName": "SampleTypeSpec", "doc": "Model can have its friendly name", "accessibility": "public", "parameters": [ { - "$id": "667", + "$id": "669", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -9424,7 +9451,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.contentType", "methodParameterSegments": [ { - "$id": "668", + "$id": "670", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -9446,7 +9473,7 @@ "isExactName": false }, { - "$id": "669", + "$id": "671", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9462,7 +9489,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.accept", "methodParameterSegments": [ { - "$id": "670", + "$id": "672", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9483,12 +9510,12 @@ "isExactName": false }, { - "$id": "671", + "$id": "673", "kind": "body", "name": "friend", "serializedName": "friend", "type": { - "$ref": "327" + "$ref": "329" }, "isApiVersion": false, "contentTypes": [ @@ -9502,13 +9529,13 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.body", "methodParameterSegments": [ { - "$id": "672", + "$id": "674", "kind": "method", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "673", + "$id": "675", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9539,7 +9566,7 @@ 200 ], "bodyType": { - "$ref": "327" + "$ref": "329" }, "headers": [], "isErrorResponse": false, @@ -9568,18 +9595,18 @@ }, "parameters": [ { - "$ref": "672" + "$ref": "674" }, { - "$ref": "668" + "$ref": "670" }, { - "$ref": "670" + "$ref": "672" } ], "response": { "type": { - "$ref": "327" + "$ref": "329" } }, "isOverride": false, @@ -9588,7 +9615,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel" }, { - "$id": "674", + "$id": "676", "kind": "basic", "name": "addTimeHeader", "accessibility": "public", @@ -9597,23 +9624,23 @@ "2024-08-16-preview" ], "operation": { - "$id": "675", + "$id": "677", "name": "addTimeHeader", "resourceName": "SampleTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "676", + "$id": "678", "kind": "header", "name": "repeatabilityFirstSent", "serializedName": "Repeatability-First-Sent", "type": { - "$id": "677", + "$id": "679", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "678", + "$id": "680", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9631,17 +9658,17 @@ "crossLanguageDefinitionId": "SampleTypeSpec.addTimeHeader.repeatabilityFirstSent", "methodParameterSegments": [ { - "$id": "679", + "$id": "681", "kind": "method", "name": "repeatabilityFirstSent", "serializedName": "Repeatability-First-Sent", "type": { - "$id": "680", + "$id": "682", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "681", + "$id": "683", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9686,7 +9713,7 @@ }, "parameters": [ { - "$ref": "679" + "$ref": "681" } ], "response": {}, @@ -9696,7 +9723,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.addTimeHeader" }, { - "$id": "682", + "$id": "684", "kind": "basic", "name": "projectedNameModel", "accessibility": "public", @@ -9706,14 +9733,14 @@ ], "doc": "Model can have its projected name", "operation": { - "$id": "683", + "$id": "685", "name": "projectedNameModel", "resourceName": "SampleTypeSpec", "doc": "Model can have its projected name", "accessibility": "public", "parameters": [ { - "$id": "684", + "$id": "686", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -9730,7 +9757,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.contentType", "methodParameterSegments": [ { - "$id": "685", + "$id": "687", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -9752,7 +9779,7 @@ "isExactName": false }, { - "$id": "686", + "$id": "688", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9768,7 +9795,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.accept", "methodParameterSegments": [ { - "$id": "687", + "$id": "689", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9789,12 +9816,12 @@ "isExactName": false }, { - "$id": "688", + "$id": "690", "kind": "body", "name": "renamedModel", "serializedName": "renamedModel", "type": { - "$ref": "330" + "$ref": "332" }, "isApiVersion": false, "contentTypes": [ @@ -9808,13 +9835,13 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.body", "methodParameterSegments": [ { - "$id": "689", + "$id": "691", "kind": "method", "name": "otherName", "serializedName": "otherName", "doc": "name of the ModelWithClientName", "type": { - "$id": "690", + "$id": "692", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9845,7 +9872,7 @@ 200 ], "bodyType": { - "$ref": "330" + "$ref": "332" }, "headers": [], "isErrorResponse": false, @@ -9874,18 +9901,18 @@ }, "parameters": [ { - "$ref": "689" + "$ref": "691" }, { - "$ref": "685" + "$ref": "687" }, { - "$ref": "687" + "$ref": "689" } ], "response": { "type": { - "$ref": "330" + "$ref": "332" } }, "isOverride": false, @@ -9894,7 +9921,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel" }, { - "$id": "691", + "$id": "693", "kind": "basic", "name": "returnsAnonymousModel", "accessibility": "public", @@ -9904,14 +9931,14 @@ ], "doc": "return anonymous model", "operation": { - "$id": "692", + "$id": "694", "name": "returnsAnonymousModel", "resourceName": "SampleTypeSpec", "doc": "return anonymous model", "accessibility": "public", "parameters": [ { - "$id": "693", + "$id": "695", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9927,7 +9954,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.returnsAnonymousModel.accept", "methodParameterSegments": [ { - "$id": "694", + "$id": "696", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9954,7 +9981,7 @@ 200 ], "bodyType": { - "$ref": "333" + "$ref": "335" }, "headers": [], "isErrorResponse": false, @@ -9980,12 +10007,12 @@ }, "parameters": [ { - "$ref": "694" + "$ref": "696" } ], "response": { "type": { - "$ref": "333" + "$ref": "335" } }, "isOverride": false, @@ -9994,7 +10021,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.returnsAnonymousModel" }, { - "$id": "695", + "$id": "697", "kind": "basic", "name": "getUnknownValue", "accessibility": "public", @@ -10004,14 +10031,14 @@ ], "doc": "get extensible enum", "operation": { - "$id": "696", + "$id": "698", "name": "getUnknownValue", "resourceName": "SampleTypeSpec", "doc": "get extensible enum", "accessibility": "public", "parameters": [ { - "$id": "697", + "$id": "699", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10027,7 +10054,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue.accept", "methodParameterSegments": [ { - "$id": "698", + "$id": "700", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10076,7 +10103,7 @@ }, "parameters": [ { - "$ref": "698" + "$ref": "700" } ], "response": { @@ -10090,7 +10117,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue" }, { - "$id": "699", + "$id": "701", "kind": "basic", "name": "internalProtocol", "accessibility": "public", @@ -10100,14 +10127,14 @@ ], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "700", + "$id": "702", "name": "internalProtocol", "resourceName": "SampleTypeSpec", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", "parameters": [ { - "$id": "701", + "$id": "703", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -10124,7 +10151,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.contentType", "methodParameterSegments": [ { - "$id": "702", + "$id": "704", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -10146,7 +10173,7 @@ "isExactName": false }, { - "$id": "703", + "$id": "705", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10162,7 +10189,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.accept", "methodParameterSegments": [ { - "$id": "704", + "$id": "706", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10183,7 +10210,7 @@ "isExactName": false }, { - "$id": "705", + "$id": "707", "kind": "body", "name": "body", "serializedName": "body", @@ -10202,7 +10229,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.body", "methodParameterSegments": [ { - "$id": "706", + "$id": "708", "kind": "method", "name": "body", "serializedName": "body", @@ -10263,13 +10290,13 @@ }, "parameters": [ { - "$ref": "706" + "$ref": "708" }, { - "$ref": "702" + "$ref": "704" }, { - "$ref": "704" + "$ref": "706" } ], "response": { @@ -10283,7 +10310,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol" }, { - "$id": "707", + "$id": "709", "kind": "basic", "name": "stillConvenient", "accessibility": "public", @@ -10293,7 +10320,7 @@ ], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "708", + "$id": "710", "name": "stillConvenient", "resourceName": "SampleTypeSpec", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", @@ -10327,7 +10354,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.stillConvenient" }, { - "$id": "709", + "$id": "711", "kind": "basic", "name": "headAsBoolean", "accessibility": "public", @@ -10337,19 +10364,19 @@ ], "doc": "head as boolean.", "operation": { - "$id": "710", + "$id": "712", "name": "headAsBoolean", "resourceName": "SampleTypeSpec", "doc": "head as boolean.", "accessibility": "public", "parameters": [ { - "$id": "711", + "$id": "713", "kind": "path", "name": "id", "serializedName": "id", "type": { - "$id": "712", + "$id": "714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10367,12 +10394,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.headAsBoolean.id", "methodParameterSegments": [ { - "$id": "713", + "$id": "715", "kind": "method", "name": "id", "serializedName": "id", "type": { - "$id": "714", + "$id": "716", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10414,7 +10441,7 @@ }, "parameters": [ { - "$ref": "713" + "$ref": "715" } ], "response": {}, @@ -10424,7 +10451,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.headAsBoolean" }, { - "$id": "715", + "$id": "717", "kind": "basic", "name": "WithApiVersion", "accessibility": "public", @@ -10434,19 +10461,19 @@ ], "doc": "Return hi again", "operation": { - "$id": "716", + "$id": "718", "name": "WithApiVersion", "resourceName": "SampleTypeSpec", "doc": "Return hi again", "accessibility": "public", "parameters": [ { - "$id": "717", + "$id": "719", "kind": "header", "name": "p1", "serializedName": "p1", "type": { - "$id": "718", + "$id": "720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10461,12 +10488,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion.p1", "methodParameterSegments": [ { - "$id": "719", + "$id": "721", "kind": "method", "name": "p1", "serializedName": "p1", "type": { - "$id": "720", + "$id": "722", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10486,12 +10513,12 @@ "isExactName": false }, { - "$id": "721", + "$id": "723", "kind": "query", "name": "apiVersion", "serializedName": "apiVersion", "type": { - "$id": "722", + "$id": "724", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10501,7 +10528,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "723", + "$id": "725", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10515,12 +10542,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "724", + "$id": "726", "kind": "method", "name": "apiVersion", "serializedName": "apiVersion", "type": { - "$id": "725", + "$id": "727", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10530,7 +10557,7 @@ "isApiVersion": true, "defaultValue": { "type": { - "$id": "726", + "$id": "728", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10571,7 +10598,7 @@ }, "parameters": [ { - "$ref": "719" + "$ref": "721" } ], "response": {}, @@ -10581,7 +10608,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion" }, { - "$id": "727", + "$id": "729", "kind": "paging", "name": "ListWithNextLink", "accessibility": "public", @@ -10591,14 +10618,14 @@ ], "doc": "List things with nextlink", "operation": { - "$id": "728", + "$id": "730", "name": "ListWithNextLink", "resourceName": "SampleTypeSpec", "doc": "List things with nextlink", "accessibility": "public", "parameters": [ { - "$id": "729", + "$id": "731", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10614,7 +10641,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithNextLink.accept", "methodParameterSegments": [ { - "$id": "730", + "$id": "732", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10641,7 +10668,7 @@ 200 ], "bodyType": { - "$ref": "334" + "$ref": "336" }, "headers": [], "isErrorResponse": false, @@ -10667,12 +10694,12 @@ }, "parameters": [ { - "$ref": "730" + "$ref": "732" } ], "response": { "type": { - "$ref": "336" + "$ref": "338" }, "resultSegments": [ "things" @@ -10696,7 +10723,7 @@ } }, { - "$id": "731", + "$id": "733", "kind": "paging", "name": "ListWithStringNextLink", "accessibility": "public", @@ -10706,14 +10733,14 @@ ], "doc": "List things with nextlink", "operation": { - "$id": "732", + "$id": "734", "name": "ListWithStringNextLink", "resourceName": "SampleTypeSpec", "doc": "List things with nextlink", "accessibility": "public", "parameters": [ { - "$id": "733", + "$id": "735", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10729,7 +10756,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithStringNextLink.accept", "methodParameterSegments": [ { - "$id": "734", + "$id": "736", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10756,7 +10783,7 @@ 200 ], "bodyType": { - "$ref": "339" + "$ref": "341" }, "headers": [], "isErrorResponse": false, @@ -10782,12 +10809,12 @@ }, "parameters": [ { - "$ref": "734" + "$ref": "736" } ], "response": { "type": { - "$ref": "336" + "$ref": "338" }, "resultSegments": [ "things" @@ -10811,7 +10838,7 @@ } }, { - "$id": "735", + "$id": "737", "kind": "paging", "name": "ListWithContinuationToken", "accessibility": "public", @@ -10821,19 +10848,19 @@ ], "doc": "List things with continuation token", "operation": { - "$id": "736", + "$id": "738", "name": "ListWithContinuationToken", "resourceName": "SampleTypeSpec", "doc": "List things with continuation token", "accessibility": "public", "parameters": [ { - "$id": "737", + "$id": "739", "kind": "query", "name": "token", "serializedName": "token", "type": { - "$id": "738", + "$id": "740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10848,12 +10875,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "739", + "$id": "741", "kind": "method", "name": "token", "serializedName": "token", "type": { - "$id": "740", + "$id": "742", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10873,7 +10900,7 @@ "isExactName": false }, { - "$id": "741", + "$id": "743", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10889,7 +10916,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationToken.accept", "methodParameterSegments": [ { - "$id": "742", + "$id": "744", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10916,7 +10943,7 @@ 200 ], "bodyType": { - "$ref": "343" + "$ref": "345" }, "headers": [], "isErrorResponse": false, @@ -10942,15 +10969,15 @@ }, "parameters": [ { - "$ref": "739" + "$ref": "741" }, { - "$ref": "742" + "$ref": "744" } ], "response": { "type": { - "$ref": "336" + "$ref": "338" }, "resultSegments": [ "things" @@ -10966,7 +10993,7 @@ ], "continuationToken": { "parameter": { - "$ref": "737" + "$ref": "739" }, "responseSegments": [ "nextToken" @@ -10977,7 +11004,7 @@ } }, { - "$id": "743", + "$id": "745", "kind": "paging", "name": "ListWithContinuationTokenHeaderResponse", "accessibility": "public", @@ -10987,19 +11014,19 @@ ], "doc": "List things with continuation token header response", "operation": { - "$id": "744", + "$id": "746", "name": "ListWithContinuationTokenHeaderResponse", "resourceName": "SampleTypeSpec", "doc": "List things with continuation token header response", "accessibility": "public", "parameters": [ { - "$id": "745", + "$id": "747", "kind": "query", "name": "token", "serializedName": "token", "type": { - "$id": "746", + "$id": "748", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11014,12 +11041,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "747", + "$id": "749", "kind": "method", "name": "token", "serializedName": "token", "type": { - "$id": "748", + "$id": "750", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11039,7 +11066,7 @@ "isExactName": false }, { - "$id": "749", + "$id": "751", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11055,7 +11082,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationTokenHeaderResponse.accept", "methodParameterSegments": [ { - "$id": "750", + "$id": "752", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11082,14 +11109,14 @@ 200 ], "bodyType": { - "$ref": "347" + "$ref": "349" }, "headers": [ { "name": "nextToken", "nameInResponse": "next-token", "type": { - "$id": "751", + "$id": "753", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11120,15 +11147,15 @@ }, "parameters": [ { - "$ref": "747" + "$ref": "749" }, { - "$ref": "750" + "$ref": "752" } ], "response": { "type": { - "$ref": "336" + "$ref": "338" }, "resultSegments": [ "things" @@ -11144,7 +11171,7 @@ ], "continuationToken": { "parameter": { - "$ref": "745" + "$ref": "747" }, "responseSegments": [ "next-token" @@ -11155,7 +11182,7 @@ } }, { - "$id": "752", + "$id": "754", "kind": "paging", "name": "ListWithPaging", "accessibility": "public", @@ -11165,14 +11192,14 @@ ], "doc": "List things with paging", "operation": { - "$id": "753", + "$id": "755", "name": "ListWithPaging", "resourceName": "SampleTypeSpec", "doc": "List things with paging", "accessibility": "public", "parameters": [ { - "$id": "754", + "$id": "756", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11188,7 +11215,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithPaging.accept", "methodParameterSegments": [ { - "$id": "755", + "$id": "757", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11215,7 +11242,7 @@ 200 ], "bodyType": { - "$ref": "349" + "$ref": "351" }, "headers": [], "isErrorResponse": false, @@ -11241,12 +11268,12 @@ }, "parameters": [ { - "$ref": "755" + "$ref": "757" } ], "response": { "type": { - "$ref": "336" + "$ref": "338" }, "resultSegments": [ "items" @@ -11264,7 +11291,7 @@ } }, { - "$id": "756", + "$id": "758", "kind": "basic", "name": "EmbeddedParameters", "accessibility": "public", @@ -11274,20 +11301,20 @@ ], "doc": "An operation with embedded parameters within the body", "operation": { - "$id": "757", + "$id": "759", "name": "EmbeddedParameters", "resourceName": "SampleTypeSpec", "doc": "An operation with embedded parameters within the body", "accessibility": "public", "parameters": [ { - "$id": "758", + "$id": "760", "kind": "header", "name": "requiredHeader", "serializedName": "required-header", "doc": "required header parameter", "type": { - "$id": "759", + "$id": "761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11302,12 +11329,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.requiredHeader", "methodParameterSegments": [ { - "$id": "760", + "$id": "762", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "351" + "$ref": "353" }, "location": "Body", "isApiVersion": false, @@ -11320,13 +11347,13 @@ "isExactName": false }, { - "$id": "761", + "$id": "763", "kind": "method", "name": "requiredHeader", "serializedName": "requiredHeader", "doc": "required header parameter", "type": { - "$ref": "355" + "$ref": "357" }, "location": "", "isApiVersion": false, @@ -11342,13 +11369,13 @@ "isExactName": false }, { - "$id": "762", + "$id": "764", "kind": "header", "name": "optionalHeader", "serializedName": "optional-header", "doc": "optional header parameter", "type": { - "$id": "763", + "$id": "765", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11363,16 +11390,16 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.optionalHeader", "methodParameterSegments": [ { - "$ref": "760" + "$ref": "762" }, { - "$id": "764", + "$id": "766", "kind": "method", "name": "optionalHeader", "serializedName": "optionalHeader", "doc": "optional header parameter", "type": { - "$ref": "357" + "$ref": "359" }, "location": "", "isApiVersion": false, @@ -11388,13 +11415,13 @@ "isExactName": false }, { - "$id": "765", + "$id": "767", "kind": "query", "name": "requiredQuery", "serializedName": "requiredQuery", "doc": "required query parameter", "type": { - "$id": "766", + "$id": "768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11409,16 +11436,16 @@ "readOnly": false, "methodParameterSegments": [ { - "$ref": "760" + "$ref": "762" }, { - "$id": "767", + "$id": "769", "kind": "method", "name": "requiredQuery", "serializedName": "requiredQuery", "doc": "required query parameter", "type": { - "$ref": "359" + "$ref": "361" }, "location": "", "isApiVersion": false, @@ -11434,13 +11461,13 @@ "isExactName": false }, { - "$id": "768", + "$id": "770", "kind": "query", "name": "optionalQuery", "serializedName": "optionalQuery", "doc": "optional query parameter", "type": { - "$id": "769", + "$id": "771", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11455,16 +11482,16 @@ "readOnly": false, "methodParameterSegments": [ { - "$ref": "760" + "$ref": "762" }, { - "$id": "770", + "$id": "772", "kind": "method", "name": "optionalQuery", "serializedName": "optionalQuery", "doc": "optional query parameter", "type": { - "$ref": "361" + "$ref": "363" }, "location": "", "isApiVersion": false, @@ -11480,7 +11507,7 @@ "isExactName": false }, { - "$id": "771", + "$id": "773", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11497,7 +11524,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.contentType", "methodParameterSegments": [ { - "$id": "772", + "$id": "774", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11519,12 +11546,12 @@ "isExactName": false }, { - "$id": "773", + "$id": "775", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "351" + "$ref": "353" }, "isApiVersion": false, "contentTypes": [ @@ -11538,7 +11565,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.body", "methodParameterSegments": [ { - "$ref": "760" + "$ref": "762" } ], "isExactName": false, @@ -11574,10 +11601,10 @@ }, "parameters": [ { - "$ref": "760" + "$ref": "762" }, { - "$ref": "772" + "$ref": "774" } ], "response": {}, @@ -11587,7 +11614,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters" }, { - "$id": "774", + "$id": "776", "kind": "basic", "name": "DynamicModelOperation", "accessibility": "public", @@ -11597,14 +11624,14 @@ ], "doc": "An operation with a dynamic model", "operation": { - "$id": "775", + "$id": "777", "name": "DynamicModelOperation", "resourceName": "SampleTypeSpec", "doc": "An operation with a dynamic model", "accessibility": "public", "parameters": [ { - "$id": "776", + "$id": "778", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11621,7 +11648,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.contentType", "methodParameterSegments": [ { - "$id": "777", + "$id": "779", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11643,12 +11670,12 @@ "isExactName": false }, { - "$id": "778", + "$id": "780", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "362" + "$ref": "364" }, "isApiVersion": false, "contentTypes": [ @@ -11662,12 +11689,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.body", "methodParameterSegments": [ { - "$id": "779", + "$id": "781", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "362" + "$ref": "364" }, "location": "Body", "isApiVersion": false, @@ -11713,10 +11740,10 @@ }, "parameters": [ { - "$ref": "779" + "$ref": "781" }, { - "$ref": "777" + "$ref": "779" } ], "response": {}, @@ -11726,7 +11753,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation" }, { - "$id": "780", + "$id": "782", "kind": "basic", "name": "GetXmlAdvancedModel", "accessibility": "public", @@ -11736,14 +11763,14 @@ ], "doc": "Get an advanced XML model with various property types", "operation": { - "$id": "781", + "$id": "783", "name": "GetXmlAdvancedModel", "resourceName": "SampleTypeSpec", "doc": "Get an advanced XML model with various property types", "accessibility": "public", "parameters": [ { - "$id": "782", + "$id": "784", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11759,7 +11786,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.GetXmlAdvancedModel.accept", "methodParameterSegments": [ { - "$id": "783", + "$id": "785", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11786,7 +11813,7 @@ 200 ], "bodyType": { - "$ref": "400" + "$ref": "402" }, "headers": [ { @@ -11820,12 +11847,12 @@ }, "parameters": [ { - "$ref": "783" + "$ref": "785" } ], "response": { "type": { - "$ref": "400" + "$ref": "402" } }, "isOverride": false, @@ -11834,7 +11861,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.GetXmlAdvancedModel" }, { - "$id": "784", + "$id": "786", "kind": "basic", "name": "UpdateXmlAdvancedModel", "accessibility": "public", @@ -11844,14 +11871,14 @@ ], "doc": "Update an advanced XML model with various property types", "operation": { - "$id": "785", + "$id": "787", "name": "UpdateXmlAdvancedModel", "resourceName": "SampleTypeSpec", "doc": "Update an advanced XML model with various property types", "accessibility": "public", "parameters": [ { - "$id": "786", + "$id": "788", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11867,7 +11894,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.contentType", "methodParameterSegments": [ { - "$id": "787", + "$id": "789", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11888,7 +11915,7 @@ "isExactName": false }, { - "$id": "788", + "$id": "790", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11904,7 +11931,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.accept", "methodParameterSegments": [ { - "$id": "789", + "$id": "791", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11925,12 +11952,12 @@ "isExactName": false }, { - "$id": "790", + "$id": "792", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "400" + "$ref": "402" }, "isApiVersion": false, "contentTypes": [ @@ -11944,12 +11971,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.body", "methodParameterSegments": [ { - "$id": "791", + "$id": "793", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "400" + "$ref": "402" }, "location": "Body", "isApiVersion": false, @@ -11976,7 +12003,7 @@ 200 ], "bodyType": { - "$ref": "400" + "$ref": "402" }, "headers": [ { @@ -12013,18 +12040,18 @@ }, "parameters": [ { - "$ref": "791" + "$ref": "793" }, { - "$ref": "787" + "$ref": "789" }, { - "$ref": "789" + "$ref": "791" } ], "response": { "type": { - "$ref": "400" + "$ref": "402" } }, "isOverride": false, @@ -12035,12 +12062,12 @@ ], "parameters": [ { - "$id": "792", + "$id": "794", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "793", + "$id": "795", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12056,7 +12083,7 @@ "isExactName": false }, { - "$ref": "724" + "$ref": "726" } ], "initializedBy": 1, @@ -12068,13 +12095,13 @@ ], "children": [ { - "$id": "794", + "$id": "796", "kind": "client", "name": "AnimalOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "795", + "$id": "797", "kind": "basic", "name": "updatePetAsAnimal", "accessibility": "public", @@ -12084,14 +12111,14 @@ ], "doc": "Update a pet as an animal", "operation": { - "$id": "796", + "$id": "798", "name": "updatePetAsAnimal", "resourceName": "AnimalOperations", "doc": "Update a pet as an animal", "accessibility": "public", "parameters": [ { - "$id": "797", + "$id": "799", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12108,7 +12135,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.contentType", "methodParameterSegments": [ { - "$id": "798", + "$id": "800", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12130,7 +12157,7 @@ "isExactName": false }, { - "$id": "799", + "$id": "801", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12146,7 +12173,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.accept", "methodParameterSegments": [ { - "$id": "800", + "$id": "802", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12167,12 +12194,12 @@ "isExactName": false }, { - "$id": "801", + "$id": "803", "kind": "body", "name": "animal", "serializedName": "animal", "type": { - "$ref": "496" + "$ref": "498" }, "isApiVersion": false, "contentTypes": [ @@ -12186,12 +12213,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.animal", "methodParameterSegments": [ { - "$id": "802", + "$id": "804", "kind": "method", "name": "animal", "serializedName": "animal", "type": { - "$ref": "496" + "$ref": "498" }, "location": "Body", "isApiVersion": false, @@ -12218,7 +12245,7 @@ 200 ], "bodyType": { - "$ref": "496" + "$ref": "498" }, "headers": [], "isErrorResponse": false, @@ -12247,18 +12274,18 @@ }, "parameters": [ { - "$ref": "802" + "$ref": "804" }, { - "$ref": "798" + "$ref": "800" }, { - "$ref": "800" + "$ref": "802" } ], "response": { "type": { - "$ref": "496" + "$ref": "498" } }, "isOverride": false, @@ -12267,7 +12294,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal" }, { - "$id": "803", + "$id": "805", "kind": "basic", "name": "updateDogAsAnimal", "accessibility": "public", @@ -12277,14 +12304,14 @@ ], "doc": "Update a dog as an animal", "operation": { - "$id": "804", + "$id": "806", "name": "updateDogAsAnimal", "resourceName": "AnimalOperations", "doc": "Update a dog as an animal", "accessibility": "public", "parameters": [ { - "$id": "805", + "$id": "807", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12301,7 +12328,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.contentType", "methodParameterSegments": [ { - "$id": "806", + "$id": "808", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12323,7 +12350,7 @@ "isExactName": false }, { - "$id": "807", + "$id": "809", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12339,7 +12366,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.accept", "methodParameterSegments": [ { - "$id": "808", + "$id": "810", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12360,12 +12387,12 @@ "isExactName": false }, { - "$id": "809", + "$id": "811", "kind": "body", "name": "animal", "serializedName": "animal", "type": { - "$ref": "496" + "$ref": "498" }, "isApiVersion": false, "contentTypes": [ @@ -12379,12 +12406,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.animal", "methodParameterSegments": [ { - "$id": "810", + "$id": "812", "kind": "method", "name": "animal", "serializedName": "animal", "type": { - "$ref": "496" + "$ref": "498" }, "location": "Body", "isApiVersion": false, @@ -12411,7 +12438,7 @@ 200 ], "bodyType": { - "$ref": "496" + "$ref": "498" }, "headers": [], "isErrorResponse": false, @@ -12440,18 +12467,18 @@ }, "parameters": [ { - "$ref": "810" + "$ref": "812" }, { - "$ref": "806" + "$ref": "808" }, { - "$ref": "808" + "$ref": "810" } ], "response": { "type": { - "$ref": "496" + "$ref": "498" } }, "isOverride": false, @@ -12462,12 +12489,12 @@ ], "parameters": [ { - "$id": "811", + "$id": "813", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "812", + "$id": "814", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12491,18 +12518,18 @@ "2024-08-16-preview" ], "parent": { - "$ref": "530" + "$ref": "532" }, "isMultiServiceClient": false }, { - "$id": "813", + "$id": "815", "kind": "client", "name": "PetOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "814", + "$id": "816", "kind": "basic", "name": "updatePetAsPet", "accessibility": "public", @@ -12512,14 +12539,14 @@ ], "doc": "Update a pet as a pet", "operation": { - "$id": "815", + "$id": "817", "name": "updatePetAsPet", "resourceName": "PetOperations", "doc": "Update a pet as a pet", "accessibility": "public", "parameters": [ { - "$id": "816", + "$id": "818", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12536,7 +12563,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.contentType", "methodParameterSegments": [ { - "$id": "817", + "$id": "819", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12558,7 +12585,7 @@ "isExactName": false }, { - "$id": "818", + "$id": "820", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12574,7 +12601,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.accept", "methodParameterSegments": [ { - "$id": "819", + "$id": "821", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12595,12 +12622,12 @@ "isExactName": false }, { - "$id": "820", + "$id": "822", "kind": "body", "name": "pet", "serializedName": "pet", "type": { - "$ref": "501" + "$ref": "503" }, "isApiVersion": false, "contentTypes": [ @@ -12614,12 +12641,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.pet", "methodParameterSegments": [ { - "$id": "821", + "$id": "823", "kind": "method", "name": "pet", "serializedName": "pet", "type": { - "$ref": "501" + "$ref": "503" }, "location": "Body", "isApiVersion": false, @@ -12646,7 +12673,7 @@ 200 ], "bodyType": { - "$ref": "501" + "$ref": "503" }, "headers": [], "isErrorResponse": false, @@ -12675,18 +12702,18 @@ }, "parameters": [ { - "$ref": "821" + "$ref": "823" }, { - "$ref": "817" + "$ref": "819" }, { - "$ref": "819" + "$ref": "821" } ], "response": { "type": { - "$ref": "501" + "$ref": "503" } }, "isOverride": false, @@ -12695,7 +12722,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet" }, { - "$id": "822", + "$id": "824", "kind": "basic", "name": "updateDogAsPet", "accessibility": "public", @@ -12705,14 +12732,14 @@ ], "doc": "Update a dog as a pet", "operation": { - "$id": "823", + "$id": "825", "name": "updateDogAsPet", "resourceName": "PetOperations", "doc": "Update a dog as a pet", "accessibility": "public", "parameters": [ { - "$id": "824", + "$id": "826", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12729,7 +12756,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.contentType", "methodParameterSegments": [ { - "$id": "825", + "$id": "827", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12751,7 +12778,7 @@ "isExactName": false }, { - "$id": "826", + "$id": "828", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12767,7 +12794,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.accept", "methodParameterSegments": [ { - "$id": "827", + "$id": "829", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12788,12 +12815,12 @@ "isExactName": false }, { - "$id": "828", + "$id": "830", "kind": "body", "name": "pet", "serializedName": "pet", "type": { - "$ref": "501" + "$ref": "503" }, "isApiVersion": false, "contentTypes": [ @@ -12807,12 +12834,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.pet", "methodParameterSegments": [ { - "$id": "829", + "$id": "831", "kind": "method", "name": "pet", "serializedName": "pet", "type": { - "$ref": "501" + "$ref": "503" }, "location": "Body", "isApiVersion": false, @@ -12839,7 +12866,7 @@ 200 ], "bodyType": { - "$ref": "501" + "$ref": "503" }, "headers": [], "isErrorResponse": false, @@ -12868,18 +12895,18 @@ }, "parameters": [ { - "$ref": "829" + "$ref": "831" }, { - "$ref": "825" + "$ref": "827" }, { - "$ref": "827" + "$ref": "829" } ], "response": { "type": { - "$ref": "501" + "$ref": "503" } }, "isOverride": false, @@ -12890,12 +12917,12 @@ ], "parameters": [ { - "$id": "830", + "$id": "832", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "831", + "$id": "833", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12919,18 +12946,18 @@ "2024-08-16-preview" ], "parent": { - "$ref": "530" + "$ref": "532" }, "isMultiServiceClient": false }, { - "$id": "832", + "$id": "834", "kind": "client", "name": "DogOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "833", + "$id": "835", "kind": "basic", "name": "updateDogAsDog", "accessibility": "public", @@ -12940,14 +12967,14 @@ ], "doc": "Update a dog as a dog", "operation": { - "$id": "834", + "$id": "836", "name": "updateDogAsDog", "resourceName": "DogOperations", "doc": "Update a dog as a dog", "accessibility": "public", "parameters": [ { - "$id": "835", + "$id": "837", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12964,7 +12991,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.contentType", "methodParameterSegments": [ { - "$id": "836", + "$id": "838", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12986,7 +13013,7 @@ "isExactName": false }, { - "$id": "837", + "$id": "839", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13002,7 +13029,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.accept", "methodParameterSegments": [ { - "$id": "838", + "$id": "840", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13023,12 +13050,12 @@ "isExactName": false }, { - "$id": "839", + "$id": "841", "kind": "body", "name": "dog", "serializedName": "dog", "type": { - "$ref": "505" + "$ref": "507" }, "isApiVersion": false, "contentTypes": [ @@ -13042,12 +13069,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.dog", "methodParameterSegments": [ { - "$id": "840", + "$id": "842", "kind": "method", "name": "dog", "serializedName": "dog", "type": { - "$ref": "505" + "$ref": "507" }, "location": "Body", "isApiVersion": false, @@ -13074,7 +13101,7 @@ 200 ], "bodyType": { - "$ref": "505" + "$ref": "507" }, "headers": [], "isErrorResponse": false, @@ -13103,18 +13130,18 @@ }, "parameters": [ { - "$ref": "840" + "$ref": "842" }, { - "$ref": "836" + "$ref": "838" }, { - "$ref": "838" + "$ref": "840" } ], "response": { "type": { - "$ref": "505" + "$ref": "507" } }, "isOverride": false, @@ -13125,12 +13152,12 @@ ], "parameters": [ { - "$id": "841", + "$id": "843", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "842", + "$id": "844", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13154,18 +13181,18 @@ "2024-08-16-preview" ], "parent": { - "$ref": "530" + "$ref": "532" }, "isMultiServiceClient": false }, { - "$id": "843", + "$id": "845", "kind": "client", "name": "PlantOperations", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "844", + "$id": "846", "kind": "basic", "name": "getTree", "accessibility": "public", @@ -13175,14 +13202,14 @@ ], "doc": "Get a tree as a plant", "operation": { - "$id": "845", + "$id": "847", "name": "getTree", "resourceName": "PlantOperations", "doc": "Get a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "846", + "$id": "848", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13198,7 +13225,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTree.accept", "methodParameterSegments": [ { - "$id": "847", + "$id": "849", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13225,7 +13252,7 @@ 200 ], "bodyType": { - "$ref": "509" + "$ref": "511" }, "headers": [ { @@ -13259,12 +13286,12 @@ }, "parameters": [ { - "$ref": "847" + "$ref": "849" } ], "response": { "type": { - "$ref": "509" + "$ref": "511" } }, "isOverride": false, @@ -13273,7 +13300,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTree" }, { - "$id": "848", + "$id": "850", "kind": "basic", "name": "getTreeAsJson", "accessibility": "public", @@ -13283,14 +13310,14 @@ ], "doc": "Get a tree as a plant", "operation": { - "$id": "849", + "$id": "851", "name": "getTreeAsJson", "resourceName": "PlantOperations", "doc": "Get a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "850", + "$id": "852", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13306,7 +13333,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTreeAsJson.accept", "methodParameterSegments": [ { - "$id": "851", + "$id": "853", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13333,7 +13360,7 @@ 200 ], "bodyType": { - "$ref": "509" + "$ref": "511" }, "headers": [ { @@ -13367,12 +13394,12 @@ }, "parameters": [ { - "$ref": "851" + "$ref": "853" } ], "response": { "type": { - "$ref": "509" + "$ref": "511" } }, "isOverride": false, @@ -13381,7 +13408,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTreeAsJson" }, { - "$id": "852", + "$id": "854", "kind": "basic", "name": "updateTree", "accessibility": "public", @@ -13391,14 +13418,14 @@ ], "doc": "Update a tree as a plant", "operation": { - "$id": "853", + "$id": "855", "name": "updateTree", "resourceName": "PlantOperations", "doc": "Update a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "854", + "$id": "856", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -13414,7 +13441,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.contentType", "methodParameterSegments": [ { - "$id": "855", + "$id": "857", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -13435,7 +13462,7 @@ "isExactName": false }, { - "$id": "856", + "$id": "858", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13451,7 +13478,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.accept", "methodParameterSegments": [ { - "$id": "857", + "$id": "859", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13472,12 +13499,12 @@ "isExactName": false }, { - "$id": "858", + "$id": "860", "kind": "body", "name": "tree", "serializedName": "tree", "type": { - "$ref": "509" + "$ref": "511" }, "isApiVersion": false, "contentTypes": [ @@ -13491,12 +13518,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.tree", "methodParameterSegments": [ { - "$id": "859", + "$id": "861", "kind": "method", "name": "tree", "serializedName": "tree", "type": { - "$ref": "509" + "$ref": "511" }, "location": "Body", "isApiVersion": false, @@ -13523,7 +13550,7 @@ 200 ], "bodyType": { - "$ref": "509" + "$ref": "511" }, "headers": [ { @@ -13560,18 +13587,18 @@ }, "parameters": [ { - "$ref": "859" + "$ref": "861" }, { - "$ref": "855" + "$ref": "857" }, { - "$ref": "857" + "$ref": "859" } ], "response": { "type": { - "$ref": "509" + "$ref": "511" } }, "isOverride": false, @@ -13580,7 +13607,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree" }, { - "$id": "860", + "$id": "862", "kind": "basic", "name": "updateTreeAsJson", "accessibility": "public", @@ -13590,14 +13617,14 @@ ], "doc": "Update a tree as a plant", "operation": { - "$id": "861", + "$id": "863", "name": "updateTreeAsJson", "resourceName": "PlantOperations", "doc": "Update a tree as a plant", "accessibility": "public", "parameters": [ { - "$id": "862", + "$id": "864", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -13613,7 +13640,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.contentType", "methodParameterSegments": [ { - "$id": "863", + "$id": "865", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -13634,7 +13661,7 @@ "isExactName": false }, { - "$id": "864", + "$id": "866", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13650,7 +13677,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.accept", "methodParameterSegments": [ { - "$id": "865", + "$id": "867", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13671,12 +13698,12 @@ "isExactName": false }, { - "$id": "866", + "$id": "868", "kind": "body", "name": "tree", "serializedName": "tree", "type": { - "$ref": "509" + "$ref": "511" }, "isApiVersion": false, "contentTypes": [ @@ -13690,12 +13717,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.tree", "methodParameterSegments": [ { - "$id": "867", + "$id": "869", "kind": "method", "name": "tree", "serializedName": "tree", "type": { - "$ref": "509" + "$ref": "511" }, "location": "Body", "isApiVersion": false, @@ -13722,7 +13749,7 @@ 200 ], "bodyType": { - "$ref": "509" + "$ref": "511" }, "headers": [ { @@ -13759,18 +13786,18 @@ }, "parameters": [ { - "$ref": "867" + "$ref": "869" }, { - "$ref": "863" + "$ref": "865" }, { - "$ref": "865" + "$ref": "867" } ], "response": { "type": { - "$ref": "509" + "$ref": "511" } }, "isOverride": false, @@ -13781,12 +13808,12 @@ ], "parameters": [ { - "$id": "868", + "$id": "870", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "869", + "$id": "871", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13810,18 +13837,18 @@ "2024-08-16-preview" ], "parent": { - "$ref": "530" + "$ref": "532" }, "isMultiServiceClient": false }, { - "$id": "870", + "$id": "872", "kind": "client", "name": "Metrics", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "871", + "$id": "873", "kind": "basic", "name": "getWidgetMetrics", "accessibility": "public", @@ -13831,19 +13858,19 @@ ], "doc": "Get Widget metrics for given day of week", "operation": { - "$id": "872", + "$id": "874", "name": "getWidgetMetrics", "resourceName": "Metrics", "doc": "Get Widget metrics for given day of week", "accessibility": "public", "parameters": [ { - "$id": "873", + "$id": "875", "kind": "path", "name": "metricsNamespace", "serializedName": "metricsNamespace", "type": { - "$id": "874", + "$id": "876", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13861,12 +13888,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.metricsNamespace", "methodParameterSegments": [ { - "$id": "875", + "$id": "877", "kind": "method", "name": "metricsNamespace", "serializedName": "metricsNamespace", "type": { - "$id": "876", + "$id": "878", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13886,7 +13913,7 @@ "isExactName": false }, { - "$id": "877", + "$id": "879", "kind": "path", "name": "day", "serializedName": "day", @@ -13905,7 +13932,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.day", "methodParameterSegments": [ { - "$id": "878", + "$id": "880", "kind": "method", "name": "day", "serializedName": "day", @@ -13926,7 +13953,7 @@ "isExactName": false }, { - "$id": "879", + "$id": "881", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13942,7 +13969,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.accept", "methodParameterSegments": [ { - "$id": "880", + "$id": "882", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13969,7 +13996,7 @@ 200 ], "bodyType": { - "$ref": "520" + "$ref": "522" }, "headers": [], "isErrorResponse": false, @@ -13995,15 +14022,15 @@ }, "parameters": [ { - "$ref": "878" + "$ref": "880" }, { - "$ref": "880" + "$ref": "882" } ], "response": { "type": { - "$ref": "520" + "$ref": "522" } }, "isOverride": false, @@ -14014,12 +14041,12 @@ ], "parameters": [ { - "$id": "881", + "$id": "883", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "882", + "$id": "884", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -14035,7 +14062,7 @@ "isExactName": false }, { - "$ref": "875" + "$ref": "877" } ], "initializedBy": 3, @@ -14046,18 +14073,18 @@ "2024-08-16-preview" ], "parent": { - "$ref": "530" + "$ref": "532" }, "isMultiServiceClient": false }, { - "$id": "883", + "$id": "885", "kind": "client", "name": "Notebooks", "namespace": "SampleTypeSpec", "methods": [ { - "$id": "884", + "$id": "886", "kind": "basic", "name": "getNotebook", "accessibility": "public", @@ -14067,19 +14094,19 @@ ], "doc": "Get a notebook by name", "operation": { - "$id": "885", + "$id": "887", "name": "getNotebook", "resourceName": "Notebooks", "doc": "Get a notebook by name", "accessibility": "public", "parameters": [ { - "$id": "886", + "$id": "888", "kind": "path", "name": "notebookName", "serializedName": "notebookName", "type": { - "$id": "887", + "$id": "889", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14097,12 +14124,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.getNotebook.notebookName", "methodParameterSegments": [ { - "$id": "888", + "$id": "890", "kind": "method", "name": "notebook", "serializedName": "notebook", "type": { - "$id": "889", + "$id": "891", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14123,7 +14150,7 @@ "isExactName": false }, { - "$id": "890", + "$id": "892", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -14139,7 +14166,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.getNotebook.accept", "methodParameterSegments": [ { - "$id": "891", + "$id": "893", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -14166,7 +14193,7 @@ 200 ], "bodyType": { - "$ref": "525" + "$ref": "527" }, "headers": [], "isErrorResponse": false, @@ -14192,12 +14219,12 @@ }, "parameters": [ { - "$ref": "891" + "$ref": "893" } ], "response": { "type": { - "$ref": "525" + "$ref": "527" } }, "isOverride": false, @@ -14208,12 +14235,12 @@ ], "parameters": [ { - "$id": "892", + "$id": "894", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "893", + "$id": "895", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -14229,7 +14256,7 @@ "isExactName": false }, { - "$ref": "888" + "$ref": "890" } ], "initializedBy": 3, @@ -14240,7 +14267,7 @@ "2024-08-16-preview" ], "parent": { - "$ref": "530" + "$ref": "532" }, "isMultiServiceClient": false } From 81e306e2bf815d333ded9c0d32087c622d15ddb3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 May 2026 21:10:12 +0000 Subject: [PATCH 09/15] Fix cspell: ignore Deserializesnake in IsExactNameModelSerializationUsesExactName test Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/6657becf-b44b-42e2-b623-0ed820861ef2 Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../MrwSerializationTypeDefinitionTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs index a048e1853a0..9fd3edabad8 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/MrwSerializationTypeDefinitions/MrwSerializationTypeDefinitionTests.cs @@ -639,6 +639,7 @@ public void IsExactNameModelSerializationUsesExactName() // The deserialization method name is built from the model name verbatim. var deserializationMethod = serialization.Methods.Single(m => m.Signature.Name.StartsWith("Deserialize")); + // cspell:ignore Deserializesnake Assert.AreEqual("Deserializesnake_case_model", deserializationMethod.Signature.Name); // Full deserialization body uses the exact model name verbatim throughout. From 312985ab15062508b5a856f7fde17cf86b8f0a91 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 26 May 2026 20:56:58 +0000 Subject: [PATCH 10/15] Support isExactName on enum values (TCGC 0.68.2) Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../emitter/src/lib/type-converter.ts | 1 + .../emitter/src/type/input-type.ts | 2 + .../emitter/test/Unit/model-type.test.ts | 28 ++++ .../InputEnumTypeValueConverter.cs | 10 +- .../src/Providers/ExtensibleEnumProvider.cs | 2 +- .../src/Providers/FixedEnumProvider.cs | 2 +- .../EnumProviders/EnumProviderTests.cs | 81 ++++++++++++ .../test/common/InputFactory.cs | 18 +-- .../Local/Sample-TypeSpec/tspCodeModel.json | 120 ++++++++++++------ .../client-operation-group/tspCodeModel.json | 15 ++- .../structure/default/tspCodeModel.json | 15 ++- .../structure/multi-client/tspCodeModel.json | 15 ++- .../renamed-operation/tspCodeModel.json | 15 ++- .../two-operation-group/tspCodeModel.json | 15 ++- .../http/documentation/tspCodeModel.json | 9 +- .../http/encode/array/tspCodeModel.json | 18 ++- .../http/payload/multipart/tspCodeModel.json | 3 +- .../http/payload/xml/tspCodeModel.json | 9 +- .../srv-driven/v1/tspCodeModel.json | 3 +- .../srv-driven/v2/tspCodeModel.json | 6 +- .../server/path/multiple/tspCodeModel.json | 3 +- .../versions/versioned/tspCodeModel.json | 6 +- .../multiple-services/tspCodeModel.json | 12 +- .../repeatability/tspCodeModel.json | 6 +- .../http/special-words/tspCodeModel.json | 99 ++++++++++----- .../type/enum/extensible/tspCodeModel.json | 21 ++- .../http/type/enum/fixed/tspCodeModel.json | 21 ++- .../enum-discriminator/tspCodeModel.json | 12 +- .../property/optionality/tspCodeModel.json | 27 ++-- .../property/value-types/tspCodeModel.json | 36 ++++-- .../Spector/http/type/union/tspCodeModel.json | 57 ++++++--- .../versioning/added/v1/tspCodeModel.json | 6 +- .../versioning/added/v2/tspCodeModel.json | 15 ++- .../madeOptional/v1/tspCodeModel.json | 3 +- .../madeOptional/v2/tspCodeModel.json | 6 +- .../versioning/removed/v1/tspCodeModel.json | 18 ++- .../versioning/removed/v2/tspCodeModel.json | 18 ++- .../removed/v2Preview/tspCodeModel.json | 15 ++- .../renamedFrom/v1/tspCodeModel.json | 6 +- .../renamedFrom/v2/tspCodeModel.json | 9 +- .../v1/tspCodeModel.json | 3 +- .../v2/tspCodeModel.json | 6 +- .../typeChangedFrom/v1/tspCodeModel.json | 3 +- .../typeChangedFrom/v2/tspCodeModel.json | 6 +- 44 files changed, 567 insertions(+), 234 deletions(-) diff --git a/packages/http-client-csharp/emitter/src/lib/type-converter.ts b/packages/http-client-csharp/emitter/src/lib/type-converter.ts index af58a55c234..e3350bcc132 100644 --- a/packages/http-client-csharp/emitter/src/lib/type-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/type-converter.ts @@ -493,6 +493,7 @@ function createEnumValueType( summary: sdkType.summary, doc: sdkType.doc, decorators: sdkType.decorators, + isExactName: sdkType.isExactName, }); } 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 9ff8404b682..4649a5bbf23 100644 --- a/packages/http-client-csharp/emitter/src/type/input-type.ts +++ b/packages/http-client-csharp/emitter/src/type/input-type.ts @@ -284,6 +284,8 @@ export interface InputEnumValueType extends InputTypeBase { value: string | number; enumType: InputEnumType; valueType: InputPrimitiveType; + /** Whether the name should be used exactly as-is, without casing transformations. */ + isExactName?: boolean; } export interface InputNullableType extends InputTypeBase { diff --git a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts index f514a6b093f..c26e4ed81f7 100644 --- a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts @@ -1379,4 +1379,32 @@ describe("Test isExactName propagation", () => { strictEqual(bodyParam.kind, "body"); strictEqual(bodyParam.isExactName, true); }); + + it("propagates isExactName from @clientName decorator with exact() on an enum value", async () => { + const program = await typeSpecCompile( + ` + enum Color { + Red, + @clientName(Azure.ClientGenerator.Core.exact("snake_case_value"), "csharp") + Green, + Blue, + } + + op test(@body input: Color): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const colorEnum = root.enums.find((e) => e.name === "Color"); + ok(colorEnum); + const exactValue = colorEnum.values.find((v) => v.name === "snake_case_value"); + ok(exactValue); + strictEqual(exactValue.isExactName, true); + const regularValue = colorEnum.values.find((v) => v.name === "Red"); + ok(regularValue); + strictEqual(regularValue.isExactName, false); + }); }); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeValueConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeValueConverter.cs index 5aed48c28d3..adc7b701dca 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeValueConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputEnumTypeValueConverter.cs @@ -31,6 +31,7 @@ internal static InputEnumTypeValue CreateEnumTypeValue(ref Utf8JsonReader reader string? summary = null; string? doc = null; IReadOnlyList? decorators = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { var isKnownProperty = reader.TryReadReferenceId(ref id) @@ -40,7 +41,8 @@ internal static InputEnumTypeValue CreateEnumTypeValue(ref Utf8JsonReader reader || reader.TryReadComplexType("enumType", options, ref enumType) || reader.TryReadString("summary", ref summary) || reader.TryReadString("doc", ref doc) - || reader.TryReadComplexType("decorators", options, ref decorators); + || reader.TryReadComplexType("decorators", options, ref decorators) + || reader.TryReadBoolean("isExactName", ref isExactName); if (!isKnownProperty) { @@ -58,9 +60,9 @@ internal static InputEnumTypeValue CreateEnumTypeValue(ref Utf8JsonReader reader InputEnumTypeValue enumValue = valueType.Kind switch { - InputPrimitiveTypeKind.String => new InputEnumTypeStringValue(name, rawValue.Value.GetString() ?? throw new JsonException(), valueType, summary, doc, enumType) { Decorators = decorators ?? [] }, - InputPrimitiveTypeKind.Int32 => new InputEnumTypeIntegerValue(name, rawValue.Value.GetInt32(), valueType, summary, doc, enumType) { Decorators = decorators ?? [] }, - InputPrimitiveTypeKind.Float32 => new InputEnumTypeFloatValue(name, rawValue.Value.GetSingle(), valueType, summary, doc, enumType) { Decorators = decorators ?? [] }, + InputPrimitiveTypeKind.String => new InputEnumTypeStringValue(name, rawValue.Value.GetString() ?? throw new JsonException(), valueType, summary, doc, enumType) { Decorators = decorators ?? [], IsExactName = isExactName }, + InputPrimitiveTypeKind.Int32 => new InputEnumTypeIntegerValue(name, rawValue.Value.GetInt32(), valueType, summary, doc, enumType) { Decorators = decorators ?? [], IsExactName = isExactName }, + InputPrimitiveTypeKind.Float32 => new InputEnumTypeFloatValue(name, rawValue.Value.GetSingle(), valueType, summary, doc, enumType) { Decorators = decorators ?? [], IsExactName = isExactName }, _ => throw new JsonException() }; if (id != null) diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ExtensibleEnumProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ExtensibleEnumProvider.cs index ae937a41b99..a4ab1bf292d 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ExtensibleEnumProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ExtensibleEnumProvider.cs @@ -56,7 +56,7 @@ protected override IReadOnlyList BuildEnumValues() // build the field var modifiers = FieldModifiers.Private | FieldModifiers.Const; // the fields for extensible enums are private and const, storing the underlying values, therefore we need to append the word `Value` to the name - var valueName = inputValue.Name.ToIdentifierName(); + var valueName = inputValue.IsExactName ? inputValue.Name : inputValue.Name.ToIdentifierName(); var name = $"{valueName}Value"; // for initializationValue, if the enum is extensible, we always need it var initializationValue = Literal(inputValue.Value); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/FixedEnumProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/FixedEnumProvider.cs index 713100c1cf1..b2caf5d6076 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/FixedEnumProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/FixedEnumProvider.cs @@ -58,7 +58,7 @@ protected override IReadOnlyList BuildEnumValues() var inputValue = AllowedValues[i]; var modifiers = FieldModifiers.Public | FieldModifiers.Static; // the fields for fixed enums are just its members (we use fields to represent the values in a system `enum` type), we just use the name for this field - var name = inputValue.Name.ToIdentifierName(); + var name = inputValue.IsExactName ? inputValue.Name : inputValue.Name.ToIdentifierName(); // check if the enum member was renamed in custom code string? customMemberName = null; diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/EnumProviders/EnumProviderTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/EnumProviders/EnumProviderTests.cs index 5f106dd3c05..d350f882134 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/EnumProviders/EnumProviderTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/EnumProviders/EnumProviderTests.cs @@ -554,6 +554,87 @@ await MockHelpers.LoadMockGeneratorAsync( Assert.AreEqual(0, enumType.EnumValues.Count); } + // Validates that an IsExactName-marked value on a fixed string-based enum preserves its + // exact-case name (skipping .ToIdentifierName()) on the generated field. + [TestCase] + public void BuildEnumType_FixedStringEnum_IsExactNameValuePreserved() + { + MockHelpers.LoadMockGenerator(createCSharpTypeCore: (inputType) => typeof(string)); + + var enumValues = new System.Collections.Generic.List(); + var enumType = InputFactory.Enum( + "mockInputEnum", + InputPrimitiveType.String, + enumValues); + enumValues.Add(InputFactory.EnumMember.String("One", "1", enumType)); + enumValues.Add(InputFactory.EnumMember.String("snake_case_value", "2", enumType, isExactName: true)); + + var enumProvider = EnumProvider.Create(enumType); + var fields = enumProvider.Fields; + + Assert.AreEqual(2, fields.Count); + // first value is not exact-name, regular casing applies + Assert.AreEqual("One", fields[0].Name); + // second value is exact-name, the spec name is preserved verbatim (no PascalCasing) + Assert.AreEqual("snake_case_value", fields[1].Name); + } + + // Validates that an IsExactName-marked value on a fixed int-based enum preserves its + // exact-case name (skipping .ToIdentifierName()) on the generated field. + [TestCase] + public void BuildEnumType_FixedIntEnum_IsExactNameValuePreserved() + { + MockHelpers.LoadMockGenerator(createCSharpTypeCore: (inputType) => typeof(int)); + + var enumValues = new System.Collections.Generic.List(); + var enumType = InputFactory.Enum( + "mockInputEnum", + InputPrimitiveType.Int32, + enumValues); + enumValues.Add(InputFactory.EnumMember.Int32("One", 1, enumType)); + enumValues.Add(InputFactory.EnumMember.Int32("snake_case_value", 2, enumType, isExactName: true)); + + var enumProvider = EnumProvider.Create(enumType); + var fields = enumProvider.Fields; + + Assert.AreEqual(2, fields.Count); + Assert.AreEqual("One", fields[0].Name); + Assert.AreEqual("snake_case_value", fields[1].Name); + } + + // Validates that an IsExactName-marked value on an extensible string-based enum preserves + // its exact-case name (skipping .ToIdentifierName()) on both the generated field (with + // the `Value` suffix appended) and the generated public property. + [TestCase] + public void BuildEnumType_ExtensibleStringEnum_IsExactNameValuePreserved() + { + MockHelpers.LoadMockGenerator(createCSharpTypeCore: (inputType) => typeof(string)); + + var enumValues = new System.Collections.Generic.List(); + var enumType = InputFactory.Enum( + "mockInputEnum", + InputPrimitiveType.String, + enumValues, + isExtensible: true); + enumValues.Add(InputFactory.EnumMember.String("One", "1", enumType)); + enumValues.Add(InputFactory.EnumMember.String("snake_case_value", "2", enumType, isExactName: true)); + + var enumProvider = EnumProvider.Create(enumType); + var fields = enumProvider.Fields; + var properties = enumProvider.Properties; + + // a private `_value` field + two values + Assert.AreEqual(3, fields.Count); + Assert.AreEqual("_value", fields[0].Name); + Assert.AreEqual("OneValue", fields[1].Name); + // exact-name value: name preserved verbatim, with the `Value` suffix appended + Assert.AreEqual("snake_case_valueValue", fields[2].Name); + + Assert.AreEqual(2, properties.Count); + Assert.AreEqual("One", properties[0].Name); + Assert.AreEqual("snake_case_value", properties[1].Name); + } + private static void ValidateGetHashCodeMethod(EnumProvider enumType) { var getHashCodeMethod = enumType.Methods.Single(m => m.Signature.Name == "GetHashCode"); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs index 94e96d50677..8120bb5bb55 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs @@ -14,24 +14,24 @@ public static class InputFactory { public static class EnumMember { - public static InputEnumTypeValue Int32(string name, int value, InputEnumType enumType) + public static InputEnumTypeValue Int32(string name, int value, InputEnumType enumType, bool isExactName = false) { - return new InputEnumTypeValue(name, value, InputPrimitiveType.Int32, "", $"{name} description", enumType); + return new InputEnumTypeValue(name, value, InputPrimitiveType.Int32, "", $"{name} description", enumType) { IsExactName = isExactName }; } - public static InputEnumTypeValue Float32(string name, float value, InputEnumType enumType) + public static InputEnumTypeValue Float32(string name, float value, InputEnumType enumType, bool isExactName = false) { - return new InputEnumTypeValue(name, value, InputPrimitiveType.Float32, "", $"{name} description", enumType); + return new InputEnumTypeValue(name, value, InputPrimitiveType.Float32, "", $"{name} description", enumType) { IsExactName = isExactName }; } - public static InputEnumTypeValue Float64(string name, double value, InputEnumType enumType) + public static InputEnumTypeValue Float64(string name, double value, InputEnumType enumType, bool isExactName = false) { - return new InputEnumTypeValue(name, value, InputPrimitiveType.Float64, "", $"{name} description", enumType); + return new InputEnumTypeValue(name, value, InputPrimitiveType.Float64, "", $"{name} description", enumType) { IsExactName = isExactName }; } - public static InputEnumTypeValue String(string name, string value, InputEnumType enumType) + public static InputEnumTypeValue String(string name, string value, InputEnumType enumType, bool isExactName = false) { - return new InputEnumTypeValue(name, value, InputPrimitiveType.String, "", $"{name} description", enumType); + return new InputEnumTypeValue(name, value, InputPrimitiveType.String, "", $"{name} description", enumType) { IsExactName = isExactName }; } } @@ -236,7 +236,7 @@ public static InputEnumType Float64Enum( return enumType; } - private static InputEnumType Enum( + public static InputEnumType Enum( string name, InputPrimitiveType underlyingType, IReadOnlyList values, diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json index 11cd5bcbded..ab7a97c1668 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json @@ -34,7 +34,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -73,7 +74,8 @@ "enumType": { "$ref": "5" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -112,7 +114,8 @@ "enumType": { "$ref": "9" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -151,7 +154,8 @@ "enumType": { "$ref": "13" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -185,7 +189,8 @@ "enumType": { "$ref": "17" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -198,7 +203,8 @@ "enumType": { "$ref": "17" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -211,7 +217,8 @@ "enumType": { "$ref": "17" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -246,7 +253,8 @@ "enumType": { "$ref": "22" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -259,7 +267,8 @@ "enumType": { "$ref": "22" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "26", @@ -272,7 +281,8 @@ "enumType": { "$ref": "22" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -307,7 +317,8 @@ "enumType": { "$ref": "27" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "30", @@ -320,7 +331,8 @@ "enumType": { "$ref": "27" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -333,7 +345,8 @@ "enumType": { "$ref": "27" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -368,7 +381,8 @@ "enumType": { "$ref": "32" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -381,7 +395,8 @@ "enumType": { "$ref": "32" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "36", @@ -394,7 +409,8 @@ "enumType": { "$ref": "32" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -429,7 +445,8 @@ "enumType": { "$ref": "37" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "40", @@ -442,7 +459,8 @@ "enumType": { "$ref": "37" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "41", @@ -455,7 +473,8 @@ "enumType": { "$ref": "37" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -490,7 +509,8 @@ "enumType": { "$ref": "42" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "45", @@ -503,7 +523,8 @@ "enumType": { "$ref": "42" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "46", @@ -516,7 +537,8 @@ "enumType": { "$ref": "42" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -551,7 +573,8 @@ "enumType": { "$ref": "47" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "50", @@ -564,7 +587,8 @@ "enumType": { "$ref": "47" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "51", @@ -577,7 +601,8 @@ "enumType": { "$ref": "47" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -612,7 +637,8 @@ "enumType": { "$ref": "52" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "55", @@ -625,7 +651,8 @@ "enumType": { "$ref": "52" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "56", @@ -638,7 +665,8 @@ "enumType": { "$ref": "52" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -673,7 +701,8 @@ "enumType": { "$ref": "57" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "60", @@ -686,7 +715,8 @@ "enumType": { "$ref": "57" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "61", @@ -699,7 +729,8 @@ "enumType": { "$ref": "57" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "62", @@ -712,7 +743,8 @@ "enumType": { "$ref": "57" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "63", @@ -725,7 +757,8 @@ "enumType": { "$ref": "57" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "64", @@ -738,7 +771,8 @@ "enumType": { "$ref": "57" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "65", @@ -751,7 +785,8 @@ "enumType": { "$ref": "57" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -785,7 +820,8 @@ "enumType": { "$ref": "66" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "69", @@ -798,7 +834,8 @@ "enumType": { "$ref": "66" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -9145,7 +9182,8 @@ "enumType": { "$ref": "645" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -9219,7 +9257,8 @@ "enumType": { "$ref": "651" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", @@ -9274,7 +9313,8 @@ "enumType": { "$ref": "656" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SampleTypeSpec", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json index 75aac1d8f3c..c79e2bbb194 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -65,7 +68,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -78,7 +82,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Client.Structure.Service", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json index 93e3596b446..855e12fa569 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -65,7 +68,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -78,7 +82,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Client.Structure.Service", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json index 140a224bd1e..0d29a5909ab 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -65,7 +68,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -78,7 +82,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Client.Structure.Service", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json index 1734a892ad6..b60a2cbea05 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -65,7 +68,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -78,7 +82,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Client.Structure.Service", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json index 8273c300c28..1e7e63f648b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -65,7 +68,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -78,7 +82,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Client.Structure.Service", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json index ea3468db7d0..4b7039773cb 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json @@ -27,7 +27,8 @@ "$ref": "1" }, "doc": "Simple bullet point. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- One: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- Two: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -41,7 +42,8 @@ "$ref": "1" }, "doc": "Bullet point with **bold text**. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- **One**: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- **Two**: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -55,7 +57,8 @@ "$ref": "1" }, "doc": "Bullet point with *italic text*. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- *One*: one. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.\n- *Two*: two. This line is intentionally long to test text wrapping in bullet points within enum documentation comments. It should properly indent the wrapped lines.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Documentation.Lists", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json index 5588849de99..548303fa3eb 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Encode.Array", @@ -86,7 +89,8 @@ "enumType": { "$ref": "6" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -99,7 +103,8 @@ "enumType": { "$ref": "6" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "10", @@ -112,7 +117,8 @@ "enumType": { "$ref": "6" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Encode.Array", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json index 4657d4dace0..182d9f02ef2 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json @@ -31,7 +31,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "TypeSpec.Http", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json index a53e9887ba2..aa44a5cf88a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json @@ -27,7 +27,8 @@ "$ref": "1" }, "doc": "Pending status.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -41,7 +42,8 @@ "$ref": "1" }, "doc": "Success status.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -55,7 +57,8 @@ "$ref": "1" }, "doc": "Error status.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Payload.Xml", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json index 6cece45cfb8..818c9696e22 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json @@ -29,7 +29,8 @@ "$ref": "1" }, "doc": "Version 1", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Resiliency.ServiceDriven", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json index 996a9e4d544..be73f0e9096 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json @@ -30,7 +30,8 @@ "$ref": "1" }, "doc": "Version 1", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -44,7 +45,8 @@ "$ref": "1" }, "doc": "Version 2", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Resiliency.ServiceDriven", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json index 125c1ae21d2..a7b3689879b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json @@ -29,7 +29,8 @@ "$ref": "1" }, "doc": "Version 1.0", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Server.Path.Multiple", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json index 11e346ce81c..810d8a504b5 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json @@ -30,7 +30,8 @@ "$ref": "1" }, "doc": "The version 2022-12-01-preview.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -44,7 +45,8 @@ "$ref": "1" }, "doc": "The version 2022-12-01-preview.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Server.Versions.Versioned", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json index 64445d85a53..a9fbc69728d 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json @@ -29,7 +29,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -42,7 +43,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Service.MultipleServices.ServiceA", @@ -76,7 +78,8 @@ "enumType": { "$ref": "5" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -89,7 +92,8 @@ "enumType": { "$ref": "5" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Service.MultipleServices.ServiceB", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json index c916f466a16..33c5c78cbe6 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SpecialHeaders.Repeatability", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json index 47dea6011ad..4cb1aaa4c50 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -65,7 +68,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -78,7 +82,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -91,7 +96,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -104,7 +110,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "10", @@ -117,7 +124,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -130,7 +138,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -143,7 +152,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -156,7 +166,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "14", @@ -169,7 +180,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "15", @@ -182,7 +194,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -195,7 +208,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -208,7 +222,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "18", @@ -221,7 +236,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "19", @@ -234,7 +250,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -247,7 +264,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "21", @@ -260,7 +278,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "22", @@ -273,7 +292,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -286,7 +306,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "24", @@ -299,7 +320,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "25", @@ -312,7 +334,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "26", @@ -325,7 +348,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -338,7 +362,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "28", @@ -351,7 +376,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -364,7 +390,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "30", @@ -377,7 +404,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "31", @@ -390,7 +418,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "32", @@ -403,7 +432,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -416,7 +446,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "34", @@ -429,7 +460,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "35", @@ -442,7 +474,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "SpecialWords.ExtensibleStrings", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json index 33ef97e72ce..66148316cd8 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json @@ -27,7 +27,8 @@ "$ref": "1" }, "doc": "Monday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -41,7 +42,8 @@ "$ref": "1" }, "doc": "Tuesday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -55,7 +57,8 @@ "$ref": "1" }, "doc": "Wednesday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -69,7 +72,8 @@ "$ref": "1" }, "doc": "Thursday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -83,7 +87,8 @@ "$ref": "1" }, "doc": "Friday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -97,7 +102,8 @@ "$ref": "1" }, "doc": "Saturday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -111,7 +117,8 @@ "$ref": "1" }, "doc": "Sunday.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Enum.Extensible", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json index 8e2a692fa5f..20cd2638521 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json @@ -27,7 +27,8 @@ "$ref": "1" }, "doc": "Monday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -41,7 +42,8 @@ "$ref": "1" }, "doc": "Tuesday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -55,7 +57,8 @@ "$ref": "1" }, "doc": "Wednesday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "6", @@ -69,7 +72,8 @@ "$ref": "1" }, "doc": "Thursday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -83,7 +87,8 @@ "$ref": "1" }, "doc": "Friday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -97,7 +102,8 @@ "$ref": "1" }, "doc": "Saturday.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -111,7 +117,8 @@ "$ref": "1" }, "doc": "Sunday.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Enum.Fixed", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json index 5d4a53ff445..d40a5a43f33 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -27,7 +27,8 @@ "$ref": "1" }, "doc": "Species golden", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Model.Inheritance.EnumDiscriminator", @@ -63,7 +64,8 @@ "$ref": "4" }, "doc": "Species cobra", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Model.Inheritance.EnumDiscriminator", @@ -364,7 +366,8 @@ "__accessSet": true }, "doc": "Species golden", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, @@ -537,7 +540,8 @@ "__accessSet": true }, "doc": "Species cobra", - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json index 127563ea997..672bd4b6c6e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json @@ -31,7 +31,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.Optional", @@ -70,7 +71,8 @@ "enumType": { "$ref": "5" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.Optional", @@ -109,7 +111,8 @@ "enumType": { "$ref": "9" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.Optional", @@ -143,7 +146,8 @@ "enumType": { "$ref": "13" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -156,7 +160,8 @@ "enumType": { "$ref": "13" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.Optional", @@ -190,7 +195,8 @@ "enumType": { "$ref": "17" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -203,7 +209,8 @@ "enumType": { "$ref": "17" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.Optional", @@ -237,7 +244,8 @@ "enumType": { "$ref": "21" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "24", @@ -250,7 +258,8 @@ "enumType": { "$ref": "21" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.Optional", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json index 423702e96a5..c7777971aab 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json @@ -27,7 +27,8 @@ "$ref": "1" }, "doc": "First value.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -41,7 +42,8 @@ "$ref": "1" }, "doc": "Second value.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.ValueTypes", @@ -77,7 +79,8 @@ "$ref": "5" }, "doc": "First value.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "8", @@ -91,7 +94,8 @@ "$ref": "5" }, "doc": "Second value.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.ValueTypes", @@ -126,7 +130,8 @@ "enumType": { "$ref": "9" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -139,7 +144,8 @@ "enumType": { "$ref": "9" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.ValueTypes", @@ -173,7 +179,8 @@ "enumType": { "$ref": "13" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "16", @@ -186,7 +193,8 @@ "enumType": { "$ref": "13" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.ValueTypes", @@ -220,7 +228,8 @@ "enumType": { "$ref": "17" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "20", @@ -233,7 +242,8 @@ "enumType": { "$ref": "17" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.ValueTypes", @@ -267,7 +277,8 @@ "enumType": { "$ref": "21" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Property.ValueTypes", @@ -2690,7 +2701,8 @@ "isUnionAsEnum": true, "__accessSet": true }, - "decorators": [] + "decorators": [], + "isExactName": false }, "optional": false, "readOnly": false, diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json index 1dd3d5f9d41..3d5cb3d3635 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json @@ -26,7 +26,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -39,7 +40,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "5", @@ -52,7 +54,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Union", @@ -86,7 +89,8 @@ "enumType": { "$ref": "6" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "9", @@ -99,7 +103,8 @@ "enumType": { "$ref": "6" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Union", @@ -133,7 +138,8 @@ "enumType": { "$ref": "10" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "13", @@ -146,7 +152,8 @@ "enumType": { "$ref": "10" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Union", @@ -180,7 +187,8 @@ "enumType": { "$ref": "14" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "17", @@ -193,7 +201,8 @@ "enumType": { "$ref": "14" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "18", @@ -206,7 +215,8 @@ "enumType": { "$ref": "14" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Union", @@ -240,7 +250,8 @@ "enumType": { "$ref": "19" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "22", @@ -253,7 +264,8 @@ "enumType": { "$ref": "19" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "23", @@ -266,7 +278,8 @@ "enumType": { "$ref": "19" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Union", @@ -300,7 +313,8 @@ "enumType": { "$ref": "24" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "27", @@ -313,7 +327,8 @@ "enumType": { "$ref": "24" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "28", @@ -326,7 +341,8 @@ "enumType": { "$ref": "24" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "29", @@ -339,7 +355,8 @@ "enumType": { "$ref": "24" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Union", @@ -373,7 +390,8 @@ "enumType": { "$ref": "30" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "33", @@ -386,7 +404,8 @@ "enumType": { "$ref": "30" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Type.Union", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json index 489159f046d..b3f8a8eeb6b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json @@ -28,7 +28,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Added", @@ -63,7 +64,8 @@ "$ref": "4" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Added", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json index f391cab1b7e..71df235ffa0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json @@ -29,7 +29,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -42,7 +43,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Added", @@ -76,7 +78,8 @@ "enumType": { "$ref": "5" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Added", @@ -111,7 +114,8 @@ "$ref": "8" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -125,7 +129,8 @@ "$ref": "8" }, "doc": "The version v2.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Added", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json index f1c80ec9919..966dc23033b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json @@ -29,7 +29,8 @@ "$ref": "1" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.MadeOptional", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json index 049f8f9ba5c..ffa6e11e3bb 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json @@ -30,7 +30,8 @@ "$ref": "1" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -44,7 +45,8 @@ "$ref": "1" }, "doc": "The version v2.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.MadeOptional", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json index 50f099fd667..a55d0371c7c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json @@ -28,7 +28,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", @@ -62,7 +63,8 @@ "enumType": { "$ref": "4" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -75,7 +77,8 @@ "enumType": { "$ref": "4" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", @@ -109,7 +112,8 @@ "enumType": { "$ref": "8" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -122,7 +126,8 @@ "enumType": { "$ref": "8" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", @@ -157,7 +162,8 @@ "$ref": "12" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json index 3736bf4418b..d00192fcadc 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json @@ -30,7 +30,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", @@ -64,7 +65,8 @@ "enumType": { "$ref": "4" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -77,7 +79,8 @@ "enumType": { "$ref": "4" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", @@ -112,7 +115,8 @@ "$ref": "8" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -126,7 +130,8 @@ "$ref": "8" }, "doc": "The V2 Preview version.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "12", @@ -140,7 +145,8 @@ "$ref": "8" }, "doc": "The version v2.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json index 5dfa55c5d97..06531787319 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json @@ -29,7 +29,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", @@ -63,7 +64,8 @@ "enumType": { "$ref": "4" }, - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -76,7 +78,8 @@ "enumType": { "$ref": "4" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", @@ -111,7 +114,8 @@ "$ref": "8" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "11", @@ -125,7 +129,8 @@ "$ref": "8" }, "doc": "The V2 Preview version.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.Removed", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json index 445460048b7..6e6c0a464e0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json @@ -28,7 +28,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.RenamedFrom", @@ -63,7 +64,8 @@ "$ref": "4" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.RenamedFrom", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json index 05751e7526b..c0615be18d7 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json @@ -29,7 +29,8 @@ "enumType": { "$ref": "1" }, - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.RenamedFrom", @@ -64,7 +65,8 @@ "$ref": "4" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "7", @@ -78,7 +80,8 @@ "$ref": "4" }, "doc": "The version v2.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.RenamedFrom", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json index e4fb4a6115e..8ab8428096c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json @@ -29,7 +29,8 @@ "$ref": "1" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.ReturnTypeChangedFrom", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json index 63c6c52d05c..71c6782cb93 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json @@ -30,7 +30,8 @@ "$ref": "1" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -44,7 +45,8 @@ "$ref": "1" }, "doc": "The version v2.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.ReturnTypeChangedFrom", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json index cdd4f31f80e..582a2a259d2 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json @@ -29,7 +29,8 @@ "$ref": "1" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.TypeChangedFrom", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json index a844c684244..ae079fce63c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json @@ -30,7 +30,8 @@ "$ref": "1" }, "doc": "The version v1.", - "decorators": [] + "decorators": [], + "isExactName": false }, { "$id": "4", @@ -44,7 +45,8 @@ "$ref": "1" }, "doc": "The version v2.", - "decorators": [] + "decorators": [], + "isExactName": false } ], "namespace": "Versioning.TypeChangedFrom", From 76d5579da1ac79962e39936e0d74c9017668dda7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 26 May 2026 21:35:10 +0000 Subject: [PATCH 11/15] Add isExactName support for SdkClientType and SdkServiceMethodBase Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../emitter/src/lib/client-converter.ts | 3 +- .../emitter/src/lib/operation-converter.ts | 2 + .../emitter/src/type/input-operation.ts | 1 + .../emitter/src/type/input-service-method.ts | 1 + .../emitter/src/type/input-type.ts | 1 + .../emitter/test/Unit/model-type.test.ts | 36 +++ .../src/Providers/ClientProvider.cs | 9 +- .../ClientProviders/ClientProviderTests.cs | 62 +++++ .../src/InputTypes/InputClient.cs | 1 + .../src/InputTypes/InputOperation.cs | 5 + .../src/InputTypes/InputServiceMethod.cs | 1 + .../InputBasicServiceMethodConverter.cs | 3 + .../Serialization/InputClientConverter.cs | 3 + ...LongRunningPagingServiceMethodConverter.cs | 3 + .../InputLongRunningServiceMethodConverter.cs | 3 + .../Serialization/InputOperationConverter.cs | 3 + .../InputPagingServiceMethodConverter.cs | 3 + .../test/common/InputFactory.cs | 15 +- .../Local/Sample-TypeSpec/tspCodeModel.json | 85 +++++++ .../authentication/api-key/tspCodeModel.json | 5 + .../http/custom/tspCodeModel.json | 5 + .../authentication/oauth2/tspCodeModel.json | 5 + .../authentication/union/tspCodeModel.json | 5 + .../client-operation-group/tspCodeModel.json | 17 ++ .../structure/default/tspCodeModel.json | 25 ++ .../structure/multi-client/tspCodeModel.json | 14 ++ .../renamed-operation/tspCodeModel.json | 14 ++ .../two-operation-group/tspCodeModel.json | 15 ++ .../http/documentation/tspCodeModel.json | 15 ++ .../http/encode/array/tspCodeModel.json | 26 +++ .../http/encode/bytes/tspCodeModel.json | 50 ++++ .../http/encode/datetime/tspCodeModel.json | 43 ++++ .../http/encode/duration/tspCodeModel.json | 88 +++++++ .../http/encode/numeric/tspCodeModel.json | 8 + .../http/parameters/basic/tspCodeModel.json | 7 + .../body-optionality/tspCodeModel.json | 10 + .../collection-format/tspCodeModel.json | 13 ++ .../http/parameters/path/tspCodeModel.json | 5 + .../http/parameters/query/tspCodeModel.json | 4 + .../http/parameters/spread/tspCodeModel.json | 23 ++ .../content-negotiation/tspCodeModel.json | 11 + .../http/payload/head/tspCodeModel.json | 3 + .../json-merge-patch/tspCodeModel.json | 7 + .../http/payload/media-type/tspCodeModel.json | 10 + .../http/payload/multipart/tspCodeModel.json | 40 ++++ .../http/payload/pageable/tspCodeModel.json | 34 +++ .../http/payload/xml/tspCodeModel.json | 129 +++++++++++ .../srv-driven/v1/tspCodeModel.json | 7 + .../srv-driven/v2/tspCodeModel.json | 9 + .../status-code-range/tspCodeModel.json | 5 + .../Spector/http/routes/tspCodeModel.json | 115 ++++++++++ .../encoded-name/json/tspCodeModel.json | 6 + .../endpoint/not-defined/tspCodeModel.json | 3 + .../server/path/multiple/tspCodeModel.json | 5 + .../http/server/path/single/tspCodeModel.json | 3 + .../versions/not-versioned/tspCodeModel.json | 7 + .../versions/versioned/tspCodeModel.json | 9 + .../multiple-services/tspCodeModel.json | 14 ++ .../conditional-request/tspCodeModel.json | 9 + .../repeatability/tspCodeModel.json | 3 + .../http/special-words/tspCodeModel.json | 217 ++++++++++++++++++ .../Spector/http/type/array/tspCodeModel.json | 71 ++++++ .../http/type/dictionary/tspCodeModel.json | 56 +++++ .../type/enum/extensible/tspCodeModel.json | 10 + .../http/type/enum/fixed/tspCodeModel.json | 8 + .../http/type/model/empty/tspCodeModel.json | 7 + .../enum-discriminator/tspCodeModel.json | 17 ++ .../nested-discriminator/tspCodeModel.json | 13 ++ .../not-discriminated/tspCodeModel.json | 7 + .../inheritance/recursive/tspCodeModel.json | 5 + .../single-discriminator/tspCodeModel.json | 15 ++ .../http/type/model/usage/tspCodeModel.json | 7 + .../type/model/visibility/tspCodeModel.json | 15 ++ .../additional-properties/tspCodeModel.json | 156 +++++++++++++ .../type/property/nullable/tspCodeModel.json | 64 ++++++ .../property/optionality/tspCodeModel.json | 145 ++++++++++++ .../property/value-types/tspCodeModel.json | 146 ++++++++++++ .../http/type/scalar/tspCodeModel.json | 40 ++++ .../Spector/http/type/union/tspCodeModel.json | 51 ++++ .../versioning/added/v1/tspCodeModel.json | 3 + .../versioning/added/v2/tspCodeModel.json | 8 + .../madeOptional/v1/tspCodeModel.json | 3 + .../madeOptional/v2/tspCodeModel.json | 3 + .../versioning/removed/v1/tspCodeModel.json | 10 + .../versioning/removed/v2/tspCodeModel.json | 5 + .../removed/v2Preview/tspCodeModel.json | 10 + .../renamedFrom/v1/tspCodeModel.json | 6 + .../renamedFrom/v2/tspCodeModel.json | 6 + .../v1/tspCodeModel.json | 3 + .../v2/tspCodeModel.json | 3 + .../typeChangedFrom/v1/tspCodeModel.json | 3 + .../typeChangedFrom/v2/tspCodeModel.json | 3 + 92 files changed, 2176 insertions(+), 6 deletions(-) diff --git a/packages/http-client-csharp/emitter/src/lib/client-converter.ts b/packages/http-client-csharp/emitter/src/lib/client-converter.ts index 6c0e7774a15..10df11470ec 100644 --- a/packages/http-client-csharp/emitter/src/lib/client-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/client-converter.ts @@ -71,13 +71,14 @@ function fromSdkClient( const isMultiService = isMultiServiceClient(client); const clientName = - !client.parent && isMultiService && !client.name.toLowerCase().endsWith("client") + !client.parent && isMultiService && !client.isExactName && !client.name.toLowerCase().endsWith("client") ? `${client.name}Client` : client.name; inputClient = { kind: "client", name: clientName, + isExactName: client.isExactName, namespace: client.namespace, doc: client.doc, summary: client.summary, 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 f240cdf77a2..72ef7d9f109 100644 --- a/packages/http-client-csharp/emitter/src/lib/operation-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/operation-converter.ts @@ -198,6 +198,7 @@ export function fromSdkServiceMethodOperation( operation = { name: method.name, + isExactName: method.isExactName, resourceName: getResourceOperation(sdkContext.program, method.operation.__raw.operation)?.resourceType .name ?? @@ -273,6 +274,7 @@ function createServiceMethod( return diagnostics.wrap({ kind: method.kind, name: method.name, + isExactName: method.isExactName, accessibility: method.access, apiVersions: method.apiVersions, doc: method.doc, diff --git a/packages/http-client-csharp/emitter/src/type/input-operation.ts b/packages/http-client-csharp/emitter/src/type/input-operation.ts index 4ec570e5f0f..cf0adbef5af 100644 --- a/packages/http-client-csharp/emitter/src/type/input-operation.ts +++ b/packages/http-client-csharp/emitter/src/type/input-operation.ts @@ -9,6 +9,7 @@ import { RequestMethod } from "./request-method.js"; export interface InputOperation { name: string; + isExactName?: boolean; resourceName?: string; summary?: string; deprecated?: string; diff --git a/packages/http-client-csharp/emitter/src/type/input-service-method.ts b/packages/http-client-csharp/emitter/src/type/input-service-method.ts index ebd722d4e08..b30b6e2291c 100644 --- a/packages/http-client-csharp/emitter/src/type/input-service-method.ts +++ b/packages/http-client-csharp/emitter/src/type/input-service-method.ts @@ -16,6 +16,7 @@ export type InputServiceMethod = interface InputServiceMethodBase { kind: string; name: string; + isExactName?: boolean; accessibility?: string; apiVersions: string[]; doc?: string; 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 4649a5bbf23..8b553e6e877 100644 --- a/packages/http-client-csharp/emitter/src/type/input-type.ts +++ b/packages/http-client-csharp/emitter/src/type/input-type.ts @@ -33,6 +33,7 @@ export interface InputExternalTypeMetadata { export interface InputClient extends DecoratedType { kind: "client"; name: string; + isExactName?: boolean; namespace: string; doc?: string; summary?: string; diff --git a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts index c26e4ed81f7..bd697c85597 100644 --- a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts @@ -1407,4 +1407,40 @@ describe("Test isExactName propagation", () => { ok(regularValue); strictEqual(regularValue.isExactName, false); }); + + it("propagates isExactName from @clientName decorator with exact() on a client", async () => { + const program = await typeSpecCompile( + ` + @@clientName(Azure.Csharp.Testing, Azure.ClientGenerator.Core.exact("snake_case_client"), "csharp"); + op test(): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const client = root.clients.find((c) => c.name === "snake_case_client"); + ok(client); + strictEqual(client.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on an operation", async () => { + const program = await typeSpecCompile( + ` + @clientName(Azure.ClientGenerator.Core.exact("snake_case_op"), "csharp") + op test(): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const method = root.clients[0].methods.find((m) => m.name === "snake_case_op"); + ok(method); + strictEqual(method.isExactName, true); + strictEqual(method.operation.name, "snake_case_op"); + strictEqual(method.operation.isExactName, true); + }); }); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs index 882b167457f..8a35c84ad2f 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs @@ -214,6 +214,13 @@ private static void CleanOperationNames(InputClient inputClient) private static string GetCleanOperationName(InputServiceMethod serviceMethod) { + // When the operation name is marked as exact, preserve it verbatim without any casing + // transformations or convention-based renames (e.g. "List" -> "GetAll"). + if (serviceMethod.IsExactName) + { + return serviceMethod.Operation.Name; + } + var operationName = serviceMethod.Operation.Name.ToIdentifierName(); // Replace List with Get as .NET convention is to use Get for list operations. if (operationName == "List") @@ -417,7 +424,7 @@ private IReadOnlyList GetClientParameters() protected override string BuildRelativeFilePath() => Path.Combine("src", "Generated", $"{Name}.cs"); - protected override string BuildName() => _inputClient.Name.ToIdentifierName(); + protected override string BuildName() => _inputClient.IsExactName ? _inputClient.Name : _inputClient.Name.ToIdentifierName(); protected override FieldProvider[] BuildFields() { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/ClientProviders/ClientProviderTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/ClientProviders/ClientProviderTests.cs index 058715a485f..98ad12432b0 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/ClientProviders/ClientProviderTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/ClientProviders/ClientProviderTests.cs @@ -4528,6 +4528,68 @@ public void TestParamAlias_MethodParametersSkipAliasedClientParam() $"Params: [{string.Join(", ", paramNames)}]"); } } + + [Test] + public void TestIsExactNameClientPreservesNameVerbatim() + { + // A client marked with isExactName should bypass ToIdentifierName() casing. + var client = InputFactory.Client("snake_case_client", isExactName: true); + var clientProvider = new ClientProvider(client); + + Assert.AreEqual("snake_case_client", clientProvider.Name); + } + + [Test] + public void TestNonExactNameClientStillCased() + { + // A client without isExactName should still go through ToIdentifierName(). + var client = InputFactory.Client("snake_case_client"); + var clientProvider = new ClientProvider(client); + + Assert.AreEqual("SnakeCaseClient", clientProvider.Name); + } + + [Test] + public void TestIsExactNameServiceMethodPreservesOperationNameVerbatim() + { + // A service method marked with isExactName should preserve the operation name verbatim + // (no PascalCase transformation, no "List" -> "Get" rename). + var inputOperation = InputFactory.Operation("snake_case_op", isExactName: true); + var inputServiceMethod = InputFactory.BasicServiceMethod("snake_case_op", inputOperation, isExactName: true); + var client = InputFactory.Client("TestClient", methods: [inputServiceMethod]); + _ = new ClientProvider(client); + + // After CleanOperationNames runs in the ClientProvider constructor, names should be unchanged. + Assert.AreEqual("snake_case_op", inputServiceMethod.Name); + Assert.AreEqual("snake_case_op", inputServiceMethod.Operation.Name); + } + + [Test] + public void TestIsExactNameServiceMethodSkipsListToGetRename() + { + // The normal CleanOperationNames behavior renames "List" -> "GetAll" and "ListFoo" -> "GetFoo". + // When isExactName is true, even an operation literally named "List" must be preserved verbatim. + var inputOperation = InputFactory.Operation("List", isExactName: true); + var inputServiceMethod = InputFactory.BasicServiceMethod("List", inputOperation, isExactName: true); + var client = InputFactory.Client("TestClient", methods: [inputServiceMethod]); + _ = new ClientProvider(client); + + Assert.AreEqual("List", inputServiceMethod.Name); + Assert.AreEqual("List", inputServiceMethod.Operation.Name); + } + + [Test] + public void TestNonExactNameServiceMethodAppliesListRename() + { + // Sanity check that without isExactName the existing rename still applies. + var inputOperation = InputFactory.Operation("List"); + var inputServiceMethod = InputFactory.BasicServiceMethod("List", inputOperation); + var client = InputFactory.Client("TestClient", methods: [inputServiceMethod]); + _ = new ClientProvider(client); + + Assert.AreEqual("GetAll", inputServiceMethod.Name); + Assert.AreEqual("GetAll", inputServiceMethod.Operation.Name); + } } } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputClient.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputClient.cs index c56e34bc65a..3ce5d3502c1 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputClient.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputClient.cs @@ -39,6 +39,7 @@ public InputClient( public InputClient() : this(string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, false, Array.Empty(), Array.Empty(), null, null, null) { } public string Name { get; internal set; } + public bool IsExactName { get; internal set; } public string Namespace { get; internal set; } public string CrossLanguageDefinitionId { get; internal set; } public string? Summary { get; internal set; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputOperation.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputOperation.cs index 6db80119d68..20e9f92bfe5 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputOperation.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputOperation.cs @@ -74,6 +74,11 @@ public InputOperation() : this( public string Name { get; internal set; } + /// + /// Gets a value indicating whether the operation name should be preserved exactly as-is, without casing transformations. + /// + public bool IsExactName { get; internal set; } + /// /// Gets the original name of the operation as defined in the TypeSpec before any mutations. /// diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputServiceMethod.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputServiceMethod.cs index b517b3e7397..cdf65285eab 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputServiceMethod.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/InputServiceMethod.cs @@ -38,6 +38,7 @@ protected InputServiceMethod( } public string Name { get; internal set; } + public bool IsExactName { get; internal set; } public string? Accessibility { get; internal set; } public string[] ApiVersions { get; internal set; } public string? Documentation { get; internal set; } diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBasicServiceMethodConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBasicServiceMethodConverter.cs index 422483c1b5a..4119ebb242c 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBasicServiceMethodConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputBasicServiceMethodConverter.cs @@ -33,6 +33,7 @@ public static InputBasicServiceMethod CreateInputBasicServiceMethod( ReferenceResolver resolver) { string? name = null; + bool isExactName = false; string? accessibility = null; string[]? apiVersions = null; string? doc = null; @@ -51,6 +52,7 @@ public static InputBasicServiceMethod CreateInputBasicServiceMethod( { var isKnownProperty = reader.TryReadReferenceId(ref id) || reader.TryReadString("name", ref name) + || reader.TryReadBoolean("isExactName", ref isExactName) || reader.TryReadString("accessibility", ref accessibility) || reader.TryReadComplexType("apiVersions", options, ref apiVersions) || reader.TryReadString("summary", ref summary) @@ -78,6 +80,7 @@ public static InputBasicServiceMethod CreateInputBasicServiceMethod( method = new InputBasicServiceMethod { Name = name ?? throw new JsonException("InputBasicServiceMethod must have name"), + IsExactName = isExactName, Accessibility = accessibility, ApiVersions = apiVersions ?? [], Documentation = doc, diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputClientConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputClientConverter.cs index 54e10bf1cb2..eee7cc8ab6b 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputClientConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputClientConverter.cs @@ -39,6 +39,7 @@ public override void Write(Utf8JsonWriter writer, InputClient value, JsonSeriali string? summary = null; string? doc = null; bool isMultiServiceClient = false; + bool isExactName = false; IReadOnlyList? methods = null; IReadOnlyList? parameters = null; int initializedByValue = 0; @@ -51,6 +52,7 @@ public override void Write(Utf8JsonWriter writer, InputClient value, JsonSeriali while (reader.TokenType != JsonTokenType.EndObject) { var isKnownProperty = reader.TryReadString("name", ref name) + || reader.TryReadBoolean("isExactName", ref isExactName) || reader.TryReadString("namespace", ref @namespace) || reader.TryReadString("summary", ref summary) || reader.TryReadString("doc", ref doc) @@ -71,6 +73,7 @@ public override void Write(Utf8JsonWriter writer, InputClient value, JsonSeriali } client.Name = name ?? throw new JsonException("InputClient must have name"); + client.IsExactName = isExactName; client.Namespace = @namespace ?? string.Empty; client.CrossLanguageDefinitionId = crossLanguageDefinitionId ?? string.Empty; client.Summary = summary; diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningPagingServiceMethodConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningPagingServiceMethodConverter.cs index a4781766a8c..21311c12eaa 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningPagingServiceMethodConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningPagingServiceMethodConverter.cs @@ -33,6 +33,7 @@ public static InputLongRunningPagingServiceMethod CreateInputLongRunningPagingSe ReferenceResolver resolver) { string? name = null; + bool isExactName = false; string? accessibility = null; string[]? apiVersions = null; string? doc = null; @@ -53,6 +54,7 @@ public static InputLongRunningPagingServiceMethod CreateInputLongRunningPagingSe { var isKnownProperty = reader.TryReadReferenceId(ref id) || reader.TryReadString("name", ref name) + || reader.TryReadBoolean("isExactName", ref isExactName) || reader.TryReadString("accessibility", ref accessibility) || reader.TryReadComplexType("apiVersions", options, ref apiVersions) || reader.TryReadString("summary", ref summary) @@ -90,6 +92,7 @@ public static InputLongRunningPagingServiceMethod CreateInputLongRunningPagingSe method = new InputLongRunningPagingServiceMethod { Name = name ?? throw new JsonException("InputLongRunningPagingServiceMethod must have name"), + IsExactName = isExactName, Accessibility = accessibility, ApiVersions = apiVersions ?? [], Documentation = doc, diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningServiceMethodConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningServiceMethodConverter.cs index 680868451c5..ffc60b6dda1 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningServiceMethodConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputLongRunningServiceMethodConverter.cs @@ -33,6 +33,7 @@ public static InputLongRunningServiceMethod CreateInputLongRunningServiceMethod( ReferenceResolver resolver) { string? name = null; + bool isExactName = false; string? accessibility = null; string[]? apiVersions = null; string? doc = null; @@ -52,6 +53,7 @@ public static InputLongRunningServiceMethod CreateInputLongRunningServiceMethod( { var isKnownProperty = reader.TryReadReferenceId(ref id) || reader.TryReadString("name", ref name) + || reader.TryReadBoolean("isExactName", ref isExactName) || reader.TryReadString("accessibility", ref accessibility) || reader.TryReadComplexType("apiVersions", options, ref apiVersions) || reader.TryReadString("summary", ref summary) @@ -84,6 +86,7 @@ public static InputLongRunningServiceMethod CreateInputLongRunningServiceMethod( method = new InputLongRunningServiceMethod { Name = name ?? throw new JsonException("InputLongRunningServiceMethod must have name"), + IsExactName = isExactName, Accessibility = accessibility, ApiVersions = apiVersions ?? [], Documentation = doc, diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputOperationConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputOperationConverter.cs index 32e27880757..4225b8747c7 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputOperationConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputOperationConverter.cs @@ -56,10 +56,12 @@ public override void Write(Utf8JsonWriter writer, InputOperation value, JsonSeri string? ns = null; IReadOnlyList? decorators = null; IReadOnlyList? examples = null; + bool isExactName = false; while (reader.TokenType != JsonTokenType.EndObject) { var isKnownProperty = reader.TryReadString("name", ref name) + || reader.TryReadBoolean("isExactName", ref isExactName) || reader.TryReadString("resourceName", ref resourceName) || reader.TryReadString("summary", ref summary) || reader.TryReadString("doc", ref doc) @@ -87,6 +89,7 @@ public override void Write(Utf8JsonWriter writer, InputOperation value, JsonSeri } operation.Name = name ?? throw new JsonException("InputOperation must have name"); + operation.IsExactName = isExactName; operation.OriginalName = name; operation.ResourceName = resourceName; operation.Summary = summary; diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPagingServiceMethodConverter.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPagingServiceMethodConverter.cs index 2eb03eec9f7..bca9a486372 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPagingServiceMethodConverter.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.Input/src/InputTypes/Serialization/InputPagingServiceMethodConverter.cs @@ -33,6 +33,7 @@ public static InputPagingServiceMethod CreateInputPagingServiceMethod( ReferenceResolver resolver) { string? name = null; + bool isExactName = false; string? accessibility = null; string[]? apiVersions = null; string? doc = null; @@ -52,6 +53,7 @@ public static InputPagingServiceMethod CreateInputPagingServiceMethod( { var isKnownProperty = reader.TryReadReferenceId(ref id) || reader.TryReadString("name", ref name) + || reader.TryReadBoolean("isExactName", ref isExactName) || reader.TryReadString("accessibility", ref accessibility) || reader.TryReadComplexType("apiVersions", options, ref apiVersions) || reader.TryReadString("summary", ref summary) @@ -84,6 +86,7 @@ public static InputPagingServiceMethod CreateInputPagingServiceMethod( method = new InputPagingServiceMethod { Name = name ?? throw new JsonException("InputPagingServiceMethod must have name"), + IsExactName = isExactName, Accessibility = accessibility, ApiVersions = apiVersions ?? [], Documentation = doc, diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs index 8120bb5bb55..b10c61bb2d8 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs @@ -598,7 +598,8 @@ public static InputBasicServiceMethod BasicServiceMethod( string access = "public", IReadOnlyList? parameters = null, InputServiceMethodResponse? response = null, - InputServiceMethodResponse? exception = null) + InputServiceMethodResponse? exception = null, + bool isExactName = false) { return new InputBasicServiceMethod( name, @@ -613,7 +614,10 @@ public static InputBasicServiceMethod BasicServiceMethod( false, true, true, - string.Empty); + string.Empty) + { + IsExactName = isExactName, + }; } public static InputPagingServiceMethod PagingServiceMethod( @@ -657,7 +661,8 @@ public static InputOperation Operation( string path = "", string httpMethod = "GET", bool generateConvenienceMethod = true, - string? ns = null) + string? ns = null, + bool isExactName = false) { var operation = new InputOperation( name, @@ -679,6 +684,7 @@ public static InputOperation Operation( name, ns); operation.OriginalName = name; + operation.IsExactName = isExactName; return operation; } @@ -731,7 +737,7 @@ public static InputServiceMethodResponse ServiceMethodResponse(InputType? type, private static readonly Dictionary> _childClientsCache = new(); - public static InputClient Client(string name, string clientNamespace = "Sample", string? doc = null, IEnumerable? methods = null, IEnumerable? parameters = null, InputClient? parent = null, string? crossLanguageDefinitionId = null, IEnumerable? apiVersions = null, InputClientInitializedBy initializedBy = InputClientInitializedBy.Individually, bool? isMultiServiceClient = false) + public static InputClient Client(string name, string clientNamespace = "Sample", string? doc = null, IEnumerable? methods = null, IEnumerable? parameters = null, InputClient? parent = null, string? crossLanguageDefinitionId = null, IEnumerable? apiVersions = null, InputClientInitializedBy initializedBy = InputClientInitializedBy.Individually, bool? isMultiServiceClient = false, bool isExactName = false) { // when this client has parent, we add the constructed client into the `children` list of the parent var clientChildren = new List(); @@ -748,6 +754,7 @@ public static InputClient Client(string name, string clientNamespace = "Sample", clientChildren, apiVersions is null ? [] : [.. apiVersions]); client.InitializedBy = initializedBy; + client.IsExactName = isExactName; _childClientsCache[client] = clientChildren; // when we have a parent, we need to find the children list of this parent client and update accordingly. if (parent != null && _childClientsCache.TryGetValue(parent, out var children)) diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json index ab7a97c1668..4b2df4ed0a0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json @@ -6945,6 +6945,7 @@ "$id": "532", "kind": "client", "name": "SampleTypeSpecClient", + "isExactName": false, "namespace": "SampleTypeSpec", "doc": "This is a sample typespec project.", "methods": [ @@ -6952,6 +6953,7 @@ "$id": "533", "kind": "basic", "name": "sayHi", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -6961,6 +6963,7 @@ "operation": { "$id": "534", "name": "sayHi", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Return hi", "accessibility": "public", @@ -7196,6 +7199,7 @@ "$id": "549", "kind": "basic", "name": "helloAgain", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -7205,6 +7209,7 @@ "operation": { "$id": "550", "name": "helloAgain", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Return hi again", "accessibility": "public", @@ -7482,6 +7487,7 @@ "$id": "565", "kind": "basic", "name": "noContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -7491,6 +7497,7 @@ "operation": { "$id": "566", "name": "noContentType", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Return hi again", "accessibility": "public", @@ -7787,6 +7794,7 @@ "$id": "580", "kind": "basic", "name": "helloDemo2", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -7796,6 +7804,7 @@ "operation": { "$id": "581", "name": "helloDemo2", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Return hi in demo2", "accessibility": "public", @@ -7887,6 +7896,7 @@ "$id": "584", "kind": "basic", "name": "createLiteral", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -7896,6 +7906,7 @@ "operation": { "$id": "585", "name": "createLiteral", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Create with literal value", "accessibility": "public", @@ -8080,6 +8091,7 @@ "$id": "592", "kind": "basic", "name": "helloLiteral", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -8089,6 +8101,7 @@ "operation": { "$id": "593", "name": "helloLiteral", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Send literal parameters", "accessibility": "public", @@ -8303,6 +8316,7 @@ "$id": "602", "kind": "basic", "name": "topAction", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -8312,6 +8326,7 @@ "operation": { "$id": "603", "name": "topAction", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "top level method", "accessibility": "public", @@ -8470,6 +8485,7 @@ "$id": "612", "kind": "basic", "name": "topAction2", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -8479,6 +8495,7 @@ "operation": { "$id": "613", "name": "topAction2", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "top level method2", "accessibility": "public", @@ -8570,6 +8587,7 @@ "$id": "616", "kind": "basic", "name": "patchAction", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -8579,6 +8597,7 @@ "operation": { "$id": "617", "name": "patchAction", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "top level patch", "accessibility": "public", @@ -8763,6 +8782,7 @@ "$id": "624", "kind": "basic", "name": "anonymousBody", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -8772,6 +8792,7 @@ "operation": { "$id": "625", "name": "anonymousBody", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "body parameter without body decorator", "accessibility": "public", @@ -9464,6 +9485,7 @@ "$id": "667", "kind": "basic", "name": "friendlyModel", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -9473,6 +9495,7 @@ "operation": { "$id": "668", "name": "friendlyModel", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Model can have its friendly name", "accessibility": "public", @@ -9662,6 +9685,7 @@ "$id": "676", "kind": "basic", "name": "addTimeHeader", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -9670,6 +9694,7 @@ "operation": { "$id": "677", "name": "addTimeHeader", + "isExactName": false, "resourceName": "SampleTypeSpec", "accessibility": "public", "parameters": [ @@ -9770,6 +9795,7 @@ "$id": "684", "kind": "basic", "name": "projectedNameModel", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -9779,6 +9805,7 @@ "operation": { "$id": "685", "name": "projectedNameModel", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Model can have its projected name", "accessibility": "public", @@ -9968,6 +9995,7 @@ "$id": "693", "kind": "basic", "name": "returnsAnonymousModel", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -9977,6 +10005,7 @@ "operation": { "$id": "694", "name": "returnsAnonymousModel", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "return anonymous model", "accessibility": "public", @@ -10068,6 +10097,7 @@ "$id": "697", "kind": "basic", "name": "getUnknownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10077,6 +10107,7 @@ "operation": { "$id": "698", "name": "getUnknownValue", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "get extensible enum", "accessibility": "public", @@ -10164,6 +10195,7 @@ "$id": "701", "kind": "basic", "name": "internalProtocol", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10173,6 +10205,7 @@ "operation": { "$id": "702", "name": "internalProtocol", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "When set protocol false and convenient true, then the protocol method should be internal", "accessibility": "public", @@ -10357,6 +10390,7 @@ "$id": "709", "kind": "basic", "name": "stillConvenient", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10366,6 +10400,7 @@ "operation": { "$id": "710", "name": "stillConvenient", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "accessibility": "public", @@ -10401,6 +10436,7 @@ "$id": "711", "kind": "basic", "name": "headAsBoolean", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10410,6 +10446,7 @@ "operation": { "$id": "712", "name": "headAsBoolean", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "head as boolean.", "accessibility": "public", @@ -10498,6 +10535,7 @@ "$id": "717", "kind": "basic", "name": "WithApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10507,6 +10545,7 @@ "operation": { "$id": "718", "name": "WithApiVersion", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Return hi again", "accessibility": "public", @@ -10655,6 +10694,7 @@ "$id": "729", "kind": "paging", "name": "ListWithNextLink", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10664,6 +10704,7 @@ "operation": { "$id": "730", "name": "ListWithNextLink", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "List things with nextlink", "accessibility": "public", @@ -10770,6 +10811,7 @@ "$id": "733", "kind": "paging", "name": "ListWithStringNextLink", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10779,6 +10821,7 @@ "operation": { "$id": "734", "name": "ListWithStringNextLink", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "List things with nextlink", "accessibility": "public", @@ -10885,6 +10928,7 @@ "$id": "737", "kind": "paging", "name": "ListWithContinuationToken", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -10894,6 +10938,7 @@ "operation": { "$id": "738", "name": "ListWithContinuationToken", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "List things with continuation token", "accessibility": "public", @@ -11051,6 +11096,7 @@ "$id": "745", "kind": "paging", "name": "ListWithContinuationTokenHeaderResponse", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -11060,6 +11106,7 @@ "operation": { "$id": "746", "name": "ListWithContinuationTokenHeaderResponse", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "List things with continuation token header response", "accessibility": "public", @@ -11229,6 +11276,7 @@ "$id": "754", "kind": "paging", "name": "ListWithPaging", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -11238,6 +11286,7 @@ "operation": { "$id": "755", "name": "ListWithPaging", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "List things with paging", "accessibility": "public", @@ -11338,6 +11387,7 @@ "$id": "758", "kind": "basic", "name": "EmbeddedParameters", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -11347,6 +11397,7 @@ "operation": { "$id": "759", "name": "EmbeddedParameters", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "An operation with embedded parameters within the body", "accessibility": "public", @@ -11661,6 +11712,7 @@ "$id": "776", "kind": "basic", "name": "DynamicModelOperation", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -11670,6 +11722,7 @@ "operation": { "$id": "777", "name": "DynamicModelOperation", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "An operation with a dynamic model", "accessibility": "public", @@ -11800,6 +11853,7 @@ "$id": "782", "kind": "basic", "name": "GetXmlAdvancedModel", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -11809,6 +11863,7 @@ "operation": { "$id": "783", "name": "GetXmlAdvancedModel", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Get an advanced XML model with various property types", "accessibility": "public", @@ -11908,6 +11963,7 @@ "$id": "786", "kind": "basic", "name": "UpdateXmlAdvancedModel", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -11917,6 +11973,7 @@ "operation": { "$id": "787", "name": "UpdateXmlAdvancedModel", + "isExactName": false, "resourceName": "SampleTypeSpec", "doc": "Update an advanced XML model with various property types", "accessibility": "public", @@ -12142,12 +12199,14 @@ "$id": "796", "kind": "client", "name": "AnimalOperations", + "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { "$id": "797", "kind": "basic", "name": "updatePetAsAnimal", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -12157,6 +12216,7 @@ "operation": { "$id": "798", "name": "updatePetAsAnimal", + "isExactName": false, "resourceName": "AnimalOperations", "doc": "Update a pet as an animal", "accessibility": "public", @@ -12341,6 +12401,7 @@ "$id": "805", "kind": "basic", "name": "updateDogAsAnimal", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -12350,6 +12411,7 @@ "operation": { "$id": "806", "name": "updateDogAsAnimal", + "isExactName": false, "resourceName": "AnimalOperations", "doc": "Update a dog as an animal", "accessibility": "public", @@ -12570,12 +12632,14 @@ "$id": "815", "kind": "client", "name": "PetOperations", + "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { "$id": "816", "kind": "basic", "name": "updatePetAsPet", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -12585,6 +12649,7 @@ "operation": { "$id": "817", "name": "updatePetAsPet", + "isExactName": false, "resourceName": "PetOperations", "doc": "Update a pet as a pet", "accessibility": "public", @@ -12769,6 +12834,7 @@ "$id": "824", "kind": "basic", "name": "updateDogAsPet", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -12778,6 +12844,7 @@ "operation": { "$id": "825", "name": "updateDogAsPet", + "isExactName": false, "resourceName": "PetOperations", "doc": "Update a dog as a pet", "accessibility": "public", @@ -12998,12 +13065,14 @@ "$id": "834", "kind": "client", "name": "DogOperations", + "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { "$id": "835", "kind": "basic", "name": "updateDogAsDog", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -13013,6 +13082,7 @@ "operation": { "$id": "836", "name": "updateDogAsDog", + "isExactName": false, "resourceName": "DogOperations", "doc": "Update a dog as a dog", "accessibility": "public", @@ -13233,12 +13303,14 @@ "$id": "845", "kind": "client", "name": "PlantOperations", + "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { "$id": "846", "kind": "basic", "name": "getTree", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -13248,6 +13320,7 @@ "operation": { "$id": "847", "name": "getTree", + "isExactName": false, "resourceName": "PlantOperations", "doc": "Get a tree as a plant", "accessibility": "public", @@ -13347,6 +13420,7 @@ "$id": "850", "kind": "basic", "name": "getTreeAsJson", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -13356,6 +13430,7 @@ "operation": { "$id": "851", "name": "getTreeAsJson", + "isExactName": false, "resourceName": "PlantOperations", "doc": "Get a tree as a plant", "accessibility": "public", @@ -13455,6 +13530,7 @@ "$id": "854", "kind": "basic", "name": "updateTree", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -13464,6 +13540,7 @@ "operation": { "$id": "855", "name": "updateTree", + "isExactName": false, "resourceName": "PlantOperations", "doc": "Update a tree as a plant", "accessibility": "public", @@ -13654,6 +13731,7 @@ "$id": "862", "kind": "basic", "name": "updateTreeAsJson", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -13663,6 +13741,7 @@ "operation": { "$id": "863", "name": "updateTreeAsJson", + "isExactName": false, "resourceName": "PlantOperations", "doc": "Update a tree as a plant", "accessibility": "public", @@ -13889,12 +13968,14 @@ "$id": "872", "kind": "client", "name": "Metrics", + "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { "$id": "873", "kind": "basic", "name": "getWidgetMetrics", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -13904,6 +13985,7 @@ "operation": { "$id": "874", "name": "getWidgetMetrics", + "isExactName": false, "resourceName": "Metrics", "doc": "Get Widget metrics for given day of week", "accessibility": "public", @@ -14125,12 +14207,14 @@ "$id": "885", "kind": "client", "name": "Notebooks", + "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { "$id": "886", "kind": "basic", "name": "getNotebook", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2024-07-16-preview", @@ -14140,6 +14224,7 @@ "operation": { "$id": "887", "name": "getNotebook", + "isExactName": false, "resourceName": "Notebooks", "doc": "Get a notebook by name", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json index d0592ce3582..b6c14b4b418 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json @@ -53,6 +53,7 @@ "$id": "4", "kind": "client", "name": "ApiKeyClient", + "isExactName": false, "namespace": "Authentication.ApiKey", "doc": "Illustrates clients generated with ApiKey authentication.", "methods": [ @@ -60,12 +61,14 @@ "$id": "5", "kind": "basic", "name": "valid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { "$id": "6", "name": "valid", + "isExactName": false, "resourceName": "ApiKey", "doc": "Check whether client is authenticated", "accessibility": "public", @@ -101,12 +104,14 @@ "$id": "7", "kind": "basic", "name": "invalid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated.", "operation": { "$id": "8", "name": "invalid", + "isExactName": false, "resourceName": "ApiKey", "doc": "Check whether client is authenticated.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json index 06d97b3a1aa..9d89e8ee23c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json @@ -53,6 +53,7 @@ "$id": "4", "kind": "client", "name": "CustomClient", + "isExactName": false, "namespace": "Authentication.Http.Custom", "doc": "Illustrates clients generated with generic HTTP auth.", "methods": [ @@ -60,12 +61,14 @@ "$id": "5", "kind": "basic", "name": "valid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { "$id": "6", "name": "valid", + "isExactName": false, "resourceName": "Custom", "doc": "Check whether client is authenticated", "accessibility": "public", @@ -101,12 +104,14 @@ "$id": "7", "kind": "basic", "name": "invalid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated.", "operation": { "$id": "8", "name": "invalid", + "isExactName": false, "resourceName": "Custom", "doc": "Check whether client is authenticated.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json index 681512618cb..6ff8e13ed91 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json @@ -53,6 +53,7 @@ "$id": "4", "kind": "client", "name": "OAuth2Client", + "isExactName": false, "namespace": "Authentication.OAuth2", "doc": "Illustrates clients generated with OAuth2 authentication.", "methods": [ @@ -60,12 +61,14 @@ "$id": "5", "kind": "basic", "name": "valid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { "$id": "6", "name": "valid", + "isExactName": false, "resourceName": "OAuth2", "doc": "Check whether client is authenticated", "accessibility": "public", @@ -101,12 +104,14 @@ "$id": "7", "kind": "basic", "name": "invalid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated. Will return an invalid bearer error.", "operation": { "$id": "8", "name": "invalid", + "isExactName": false, "resourceName": "OAuth2", "doc": "Check whether client is authenticated. Will return an invalid bearer error.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json index 17e848e7ff9..8b777a548da 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "UnionClient", + "isExactName": false, "namespace": "Authentication.Union", "doc": "Illustrates clients generated with ApiKey and OAuth2 authentication.", "methods": [ @@ -16,12 +17,14 @@ "$id": "2", "kind": "basic", "name": "validKey", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { "$id": "3", "name": "validKey", + "isExactName": false, "resourceName": "Union", "doc": "Check whether client is authenticated", "accessibility": "public", @@ -57,12 +60,14 @@ "$id": "4", "kind": "basic", "name": "validToken", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check whether client is authenticated", "operation": { "$id": "5", "name": "validToken", + "isExactName": false, "resourceName": "Union", "doc": "Check whether client is authenticated", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json index c79e2bbb194..a26667912be 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/client-operation-group/tspCodeModel.json @@ -101,17 +101,20 @@ "$id": "8", "kind": "client", "name": "FirstClient", + "isExactName": false, "namespace": "Client.Structure.ClientOperationGroup", "methods": [ { "$id": "9", "kind": "basic", "name": "one", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "10", "name": "one", + "isExactName": false, "resourceName": "ClientOperationGroup", "accessibility": "public", "parameters": [], @@ -195,17 +198,20 @@ "$id": "14", "kind": "client", "name": "Group3", + "isExactName": false, "namespace": "Client.Structure.ClientOperationGroup", "methods": [ { "$id": "15", "kind": "basic", "name": "two", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "16", "name": "two", + "isExactName": false, "resourceName": "Group3", "accessibility": "public", "parameters": [], @@ -240,11 +246,13 @@ "$id": "17", "kind": "basic", "name": "three", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "18", "name": "three", + "isExactName": false, "resourceName": "Group3", "accessibility": "public", "parameters": [], @@ -332,17 +340,20 @@ "$id": "22", "kind": "client", "name": "Group4", + "isExactName": false, "namespace": "Client.Structure.ClientOperationGroup", "methods": [ { "$id": "23", "kind": "basic", "name": "four", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "24", "name": "four", + "isExactName": false, "resourceName": "Group4", "accessibility": "public", "parameters": [], @@ -433,17 +444,20 @@ "$id": "28", "kind": "client", "name": "SubNamespace.SecondClient", + "isExactName": false, "namespace": "Client.Structure.AnotherClientOperationGroup", "methods": [ { "$id": "29", "kind": "basic", "name": "five", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "30", "name": "five", + "isExactName": false, "resourceName": "AnotherClientOperationGroup", "accessibility": "public", "parameters": [], @@ -527,17 +541,20 @@ "$id": "34", "kind": "client", "name": "Group5", + "isExactName": false, "namespace": "Client.Structure.AnotherClientOperationGroup", "methods": [ { "$id": "35", "kind": "basic", "name": "six", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "36", "name": "six", + "isExactName": false, "resourceName": "Group5", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json index 855e12fa569..bca2b372f17 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/default/tspCodeModel.json @@ -101,6 +101,7 @@ "$id": "8", "kind": "client", "name": "ServiceClient", + "isExactName": false, "namespace": "Client.Structure.Service", "doc": "Test that we can use @client decorators to customize client side code structure, such as:\n1. have everything as default.\n2. to rename client or operation group\n3. one client can have more than one operations groups\n4. split one interface into two clients\n5. have two clients with operations come from different interfaces\n6. have two clients with a hierarchy relation.", "methods": [ @@ -108,11 +109,13 @@ "$id": "9", "kind": "basic", "name": "one", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "10", "name": "one", + "isExactName": false, "resourceName": "Service", "accessibility": "public", "parameters": [], @@ -147,11 +150,13 @@ "$id": "11", "kind": "basic", "name": "two", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "12", "name": "two", + "isExactName": false, "resourceName": "Service", "accessibility": "public", "parameters": [], @@ -235,6 +240,7 @@ "$id": "16", "kind": "client", "name": "Baz", + "isExactName": false, "namespace": "Client.Structure.Service.Baz", "methods": [], "parameters": [ @@ -292,17 +298,20 @@ "$id": "20", "kind": "client", "name": "Foo", + "isExactName": false, "namespace": "Client.Structure.Service.Baz", "methods": [ { "$id": "21", "kind": "basic", "name": "seven", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "22", "name": "seven", + "isExactName": false, "resourceName": "Foo", "accessibility": "public", "parameters": [], @@ -393,17 +402,20 @@ "$id": "26", "kind": "client", "name": "Qux", + "isExactName": false, "namespace": "Client.Structure.Service.Qux", "methods": [ { "$id": "27", "kind": "basic", "name": "eight", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "28", "name": "eight", + "isExactName": false, "resourceName": "Qux", "accessibility": "public", "parameters": [], @@ -490,17 +502,20 @@ "$id": "32", "kind": "client", "name": "Bar", + "isExactName": false, "namespace": "Client.Structure.Service.Qux", "methods": [ { "$id": "33", "kind": "basic", "name": "nine", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "34", "name": "nine", + "isExactName": false, "resourceName": "Bar", "accessibility": "public", "parameters": [], @@ -591,17 +606,20 @@ "$id": "38", "kind": "client", "name": "Foo", + "isExactName": false, "namespace": "Client.Structure.Service", "methods": [ { "$id": "39", "kind": "basic", "name": "three", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "40", "name": "three", + "isExactName": false, "resourceName": "Foo", "accessibility": "public", "parameters": [], @@ -636,11 +654,13 @@ "$id": "41", "kind": "basic", "name": "four", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "42", "name": "four", + "isExactName": false, "resourceName": "Foo", "accessibility": "public", "parameters": [], @@ -728,17 +748,20 @@ "$id": "46", "kind": "client", "name": "Bar", + "isExactName": false, "namespace": "Client.Structure.Service", "methods": [ { "$id": "47", "kind": "basic", "name": "five", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "48", "name": "five", + "isExactName": false, "resourceName": "Bar", "accessibility": "public", "parameters": [], @@ -773,11 +796,13 @@ "$id": "49", "kind": "basic", "name": "six", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "50", "name": "six", + "isExactName": false, "resourceName": "Bar", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json index 0d29a5909ab..efcc6e105d4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/multi-client/tspCodeModel.json @@ -101,17 +101,20 @@ "$id": "8", "kind": "client", "name": "ClientAClient", + "isExactName": false, "namespace": "Client.Structure.MultiClient", "methods": [ { "$id": "9", "kind": "basic", "name": "renamedOne", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "10", "name": "renamedOne", + "isExactName": false, "resourceName": "ClientA", "accessibility": "public", "parameters": [], @@ -146,11 +149,13 @@ "$id": "11", "kind": "basic", "name": "renamedThree", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "12", "name": "renamedThree", + "isExactName": false, "resourceName": "ClientA", "accessibility": "public", "parameters": [], @@ -185,11 +190,13 @@ "$id": "13", "kind": "basic", "name": "renamedFive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "14", "name": "renamedFive", + "isExactName": false, "resourceName": "ClientA", "accessibility": "public", "parameters": [], @@ -274,17 +281,20 @@ "$id": "18", "kind": "client", "name": "ClientBClient", + "isExactName": false, "namespace": "Client.Structure.MultiClient", "methods": [ { "$id": "19", "kind": "basic", "name": "renamedTwo", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "renamedTwo", + "isExactName": false, "resourceName": "ClientB", "accessibility": "public", "parameters": [], @@ -319,11 +329,13 @@ "$id": "21", "kind": "basic", "name": "renamedFour", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "22", "name": "renamedFour", + "isExactName": false, "resourceName": "ClientB", "accessibility": "public", "parameters": [], @@ -358,11 +370,13 @@ "$id": "23", "kind": "basic", "name": "renamedSix", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "24", "name": "renamedSix", + "isExactName": false, "resourceName": "ClientB", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json index b60a2cbea05..4082dec4d3f 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/renamed-operation/tspCodeModel.json @@ -101,17 +101,20 @@ "$id": "8", "kind": "client", "name": "RenamedOperationClient", + "isExactName": false, "namespace": "Client.Structure.RenamedOperation", "methods": [ { "$id": "9", "kind": "basic", "name": "renamedOne", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "10", "name": "renamedOne", + "isExactName": false, "resourceName": "RenamedOperation", "accessibility": "public", "parameters": [], @@ -146,11 +149,13 @@ "$id": "11", "kind": "basic", "name": "renamedThree", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "12", "name": "renamedThree", + "isExactName": false, "resourceName": "RenamedOperation", "accessibility": "public", "parameters": [], @@ -185,11 +190,13 @@ "$id": "13", "kind": "basic", "name": "renamedFive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "14", "name": "renamedFive", + "isExactName": false, "resourceName": "RenamedOperation", "accessibility": "public", "parameters": [], @@ -273,17 +280,20 @@ "$id": "18", "kind": "client", "name": "Group", + "isExactName": false, "namespace": "Client.Structure.RenamedOperation", "methods": [ { "$id": "19", "kind": "basic", "name": "renamedTwo", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "renamedTwo", + "isExactName": false, "resourceName": "Group", "accessibility": "public", "parameters": [], @@ -318,11 +328,13 @@ "$id": "21", "kind": "basic", "name": "renamedFour", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "22", "name": "renamedFour", + "isExactName": false, "resourceName": "Group", "accessibility": "public", "parameters": [], @@ -357,11 +369,13 @@ "$id": "23", "kind": "basic", "name": "renamedSix", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "24", "name": "renamedSix", + "isExactName": false, "resourceName": "Group", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json index 1e7e63f648b..b16fbb7b6ac 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/client/structure/two-operation-group/tspCodeModel.json @@ -101,6 +101,7 @@ "$id": "8", "kind": "client", "name": "TwoOperationGroupClient", + "isExactName": false, "namespace": "Client.Structure.TwoOperationGroup", "methods": [], "parameters": [ @@ -155,17 +156,20 @@ "$id": "12", "kind": "client", "name": "Group1", + "isExactName": false, "namespace": "Client.Structure.TwoOperationGroup", "methods": [ { "$id": "13", "kind": "basic", "name": "one", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "14", "name": "one", + "isExactName": false, "resourceName": "Group1", "accessibility": "public", "parameters": [], @@ -200,11 +204,13 @@ "$id": "15", "kind": "basic", "name": "three", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "16", "name": "three", + "isExactName": false, "resourceName": "Group1", "accessibility": "public", "parameters": [], @@ -239,11 +245,13 @@ "$id": "17", "kind": "basic", "name": "four", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "18", "name": "four", + "isExactName": false, "resourceName": "Group1", "accessibility": "public", "parameters": [], @@ -331,17 +339,20 @@ "$id": "22", "kind": "client", "name": "Group2", + "isExactName": false, "namespace": "Client.Structure.TwoOperationGroup", "methods": [ { "$id": "23", "kind": "basic", "name": "two", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "24", "name": "two", + "isExactName": false, "resourceName": "Group2", "accessibility": "public", "parameters": [], @@ -376,11 +387,13 @@ "$id": "25", "kind": "basic", "name": "five", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "26", "name": "five", + "isExactName": false, "resourceName": "Group2", "accessibility": "public", "parameters": [], @@ -415,11 +428,13 @@ "$id": "27", "kind": "basic", "name": "six", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "28", "name": "six", + "isExactName": false, "resourceName": "Group2", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json index 4b7039773cb..a98596ab02c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/documentation/tspCodeModel.json @@ -176,6 +176,7 @@ "$id": "12", "kind": "client", "name": "DocumentationClient", + "isExactName": false, "namespace": "Documentation", "doc": "Illustrates documentation generation and formatting features", "methods": [], @@ -221,18 +222,21 @@ "$id": "16", "kind": "client", "name": "Lists", + "isExactName": false, "namespace": "Documentation.Lists", "methods": [ { "$id": "17", "kind": "basic", "name": "bulletPointsOp", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", "operation": { "$id": "18", "name": "bulletPointsOp", + "isExactName": false, "resourceName": "Lists", "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", "accessibility": "public", @@ -268,11 +272,13 @@ "$id": "19", "kind": "basic", "name": "bulletPointsModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "bulletPointsModel", + "isExactName": false, "resourceName": "Lists", "accessibility": "public", "parameters": [ @@ -402,12 +408,14 @@ "$id": "25", "kind": "basic", "name": "numbered", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Steps to follow:\n1. First step with **important** note\n2. Second step with *emphasis*\n3. Third step combining **bold** and *italic*\n4. **Final step**: Review all steps for *accuracy*.", "operation": { "$id": "26", "name": "numbered", + "isExactName": false, "resourceName": "Lists", "doc": "Steps to follow:\n1. First step with **important** note\n2. Second step with *emphasis*\n3. Third step combining **bold** and *italic*\n4. **Final step**: Review all steps for *accuracy*.", "accessibility": "public", @@ -486,18 +494,21 @@ "$id": "30", "kind": "client", "name": "TextFormatting", + "isExactName": false, "namespace": "Documentation.TextFormatting", "methods": [ { "$id": "31", "kind": "basic", "name": "boldText", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "This is **bold text** in the middle of a sentence.\nThis is a sentence with **multiple bold** sections and **another bold** section.\n**This entire sentence is bold.**", "operation": { "$id": "32", "name": "boldText", + "isExactName": false, "resourceName": "TextFormatting", "doc": "This is **bold text** in the middle of a sentence.\nThis is a sentence with **multiple bold** sections and **another bold** section.\n**This entire sentence is bold.**", "accessibility": "public", @@ -533,12 +544,14 @@ "$id": "33", "kind": "basic", "name": "italicText", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "This is *italic text* in the middle of a sentence.\nThis is a sentence with *multiple italic* sections and *another italic* section.\n*This entire sentence is italic.*", "operation": { "$id": "34", "name": "italicText", + "isExactName": false, "resourceName": "TextFormatting", "doc": "This is *italic text* in the middle of a sentence.\nThis is a sentence with *multiple italic* sections and *another italic* section.\n*This entire sentence is italic.*", "accessibility": "public", @@ -574,12 +587,14 @@ "$id": "35", "kind": "basic", "name": "combinedFormatting", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "This sentence has **bold**, *italic*, and ***bold italic*** text.\nYou can also combine them like **bold with *italic inside* bold**.\nOr *italic with **bold inside** italic*.\nThis is a sentence with **bold**, *italic*, and ***bold italic*** text.", "operation": { "$id": "36", "name": "combinedFormatting", + "isExactName": false, "resourceName": "TextFormatting", "doc": "This sentence has **bold**, *italic*, and ***bold italic*** text.\nYou can also combine them like **bold with *italic inside* bold**.\nOr *italic with **bold inside** italic*.\nThis is a sentence with **bold**, *italic*, and ***bold italic*** text.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json index 548303fa3eb..3f41eb6889e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/array/tspCodeModel.json @@ -1051,6 +1051,7 @@ "$id": "87", "kind": "client", "name": "ArrayClient", + "isExactName": false, "namespace": "Encode.Array", "doc": "Test for encode decorator on array.", "methods": [], @@ -1096,17 +1097,20 @@ "$id": "91", "kind": "client", "name": "Property", + "isExactName": false, "namespace": "Encode.Array.Property", "methods": [ { "$id": "92", "kind": "basic", "name": "commaDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "93", "name": "commaDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1290,11 +1294,13 @@ "$id": "100", "kind": "basic", "name": "spaceDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "101", "name": "spaceDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1478,11 +1484,13 @@ "$id": "108", "kind": "basic", "name": "pipeDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "109", "name": "pipeDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1666,11 +1674,13 @@ "$id": "116", "kind": "basic", "name": "newlineDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "117", "name": "newlineDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1854,11 +1864,13 @@ "$id": "124", "kind": "basic", "name": "enumCommaDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "125", "name": "enumCommaDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -2042,11 +2054,13 @@ "$id": "132", "kind": "basic", "name": "enumSpaceDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "133", "name": "enumSpaceDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -2230,11 +2244,13 @@ "$id": "140", "kind": "basic", "name": "enumPipeDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "141", "name": "enumPipeDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -2418,11 +2434,13 @@ "$id": "148", "kind": "basic", "name": "enumNewlineDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "149", "name": "enumNewlineDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -2606,11 +2624,13 @@ "$id": "156", "kind": "basic", "name": "extensibleEnumCommaDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "157", "name": "extensibleEnumCommaDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -2794,11 +2814,13 @@ "$id": "164", "kind": "basic", "name": "extensibleEnumSpaceDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "165", "name": "extensibleEnumSpaceDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -2982,11 +3004,13 @@ "$id": "172", "kind": "basic", "name": "extensibleEnumPipeDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "173", "name": "extensibleEnumPipeDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -3170,11 +3194,13 @@ "$id": "180", "kind": "basic", "name": "extensibleEnumNewlineDelimited", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "181", "name": "extensibleEnumNewlineDelimited", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json index 5dd8719b814..464e4399d78 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/bytes/tspCodeModel.json @@ -644,6 +644,7 @@ "$id": "67", "kind": "client", "name": "BytesClient", + "isExactName": false, "namespace": "Encode.Bytes", "doc": "Test for encode decorator on bytes.", "methods": [], @@ -689,17 +690,20 @@ "$id": "71", "kind": "client", "name": "Query", + "isExactName": false, "namespace": "Encode.Bytes.Query", "methods": [ { "$id": "72", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "73", "name": "default", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -786,11 +790,13 @@ "$id": "78", "kind": "basic", "name": "base64", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "79", "name": "base64", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -877,11 +883,13 @@ "$id": "84", "kind": "basic", "name": "base64url", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "85", "name": "base64url", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -968,11 +976,13 @@ "$id": "90", "kind": "basic", "name": "base64urlArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "91", "name": "base64urlArray", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1093,17 +1103,20 @@ "$id": "97", "kind": "client", "name": "Property", + "isExactName": false, "namespace": "Encode.Bytes.Property", "methods": [ { "$id": "98", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "99", "name": "default", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1287,11 +1300,13 @@ "$id": "106", "kind": "basic", "name": "base64", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "107", "name": "base64", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1475,11 +1490,13 @@ "$id": "114", "kind": "basic", "name": "base64url", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "115", "name": "base64url", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1663,11 +1680,13 @@ "$id": "122", "kind": "basic", "name": "base64urlArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "123", "name": "base64urlArray", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1894,17 +1913,20 @@ "$id": "133", "kind": "client", "name": "Header", + "isExactName": false, "namespace": "Encode.Bytes.Header", "methods": [ { "$id": "134", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "135", "name": "default", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -1991,11 +2013,13 @@ "$id": "140", "kind": "basic", "name": "base64", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "141", "name": "base64", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2082,11 +2106,13 @@ "$id": "146", "kind": "basic", "name": "base64url", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "147", "name": "base64url", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2173,11 +2199,13 @@ "$id": "152", "kind": "basic", "name": "base64urlArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "153", "name": "base64urlArray", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2299,17 +2327,20 @@ "$id": "159", "kind": "client", "name": "RequestBody", + "isExactName": false, "namespace": "Encode.Bytes.RequestBody", "methods": [ { "$id": "160", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "161", "name": "default", + "isExactName": false, "resourceName": "RequestBody", "accessibility": "public", "parameters": [ @@ -2443,11 +2474,13 @@ "$id": "168", "kind": "basic", "name": "octetStream", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "169", "name": "octetStream", + "isExactName": false, "resourceName": "RequestBody", "accessibility": "public", "parameters": [ @@ -2579,11 +2612,13 @@ "$id": "176", "kind": "basic", "name": "customContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "177", "name": "customContentType", + "isExactName": false, "resourceName": "RequestBody", "accessibility": "public", "parameters": [ @@ -2715,11 +2750,13 @@ "$id": "184", "kind": "basic", "name": "base64", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "185", "name": "base64", + "isExactName": false, "resourceName": "RequestBody", "accessibility": "public", "parameters": [ @@ -2857,11 +2894,13 @@ "$id": "192", "kind": "basic", "name": "base64url", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "193", "name": "base64url", + "isExactName": false, "resourceName": "RequestBody", "accessibility": "public", "parameters": [ @@ -3042,17 +3081,20 @@ "$id": "203", "kind": "client", "name": "ResponseBody", + "isExactName": false, "namespace": "Encode.Bytes.ResponseBody", "methods": [ { "$id": "204", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "205", "name": "default", + "isExactName": false, "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ @@ -3143,11 +3185,13 @@ "$id": "209", "kind": "basic", "name": "octetStream", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "210", "name": "octetStream", + "isExactName": false, "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ @@ -3246,11 +3290,13 @@ "$id": "214", "kind": "basic", "name": "customContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "215", "name": "customContentType", + "isExactName": false, "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ @@ -3349,11 +3395,13 @@ "$id": "219", "kind": "basic", "name": "base64", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "220", "name": "base64", + "isExactName": false, "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ @@ -3457,11 +3505,13 @@ "$id": "224", "kind": "basic", "name": "base64url", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "225", "name": "base64url", + "isExactName": false, "resourceName": "ResponseBody", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json index f1e6435b94a..87f4f3e1651 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/datetime/tspCodeModel.json @@ -458,6 +458,7 @@ "$id": "44", "kind": "client", "name": "DatetimeClient", + "isExactName": false, "namespace": "Encode.Datetime", "doc": "Test for encode decorator on datetime.", "methods": [], @@ -503,17 +504,20 @@ "$id": "48", "kind": "client", "name": "Query", + "isExactName": false, "namespace": "Encode.Datetime.Query", "methods": [ { "$id": "49", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "50", "name": "default", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -614,11 +618,13 @@ "$id": "57", "kind": "basic", "name": "rfc3339", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "58", "name": "rfc3339", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -719,11 +725,13 @@ "$id": "65", "kind": "basic", "name": "rfc7231", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "66", "name": "rfc7231", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -824,11 +832,13 @@ "$id": "73", "kind": "basic", "name": "unixTimestamp", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "74", "name": "unixTimestamp", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -929,11 +939,13 @@ "$id": "81", "kind": "basic", "name": "unixTimestampArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "82", "name": "unixTimestampArray", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1054,17 +1066,20 @@ "$id": "88", "kind": "client", "name": "Property", + "isExactName": false, "namespace": "Encode.Datetime.Property", "methods": [ { "$id": "89", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "90", "name": "default", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1248,11 +1263,13 @@ "$id": "97", "kind": "basic", "name": "rfc3339", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "98", "name": "rfc3339", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1436,11 +1453,13 @@ "$id": "105", "kind": "basic", "name": "rfc7231", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "106", "name": "rfc7231", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1624,11 +1643,13 @@ "$id": "113", "kind": "basic", "name": "unixTimestamp", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "114", "name": "unixTimestamp", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -1812,11 +1833,13 @@ "$id": "121", "kind": "basic", "name": "unixTimestampArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "122", "name": "unixTimestampArray", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -2043,17 +2066,20 @@ "$id": "132", "kind": "client", "name": "Header", + "isExactName": false, "namespace": "Encode.Datetime.Header", "methods": [ { "$id": "133", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "134", "name": "default", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2154,11 +2180,13 @@ "$id": "141", "kind": "basic", "name": "rfc3339", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "142", "name": "rfc3339", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2259,11 +2287,13 @@ "$id": "149", "kind": "basic", "name": "rfc7231", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "150", "name": "rfc7231", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2364,11 +2394,13 @@ "$id": "157", "kind": "basic", "name": "unixTimestamp", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "158", "name": "unixTimestamp", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2469,11 +2501,13 @@ "$id": "165", "kind": "basic", "name": "unixTimestampArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "166", "name": "unixTimestampArray", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -2595,17 +2629,20 @@ "$id": "172", "kind": "client", "name": "ResponseHeader", + "isExactName": false, "namespace": "Encode.Datetime.ResponseHeader", "methods": [ { "$id": "173", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "174", "name": "default", + "isExactName": false, "resourceName": "ResponseHeader", "accessibility": "public", "parameters": [], @@ -2660,11 +2697,13 @@ "$id": "177", "kind": "basic", "name": "rfc3339", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "178", "name": "rfc3339", + "isExactName": false, "resourceName": "ResponseHeader", "accessibility": "public", "parameters": [], @@ -2719,11 +2758,13 @@ "$id": "181", "kind": "basic", "name": "rfc7231", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "182", "name": "rfc7231", + "isExactName": false, "resourceName": "ResponseHeader", "accessibility": "public", "parameters": [], @@ -2778,11 +2819,13 @@ "$id": "185", "kind": "basic", "name": "unixTimestamp", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "186", "name": "unixTimestamp", + "isExactName": false, "resourceName": "ResponseHeader", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json index 48313829685..080f7f7843e 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/duration/tspCodeModel.json @@ -1245,6 +1245,7 @@ "$id": "119", "kind": "client", "name": "DurationClient", + "isExactName": false, "namespace": "Encode.Duration", "doc": "Test for encode decorator on duration.", "methods": [], @@ -1290,17 +1291,20 @@ "$id": "123", "kind": "client", "name": "Query", + "isExactName": false, "namespace": "Encode.Duration.Query", "methods": [ { "$id": "124", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "125", "name": "default", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1401,11 +1405,13 @@ "$id": "132", "kind": "basic", "name": "iso8601", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "133", "name": "iso8601", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1506,11 +1512,13 @@ "$id": "140", "kind": "basic", "name": "int32Seconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "141", "name": "int32Seconds", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1611,11 +1619,13 @@ "$id": "148", "kind": "basic", "name": "int32SecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "149", "name": "int32SecondsLargerUnit", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1716,11 +1726,13 @@ "$id": "156", "kind": "basic", "name": "floatSeconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "157", "name": "floatSeconds", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1821,11 +1833,13 @@ "$id": "164", "kind": "basic", "name": "floatSecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "165", "name": "floatSecondsLargerUnit", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -1926,11 +1940,13 @@ "$id": "172", "kind": "basic", "name": "float64Seconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "173", "name": "float64Seconds", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2031,11 +2047,13 @@ "$id": "180", "kind": "basic", "name": "int32Milliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "181", "name": "int32Milliseconds", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2136,11 +2154,13 @@ "$id": "188", "kind": "basic", "name": "int32MillisecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "189", "name": "int32MillisecondsLargerUnit", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2241,11 +2261,13 @@ "$id": "196", "kind": "basic", "name": "floatMilliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "197", "name": "floatMilliseconds", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2346,11 +2368,13 @@ "$id": "204", "kind": "basic", "name": "floatMillisecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "205", "name": "floatMillisecondsLargerUnit", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2451,11 +2475,13 @@ "$id": "212", "kind": "basic", "name": "float64Milliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "213", "name": "float64Milliseconds", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2556,11 +2582,13 @@ "$id": "220", "kind": "basic", "name": "int32SecondsArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "221", "name": "int32SecondsArray", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2672,11 +2700,13 @@ "$id": "229", "kind": "basic", "name": "int32MillisecondsArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "230", "name": "int32MillisecondsArray", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -2831,17 +2861,20 @@ "$id": "241", "kind": "client", "name": "Property", + "isExactName": false, "namespace": "Encode.Duration.Property", "methods": [ { "$id": "242", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "243", "name": "default", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -3025,11 +3058,13 @@ "$id": "250", "kind": "basic", "name": "iso8601", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "251", "name": "iso8601", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -3213,11 +3248,13 @@ "$id": "258", "kind": "basic", "name": "int32Seconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "259", "name": "int32Seconds", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -3401,11 +3438,13 @@ "$id": "266", "kind": "basic", "name": "floatSeconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "267", "name": "floatSeconds", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -3589,11 +3628,13 @@ "$id": "274", "kind": "basic", "name": "float64Seconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "275", "name": "float64Seconds", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -3777,11 +3818,13 @@ "$id": "282", "kind": "basic", "name": "int32Milliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "283", "name": "int32Milliseconds", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -3965,11 +4008,13 @@ "$id": "290", "kind": "basic", "name": "floatMilliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "291", "name": "floatMilliseconds", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -4153,11 +4198,13 @@ "$id": "298", "kind": "basic", "name": "float64Milliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "299", "name": "float64Milliseconds", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -4341,11 +4388,13 @@ "$id": "306", "kind": "basic", "name": "floatSecondsArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "307", "name": "floatSecondsArray", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -4529,11 +4578,13 @@ "$id": "314", "kind": "basic", "name": "floatMillisecondsArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "315", "name": "floatMillisecondsArray", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -4717,11 +4768,13 @@ "$id": "322", "kind": "basic", "name": "int32SecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "323", "name": "int32SecondsLargerUnit", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -4905,11 +4958,13 @@ "$id": "330", "kind": "basic", "name": "floatSecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "331", "name": "floatSecondsLargerUnit", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -5093,11 +5148,13 @@ "$id": "338", "kind": "basic", "name": "int32MillisecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "339", "name": "int32MillisecondsLargerUnit", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -5281,11 +5338,13 @@ "$id": "346", "kind": "basic", "name": "floatMillisecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "347", "name": "floatMillisecondsLargerUnit", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -5512,17 +5571,20 @@ "$id": "357", "kind": "client", "name": "Header", + "isExactName": false, "namespace": "Encode.Duration.Header", "methods": [ { "$id": "358", "kind": "basic", "name": "default", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "359", "name": "default", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -5623,11 +5685,13 @@ "$id": "366", "kind": "basic", "name": "iso8601", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "367", "name": "iso8601", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -5728,11 +5792,13 @@ "$id": "374", "kind": "basic", "name": "iso8601Array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "375", "name": "iso8601Array", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -5845,11 +5911,13 @@ "$id": "383", "kind": "basic", "name": "int32Seconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "384", "name": "int32Seconds", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -5950,11 +6018,13 @@ "$id": "391", "kind": "basic", "name": "int32SecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "392", "name": "int32SecondsLargerUnit", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6055,11 +6125,13 @@ "$id": "399", "kind": "basic", "name": "floatSeconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "400", "name": "floatSeconds", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6160,11 +6232,13 @@ "$id": "407", "kind": "basic", "name": "floatSecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "408", "name": "floatSecondsLargerUnit", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6265,11 +6339,13 @@ "$id": "415", "kind": "basic", "name": "float64Seconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "416", "name": "float64Seconds", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6370,11 +6446,13 @@ "$id": "423", "kind": "basic", "name": "int32Milliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "424", "name": "int32Milliseconds", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6475,11 +6553,13 @@ "$id": "431", "kind": "basic", "name": "int32MillisecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "432", "name": "int32MillisecondsLargerUnit", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6580,11 +6660,13 @@ "$id": "439", "kind": "basic", "name": "floatMilliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "440", "name": "floatMilliseconds", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6685,11 +6767,13 @@ "$id": "447", "kind": "basic", "name": "floatMillisecondsLargerUnit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "448", "name": "floatMillisecondsLargerUnit", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6790,11 +6874,13 @@ "$id": "455", "kind": "basic", "name": "float64Milliseconds", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "456", "name": "float64Milliseconds", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ @@ -6895,11 +6981,13 @@ "$id": "463", "kind": "basic", "name": "int32MillisecondsArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "464", "name": "int32MillisecondsArray", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json index 157b88fe700..90ffc2f85c4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/encode/numeric/tspCodeModel.json @@ -245,6 +245,7 @@ "$id": "22", "kind": "client", "name": "NumericClient", + "isExactName": false, "namespace": "Encode.Numeric", "doc": "Test for encode decorator on integer.", "methods": [], @@ -290,17 +291,20 @@ "$id": "26", "kind": "client", "name": "Property", + "isExactName": false, "namespace": "Encode.Numeric.Property", "methods": [ { "$id": "27", "kind": "basic", "name": "safeintAsString", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "28", "name": "safeintAsString", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -484,11 +488,13 @@ "$id": "35", "kind": "basic", "name": "uint32AsStringOptional", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "36", "name": "uint32AsStringOptional", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -672,11 +678,13 @@ "$id": "43", "kind": "basic", "name": "uint8AsString", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "44", "name": "uint8AsString", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json index ec63be8d3f7..ed8e5ad41b4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/basic/tspCodeModel.json @@ -132,6 +132,7 @@ "$id": "11", "kind": "client", "name": "BasicClient", + "isExactName": false, "namespace": "Parameters.Basic", "doc": "Test for basic parameters cases.", "methods": [], @@ -177,17 +178,20 @@ "$id": "15", "kind": "client", "name": "ExplicitBody", + "isExactName": false, "namespace": "Parameters.Basic.ExplicitBody", "methods": [ { "$id": "16", "kind": "basic", "name": "simple", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "17", "name": "simple", + "isExactName": false, "resourceName": "ExplicitBody", "accessibility": "public", "parameters": [ @@ -360,17 +364,20 @@ "$id": "25", "kind": "client", "name": "ImplicitBody", + "isExactName": false, "namespace": "Parameters.Basic.ImplicitBody", "methods": [ { "$id": "26", "kind": "basic", "name": "simple", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "27", "name": "simple", + "isExactName": false, "resourceName": "ImplicitBody", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json index 079b0bf1885..ec2b6ff1f6d 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/body-optionality/tspCodeModel.json @@ -122,6 +122,7 @@ "$id": "12", "kind": "client", "name": "BodyOptionalityClient", + "isExactName": false, "namespace": "Parameters.BodyOptionality", "doc": "Test describing optionality of the request body.", "methods": [ @@ -129,11 +130,13 @@ "$id": "13", "kind": "basic", "name": "requiredExplicit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "14", "name": "requiredExplicit", + "isExactName": false, "resourceName": "BodyOptionality", "accessibility": "public", "parameters": [ @@ -263,11 +266,13 @@ "$id": "19", "kind": "basic", "name": "requiredImplicit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "requiredImplicit", + "isExactName": false, "resourceName": "BodyOptionality", "accessibility": "public", "parameters": [ @@ -440,17 +445,20 @@ "$id": "29", "kind": "client", "name": "OptionalExplicit", + "isExactName": false, "namespace": "Parameters.BodyOptionality.OptionalExplicit", "methods": [ { "$id": "30", "kind": "basic", "name": "set", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "31", "name": "set", + "isExactName": false, "resourceName": "OptionalExplicit", "accessibility": "public", "parameters": [ @@ -580,11 +588,13 @@ "$id": "36", "kind": "basic", "name": "omit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "37", "name": "omit", + "isExactName": false, "resourceName": "OptionalExplicit", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json index 8e58277187e..ed0425c85b4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/collection-format/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "CollectionFormatClient", + "isExactName": false, "namespace": "Parameters.CollectionFormat", "doc": "Test for collectionFormat.", "methods": [], @@ -54,17 +55,20 @@ "$id": "5", "kind": "client", "name": "Query", + "isExactName": false, "namespace": "Parameters.CollectionFormat.Query", "methods": [ { "$id": "6", "kind": "basic", "name": "multi", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "7", "name": "multi", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -154,11 +158,13 @@ "$id": "12", "kind": "basic", "name": "ssv", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "13", "name": "ssv", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -238,11 +244,13 @@ "$id": "16", "kind": "basic", "name": "pipes", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "17", "name": "pipes", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -322,11 +330,13 @@ "$id": "20", "kind": "basic", "name": "csv", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "21", "name": "csv", + "isExactName": false, "resourceName": "Query", "accessibility": "public", "parameters": [ @@ -449,17 +459,20 @@ "$id": "27", "kind": "client", "name": "Header", + "isExactName": false, "namespace": "Parameters.CollectionFormat.Header", "methods": [ { "$id": "28", "kind": "basic", "name": "csv", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "29", "name": "csv", + "isExactName": false, "resourceName": "Header", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json index 89144e3f507..b7f290a3ebc 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/path/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "PathClient", + "isExactName": false, "namespace": "Parameters.Path", "doc": "Test for path parameters cases.", "methods": [ @@ -16,11 +17,13 @@ "$id": "2", "kind": "basic", "name": "normal", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "3", "name": "normal", + "isExactName": false, "resourceName": "Path", "accessibility": "public", "parameters": [ @@ -108,11 +111,13 @@ "$id": "8", "kind": "basic", "name": "optional", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "9", "name": "optional", + "isExactName": false, "resourceName": "Path", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json index 793500ef21c..188b51262ae 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/query/tspCodeModel.json @@ -44,6 +44,7 @@ "$id": "5", "kind": "client", "name": "QueryClient", + "isExactName": false, "namespace": "Parameters.Query", "doc": "Test for query parameter cases.", "methods": [], @@ -89,6 +90,7 @@ "$id": "9", "kind": "client", "name": "Constant", + "isExactName": false, "namespace": "Parameters.Query", "doc": "Constant query parameter verification", "methods": [ @@ -96,12 +98,14 @@ "$id": "10", "kind": "basic", "name": "post", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "post constant query value", "operation": { "$id": "11", "name": "post", + "isExactName": false, "resourceName": "Constant", "doc": "post constant query value", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json index 8088d5394df..462366e9fe4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/parameters/spread/tspCodeModel.json @@ -590,6 +590,7 @@ "$id": "50", "kind": "client", "name": "SpreadClient", + "isExactName": false, "namespace": "Parameters.Spread", "doc": "Test for the spread operator.", "methods": [], @@ -635,17 +636,20 @@ "$id": "54", "kind": "client", "name": "Model", + "isExactName": false, "namespace": "Parameters.Spread.Model", "methods": [ { "$id": "55", "kind": "basic", "name": "spreadAsRequestBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "56", "name": "spreadAsRequestBody", + "isExactName": false, "resourceName": "Model", "accessibility": "public", "parameters": [ @@ -779,11 +783,13 @@ "$id": "62", "kind": "basic", "name": "spreadCompositeRequestOnlyWithBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "63", "name": "spreadCompositeRequestOnlyWithBody", + "isExactName": false, "resourceName": "Model", "accessibility": "public", "parameters": [ @@ -913,11 +919,13 @@ "$id": "68", "kind": "basic", "name": "spreadCompositeRequestWithoutBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "69", "name": "spreadCompositeRequestWithoutBody", + "isExactName": false, "resourceName": "Model", "accessibility": "public", "parameters": [ @@ -1053,11 +1061,13 @@ "$id": "78", "kind": "basic", "name": "spreadCompositeRequest", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "79", "name": "spreadCompositeRequest", + "isExactName": false, "resourceName": "Model", "accessibility": "public", "parameters": [ @@ -1286,11 +1296,13 @@ "$id": "92", "kind": "basic", "name": "spreadCompositeRequestMix", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "93", "name": "spreadCompositeRequestMix", + "isExactName": false, "resourceName": "Model", "accessibility": "public", "parameters": [ @@ -1566,17 +1578,20 @@ "$id": "110", "kind": "client", "name": "Alias", + "isExactName": false, "namespace": "Parameters.Spread.Alias", "methods": [ { "$id": "111", "kind": "basic", "name": "spreadAsRequestBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "112", "name": "spreadAsRequestBody", + "isExactName": false, "resourceName": "Alias", "accessibility": "public", "parameters": [ @@ -1710,11 +1725,13 @@ "$id": "118", "kind": "basic", "name": "spreadParameterWithInnerModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "119", "name": "spreadParameterWithInnerModel", + "isExactName": false, "resourceName": "Alias", "accessibility": "public", "parameters": [ @@ -1947,11 +1964,13 @@ "$id": "133", "kind": "basic", "name": "spreadAsRequestParameter", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "134", "name": "spreadAsRequestParameter", + "isExactName": false, "resourceName": "Alias", "accessibility": "public", "parameters": [ @@ -2184,11 +2203,13 @@ "$id": "148", "kind": "basic", "name": "spreadWithMultipleParameters", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "149", "name": "spreadWithMultipleParameters", + "isExactName": false, "resourceName": "Alias", "accessibility": "public", "parameters": [ @@ -2483,12 +2504,14 @@ "$id": "167", "kind": "basic", "name": "spreadParameterWithInnerAlias", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "spread an alias with contains another alias property as body.", "operation": { "$id": "168", "name": "spreadParameterWithInnerAlias", + "isExactName": false, "resourceName": "Alias", "doc": "spread an alias with contains another alias property as body.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json index c4dd5325f1d..f9adb47ae2c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/content-negotiation/tspCodeModel.json @@ -298,6 +298,7 @@ "$id": "31", "kind": "client", "name": "ContentNegotiationClient", + "isExactName": false, "namespace": "Payload.ContentNegotiation", "doc": "Test describing optionality of the request body.", "methods": [], @@ -343,17 +344,20 @@ "$id": "35", "kind": "client", "name": "SameBody", + "isExactName": false, "namespace": "Payload.ContentNegotiation.SameBody", "methods": [ { "$id": "36", "kind": "basic", "name": "getAvatarAsPng", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "37", "name": "getAvatarAsPng", + "isExactName": false, "resourceName": "SameBody", "accessibility": "public", "parameters": [ @@ -452,11 +456,13 @@ "$id": "41", "kind": "basic", "name": "getAvatarAsJpeg", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "42", "name": "getAvatarAsJpeg", + "isExactName": false, "resourceName": "SameBody", "accessibility": "public", "parameters": [ @@ -598,17 +604,20 @@ "$id": "49", "kind": "client", "name": "DifferentBody", + "isExactName": false, "namespace": "Payload.ContentNegotiation.DifferentBody", "methods": [ { "$id": "50", "kind": "basic", "name": "getAvatarAsPng", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "51", "name": "getAvatarAsPng", + "isExactName": false, "resourceName": "DifferentBody", "accessibility": "public", "parameters": [ @@ -707,11 +716,13 @@ "$id": "55", "kind": "basic", "name": "getAvatarAsJson", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "56", "name": "getAvatarAsJson", + "isExactName": false, "resourceName": "DifferentBody", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json index b763dc4a578..007f5890d6f 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/head/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "HeadClient", + "isExactName": false, "namespace": "Payload.Head", "doc": "Test scenario for HEAD operation returning response headers.", "methods": [ @@ -16,11 +17,13 @@ "$id": "2", "kind": "basic", "name": "contentTypeHeaderInResponse", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "3", "name": "contentTypeHeaderInResponse", + "isExactName": false, "resourceName": "Head", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json index 9f47f5f9831..e7a8022aaaa 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/json-merge-patch/tspCodeModel.json @@ -641,6 +641,7 @@ "$id": "51", "kind": "client", "name": "JsonMergePatchClient", + "isExactName": false, "namespace": "Payload.JsonMergePatch", "doc": "Test for merge-patch+json content-type", "methods": [ @@ -648,12 +649,14 @@ "$id": "52", "kind": "basic", "name": "createResource", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: application/merge-patch+json with required body", "operation": { "$id": "53", "name": "createResource", + "isExactName": false, "resourceName": "JsonMergePatch", "doc": "Test content-type: application/merge-patch+json with required body", "accessibility": "public", @@ -838,12 +841,14 @@ "$id": "60", "kind": "basic", "name": "updateResource", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: application/merge-patch+json with required body", "operation": { "$id": "61", "name": "updateResource", + "isExactName": false, "resourceName": "JsonMergePatch", "doc": "Test content-type: application/merge-patch+json with required body", "accessibility": "public", @@ -1026,12 +1031,14 @@ "$id": "68", "kind": "basic", "name": "updateOptionalResource", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: application/merge-patch+json with optional body", "operation": { "$id": "69", "name": "updateOptionalResource", + "isExactName": false, "resourceName": "JsonMergePatch", "doc": "Test content-type: application/merge-patch+json with optional body", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json index e415d7b27f0..2bac89ed238 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/media-type/tspCodeModel.json @@ -146,6 +146,7 @@ "$id": "17", "kind": "client", "name": "MediaTypeClient", + "isExactName": false, "namespace": "Payload.MediaType", "doc": "Test the payload with different media types and different types of the payload itself.", "methods": [], @@ -191,17 +192,20 @@ "$id": "21", "kind": "client", "name": "StringBody", + "isExactName": false, "namespace": "Payload.MediaType.StringBody", "methods": [ { "$id": "22", "kind": "basic", "name": "sendAsText", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "23", "name": "sendAsText", + "isExactName": false, "resourceName": "StringBody", "accessibility": "public", "parameters": [ @@ -333,11 +337,13 @@ "$id": "30", "kind": "basic", "name": "getAsText", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "31", "name": "getAsText", + "isExactName": false, "resourceName": "StringBody", "accessibility": "public", "parameters": [ @@ -436,11 +442,13 @@ "$id": "35", "kind": "basic", "name": "sendAsJson", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "36", "name": "sendAsJson", + "isExactName": false, "resourceName": "StringBody", "accessibility": "public", "parameters": [ @@ -576,11 +584,13 @@ "$id": "43", "kind": "basic", "name": "getAsJson", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "44", "name": "getAsJson", + "isExactName": false, "resourceName": "StringBody", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json index 182d9f02ef2..6aea517a7ca 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/multipart/tspCodeModel.json @@ -2550,6 +2550,7 @@ "$id": "195", "kind": "client", "name": "MultiPartClient", + "isExactName": false, "namespace": "Payload.MultiPart", "doc": "Test for multipart", "methods": [], @@ -2595,18 +2596,21 @@ "$id": "199", "kind": "client", "name": "FormData", + "isExactName": false, "namespace": "Payload.MultiPart.FormData", "methods": [ { "$id": "200", "kind": "basic", "name": "basic", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { "$id": "201", "name": "basic", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", @@ -2731,12 +2735,14 @@ "$id": "206", "kind": "basic", "name": "withWireName", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data with wire names", "operation": { "$id": "207", "name": "withWireName", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data with wire names", "accessibility": "public", @@ -2861,12 +2867,14 @@ "$id": "212", "kind": "basic", "name": "optionalParts", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data with optional parts", "operation": { "$id": "213", "name": "optionalParts", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data with optional parts", "accessibility": "public", @@ -2991,12 +2999,14 @@ "$id": "218", "kind": "basic", "name": "fileArrayAndBasic", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for mixed scenarios", "operation": { "$id": "219", "name": "fileArrayAndBasic", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for mixed scenarios", "accessibility": "public", @@ -3121,12 +3131,14 @@ "$id": "224", "kind": "basic", "name": "jsonPart", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "operation": { "$id": "225", "name": "jsonPart", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains json part and binary part ", "accessibility": "public", @@ -3251,12 +3263,14 @@ "$id": "230", "kind": "basic", "name": "binaryArrayParts", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "operation": { "$id": "231", "name": "binaryArrayParts", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "accessibility": "public", @@ -3381,12 +3395,14 @@ "$id": "236", "kind": "basic", "name": "multiBinaryParts", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "operation": { "$id": "237", "name": "multiBinaryParts", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data for scenario contains multi binary parts", "accessibility": "public", @@ -3511,12 +3527,14 @@ "$id": "242", "kind": "basic", "name": "checkFileNameAndContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { "$id": "243", "name": "checkFileNameAndContentType", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", @@ -3641,12 +3659,14 @@ "$id": "248", "kind": "basic", "name": "anonymousModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { "$id": "249", "name": "anonymousModel", + "isExactName": false, "resourceName": "FormData", "doc": "Test content-type: multipart/form-data", "accessibility": "public", @@ -3813,18 +3833,21 @@ "$id": "257", "kind": "client", "name": "HttpParts", + "isExactName": false, "namespace": "Payload.MultiPart.FormData.HttpParts", "methods": [ { "$id": "258", "kind": "basic", "name": "jsonArrayAndFileArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for mixed scenarios", "operation": { "$id": "259", "name": "jsonArrayAndFileArray", + "isExactName": false, "resourceName": "HttpParts", "doc": "Test content-type: multipart/form-data for mixed scenarios", "accessibility": "public", @@ -3991,18 +4014,21 @@ "$id": "267", "kind": "client", "name": "ContentType", + "isExactName": false, "namespace": "Payload.MultiPart.FormData.HttpParts.ContentType", "methods": [ { "$id": "268", "kind": "basic", "name": "imageJpegContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { "$id": "269", "name": "imageJpegContentType", + "isExactName": false, "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data", "accessibility": "public", @@ -4127,12 +4153,14 @@ "$id": "274", "kind": "basic", "name": "requiredContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data", "operation": { "$id": "275", "name": "requiredContentType", + "isExactName": false, "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data", "accessibility": "public", @@ -4257,12 +4285,14 @@ "$id": "280", "kind": "basic", "name": "optionalContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for optional content type", "operation": { "$id": "281", "name": "optionalContentType", + "isExactName": false, "resourceName": "ContentType", "doc": "Test content-type: multipart/form-data for optional content type", "accessibility": "public", @@ -4430,18 +4460,21 @@ "$id": "289", "kind": "client", "name": "NonString", + "isExactName": false, "namespace": "Payload.MultiPart.FormData.HttpParts.NonString", "methods": [ { "$id": "290", "kind": "basic", "name": "float", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Test content-type: multipart/form-data for non string", "operation": { "$id": "291", "name": "float", + "isExactName": false, "resourceName": "NonString", "doc": "Test content-type: multipart/form-data for non string", "accessibility": "public", @@ -4612,17 +4645,20 @@ "$id": "299", "kind": "client", "name": "File", + "isExactName": false, "namespace": "Payload.MultiPart.FormData.File", "methods": [ { "$id": "300", "kind": "basic", "name": "uploadFileSpecificContentType", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "301", "name": "uploadFileSpecificContentType", + "isExactName": false, "resourceName": "File", "accessibility": "public", "parameters": [ @@ -4746,11 +4782,13 @@ "$id": "306", "kind": "basic", "name": "uploadFileRequiredFilename", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "307", "name": "uploadFileRequiredFilename", + "isExactName": false, "resourceName": "File", "accessibility": "public", "parameters": [ @@ -4874,11 +4912,13 @@ "$id": "312", "kind": "basic", "name": "uploadFileArray", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "313", "name": "uploadFileArray", + "isExactName": false, "resourceName": "File", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json index cf2a776b277..8b0889cb8bd 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/pageable/tspCodeModel.json @@ -1621,6 +1621,7 @@ "$id": "110", "kind": "client", "name": "PageableClient", + "isExactName": false, "namespace": "Payload.Pageable", "doc": "Test for pageable payload.", "methods": [], @@ -1666,17 +1667,20 @@ "$id": "114", "kind": "client", "name": "ServerDrivenPagination", + "isExactName": false, "namespace": "Payload.Pageable.ServerDrivenPagination", "methods": [ { "$id": "115", "kind": "paging", "name": "link", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "116", "name": "link", + "isExactName": false, "resourceName": "ServerDrivenPagination", "accessibility": "public", "parameters": [ @@ -1782,11 +1786,13 @@ "$id": "119", "kind": "paging", "name": "linkString", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "120", "name": "linkString", + "isExactName": false, "resourceName": "ServerDrivenPagination", "accessibility": "public", "parameters": [ @@ -1892,11 +1898,13 @@ "$id": "123", "kind": "paging", "name": "nestedLink", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "124", "name": "nestedLink", + "isExactName": false, "resourceName": "ServerDrivenPagination", "accessibility": "public", "parameters": [ @@ -2047,6 +2055,7 @@ "$id": "130", "kind": "client", "name": "AlternateInitialVerb", + "isExactName": false, "namespace": "Payload.Pageable.ServerDrivenPagination.AlternateInitialVerb", "doc": "Scenario where the initial request is not a GET request. However following the next link always result in a GET request.", "methods": [ @@ -2054,11 +2063,13 @@ "$id": "131", "kind": "paging", "name": "post", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "132", "name": "post", + "isExactName": false, "resourceName": "AlternateInitialVerb", "accessibility": "public", "parameters": [ @@ -2300,17 +2311,20 @@ "$id": "142", "kind": "client", "name": "ContinuationToken", + "isExactName": false, "namespace": "Payload.Pageable.ServerDrivenPagination.ContinuationToken", "methods": [ { "$id": "143", "kind": "paging", "name": "requestQueryResponseBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "144", "name": "requestQueryResponseBody", + "isExactName": false, "resourceName": "ContinuationToken", "accessibility": "public", "parameters": [ @@ -2563,11 +2577,13 @@ "$id": "159", "kind": "paging", "name": "requestHeaderResponseBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "160", "name": "requestHeaderResponseBody", + "isExactName": false, "resourceName": "ContinuationToken", "accessibility": "public", "parameters": [ @@ -2820,11 +2836,13 @@ "$id": "175", "kind": "paging", "name": "requestQueryResponseHeader", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "176", "name": "requestQueryResponseHeader", + "isExactName": false, "resourceName": "ContinuationToken", "accessibility": "public", "parameters": [ @@ -3089,11 +3107,13 @@ "$id": "192", "kind": "paging", "name": "requestHeaderResponseHeader", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "193", "name": "requestHeaderResponseHeader", + "isExactName": false, "resourceName": "ContinuationToken", "accessibility": "public", "parameters": [ @@ -3358,11 +3378,13 @@ "$id": "209", "kind": "paging", "name": "requestQueryNestedResponseBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "210", "name": "requestQueryNestedResponseBody", + "isExactName": false, "resourceName": "ContinuationToken", "accessibility": "public", "parameters": [ @@ -3618,11 +3640,13 @@ "$id": "225", "kind": "paging", "name": "requestHeaderNestedResponseBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "226", "name": "requestHeaderNestedResponseBody", + "isExactName": false, "resourceName": "ContinuationToken", "accessibility": "public", "parameters": [ @@ -3924,17 +3948,20 @@ "$id": "244", "kind": "client", "name": "PageSize", + "isExactName": false, "namespace": "Payload.Pageable.PageSize", "methods": [ { "$id": "245", "kind": "paging", "name": "listWithoutContinuation", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "246", "name": "listWithoutContinuation", + "isExactName": false, "resourceName": "PageSize", "accessibility": "public", "parameters": [ @@ -4034,11 +4061,13 @@ "$id": "249", "kind": "paging", "name": "listWithPageSize", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "250", "name": "listWithPageSize", + "isExactName": false, "resourceName": "PageSize", "accessibility": "public", "parameters": [ @@ -4231,17 +4260,20 @@ "$id": "260", "kind": "client", "name": "XmlPagination", + "isExactName": false, "namespace": "Payload.Pageable.XmlPagination", "methods": [ { "$id": "261", "kind": "paging", "name": "listWithContinuation", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "262", "name": "listWithContinuation", + "isExactName": false, "resourceName": "XmlPagination", "accessibility": "public", "parameters": [ @@ -4406,11 +4438,13 @@ "$id": "269", "kind": "paging", "name": "listWithNextLink", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "270", "name": "listWithNextLink", + "isExactName": false, "resourceName": "XmlPagination", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json index aa44a5cf88a..83fd4fc84ae 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/payload/xml/tspCodeModel.json @@ -3978,6 +3978,7 @@ "$id": "331", "kind": "client", "name": "XmlClient", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Sends and receives bodies in XML format.", "methods": [], @@ -4023,6 +4024,7 @@ "$id": "335", "kind": "client", "name": "SimpleModelValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§1.1 — Operations for the SimpleModel type.", "methods": [ @@ -4030,11 +4032,13 @@ "$id": "336", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "337", "name": "get", + "isExactName": false, "resourceName": "SimpleModelValue", "accessibility": "public", "parameters": [ @@ -4133,11 +4137,13 @@ "$id": "340", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "341", "name": "put", + "isExactName": false, "resourceName": "SimpleModelValue", "accessibility": "public", "parameters": [ @@ -4308,6 +4314,7 @@ "$id": "349", "kind": "client", "name": "ModelWithRenamedPropertyValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§1.2 — Operations for the ModelWithRenamedProperty type.", "methods": [ @@ -4315,11 +4322,13 @@ "$id": "350", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "351", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedPropertyValue", "accessibility": "public", "parameters": [ @@ -4418,11 +4427,13 @@ "$id": "354", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "355", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedPropertyValue", "accessibility": "public", "parameters": [ @@ -4593,6 +4604,7 @@ "$id": "363", "kind": "client", "name": "ModelWithRenamedFieldsValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§1.3, §2.3 — Operations for the ModelWithRenamedFields type.", "methods": [ @@ -4600,11 +4612,13 @@ "$id": "364", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "365", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedFieldsValue", "accessibility": "public", "parameters": [ @@ -4703,11 +4717,13 @@ "$id": "368", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "369", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedFieldsValue", "accessibility": "public", "parameters": [ @@ -4878,6 +4894,7 @@ "$id": "377", "kind": "client", "name": "ModelWithNestedModelValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§2.1 — Operations for the ModelWithNestedModel type.", "methods": [ @@ -4885,11 +4902,13 @@ "$id": "378", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "379", "name": "get", + "isExactName": false, "resourceName": "ModelWithNestedModelValue", "accessibility": "public", "parameters": [ @@ -4988,11 +5007,13 @@ "$id": "382", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "383", "name": "put", + "isExactName": false, "resourceName": "ModelWithNestedModelValue", "accessibility": "public", "parameters": [ @@ -5163,6 +5184,7 @@ "$id": "391", "kind": "client", "name": "ModelWithRenamedNestedModelValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§2.2 — Operations for the ModelWithRenamedNestedModel type.", "methods": [ @@ -5170,11 +5192,13 @@ "$id": "392", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "393", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedNestedModelValue", "accessibility": "public", "parameters": [ @@ -5273,11 +5297,13 @@ "$id": "396", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "397", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedNestedModelValue", "accessibility": "public", "parameters": [ @@ -5448,6 +5474,7 @@ "$id": "405", "kind": "client", "name": "ModelWithSimpleArraysValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§3.1 — Operations for the ModelWithSimpleArrays type.", "methods": [ @@ -5455,11 +5482,13 @@ "$id": "406", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "407", "name": "get", + "isExactName": false, "resourceName": "ModelWithSimpleArraysValue", "accessibility": "public", "parameters": [ @@ -5558,11 +5587,13 @@ "$id": "410", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "411", "name": "put", + "isExactName": false, "resourceName": "ModelWithSimpleArraysValue", "accessibility": "public", "parameters": [ @@ -5733,6 +5764,7 @@ "$id": "419", "kind": "client", "name": "ModelWithUnwrappedArrayValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§3.2 — Operations for the ModelWithUnwrappedArray type.", "methods": [ @@ -5740,11 +5772,13 @@ "$id": "420", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "421", "name": "get", + "isExactName": false, "resourceName": "ModelWithUnwrappedArrayValue", "accessibility": "public", "parameters": [ @@ -5843,11 +5877,13 @@ "$id": "424", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "425", "name": "put", + "isExactName": false, "resourceName": "ModelWithUnwrappedArrayValue", "accessibility": "public", "parameters": [ @@ -6018,6 +6054,7 @@ "$id": "433", "kind": "client", "name": "ModelWithRenamedArraysValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§3.3, §3.4 — Operations for the ModelWithRenamedArrays type.", "methods": [ @@ -6025,11 +6062,13 @@ "$id": "434", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "435", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedArraysValue", "accessibility": "public", "parameters": [ @@ -6128,11 +6167,13 @@ "$id": "438", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "439", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedArraysValue", "accessibility": "public", "parameters": [ @@ -6303,6 +6344,7 @@ "$id": "447", "kind": "client", "name": "ModelWithWrappedPrimitiveCustomItemNamesValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§3.5 — Operations for the ModelWithWrappedPrimitiveCustomItemNames type.", "methods": [ @@ -6310,11 +6352,13 @@ "$id": "448", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "449", "name": "get", + "isExactName": false, "resourceName": "ModelWithWrappedPrimitiveCustomItemNamesValue", "accessibility": "public", "parameters": [ @@ -6413,11 +6457,13 @@ "$id": "452", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "453", "name": "put", + "isExactName": false, "resourceName": "ModelWithWrappedPrimitiveCustomItemNamesValue", "accessibility": "public", "parameters": [ @@ -6588,6 +6634,7 @@ "$id": "461", "kind": "client", "name": "ModelWithArrayOfModelValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§4.1 — Operations for the ModelWithArrayOfModel type.", "methods": [ @@ -6595,11 +6642,13 @@ "$id": "462", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "463", "name": "get", + "isExactName": false, "resourceName": "ModelWithArrayOfModelValue", "accessibility": "public", "parameters": [ @@ -6698,11 +6747,13 @@ "$id": "466", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "467", "name": "put", + "isExactName": false, "resourceName": "ModelWithArrayOfModelValue", "accessibility": "public", "parameters": [ @@ -6873,6 +6924,7 @@ "$id": "475", "kind": "client", "name": "ModelWithUnwrappedModelArrayValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§4.2 — Operations for the ModelWithUnwrappedModelArray type.", "methods": [ @@ -6880,11 +6932,13 @@ "$id": "476", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "477", "name": "get", + "isExactName": false, "resourceName": "ModelWithUnwrappedModelArrayValue", "accessibility": "public", "parameters": [ @@ -6983,11 +7037,13 @@ "$id": "480", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "481", "name": "put", + "isExactName": false, "resourceName": "ModelWithUnwrappedModelArrayValue", "accessibility": "public", "parameters": [ @@ -7158,6 +7214,7 @@ "$id": "489", "kind": "client", "name": "ModelWithRenamedWrappedModelArrayValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§4.3 — Operations for the ModelWithRenamedWrappedModelArray type.", "methods": [ @@ -7165,11 +7222,13 @@ "$id": "490", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "491", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedWrappedModelArrayValue", "accessibility": "public", "parameters": [ @@ -7268,11 +7327,13 @@ "$id": "494", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "495", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedWrappedModelArrayValue", "accessibility": "public", "parameters": [ @@ -7443,6 +7504,7 @@ "$id": "503", "kind": "client", "name": "ModelWithRenamedUnwrappedModelArrayValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§4.4 — Operations for the ModelWithRenamedUnwrappedModelArray type.", "methods": [ @@ -7450,11 +7512,13 @@ "$id": "504", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "505", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedUnwrappedModelArrayValue", "accessibility": "public", "parameters": [ @@ -7553,11 +7617,13 @@ "$id": "508", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "509", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedUnwrappedModelArrayValue", "accessibility": "public", "parameters": [ @@ -7728,6 +7794,7 @@ "$id": "517", "kind": "client", "name": "ModelWithRenamedWrappedAndItemModelArrayValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§4.5 — Operations for the ModelWithRenamedWrappedAndItemModelArray type.", "methods": [ @@ -7735,11 +7802,13 @@ "$id": "518", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "519", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedWrappedAndItemModelArrayValue", "accessibility": "public", "parameters": [ @@ -7838,11 +7907,13 @@ "$id": "522", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "523", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedWrappedAndItemModelArrayValue", "accessibility": "public", "parameters": [ @@ -8013,6 +8084,7 @@ "$id": "531", "kind": "client", "name": "ModelWithAttributesValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§5.1 — Operations for the ModelWithAttributes type.", "methods": [ @@ -8020,11 +8092,13 @@ "$id": "532", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "533", "name": "get", + "isExactName": false, "resourceName": "ModelWithAttributesValue", "accessibility": "public", "parameters": [ @@ -8123,11 +8197,13 @@ "$id": "536", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "537", "name": "put", + "isExactName": false, "resourceName": "ModelWithAttributesValue", "accessibility": "public", "parameters": [ @@ -8298,6 +8374,7 @@ "$id": "545", "kind": "client", "name": "ModelWithRenamedAttributeValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§5.2 — Operations for the ModelWithRenamedAttribute type.", "methods": [ @@ -8305,11 +8382,13 @@ "$id": "546", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "547", "name": "get", + "isExactName": false, "resourceName": "ModelWithRenamedAttributeValue", "accessibility": "public", "parameters": [ @@ -8408,11 +8487,13 @@ "$id": "550", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "551", "name": "put", + "isExactName": false, "resourceName": "ModelWithRenamedAttributeValue", "accessibility": "public", "parameters": [ @@ -8583,6 +8664,7 @@ "$id": "559", "kind": "client", "name": "ModelWithNamespaceValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§6.1, §7.1 — Operations for the ModelWithNamespace type.", "methods": [ @@ -8590,11 +8672,13 @@ "$id": "560", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "561", "name": "get", + "isExactName": false, "resourceName": "ModelWithNamespaceValue", "accessibility": "public", "parameters": [ @@ -8693,11 +8777,13 @@ "$id": "564", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "565", "name": "put", + "isExactName": false, "resourceName": "ModelWithNamespaceValue", "accessibility": "public", "parameters": [ @@ -8868,6 +8954,7 @@ "$id": "573", "kind": "client", "name": "ModelWithNamespaceOnPropertiesValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§6.2, §7.2 — Operations for the ModelWithNamespaceOnProperties type.", "methods": [ @@ -8875,11 +8962,13 @@ "$id": "574", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "575", "name": "get", + "isExactName": false, "resourceName": "ModelWithNamespaceOnPropertiesValue", "accessibility": "public", "parameters": [ @@ -8978,11 +9067,13 @@ "$id": "578", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "579", "name": "put", + "isExactName": false, "resourceName": "ModelWithNamespaceOnPropertiesValue", "accessibility": "public", "parameters": [ @@ -9153,6 +9244,7 @@ "$id": "587", "kind": "client", "name": "ModelWithTextValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "§8.1 — Operations for the ModelWithText type.", "methods": [ @@ -9160,11 +9252,13 @@ "$id": "588", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "589", "name": "get", + "isExactName": false, "resourceName": "ModelWithTextValue", "accessibility": "public", "parameters": [ @@ -9263,11 +9357,13 @@ "$id": "592", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "593", "name": "put", + "isExactName": false, "resourceName": "ModelWithTextValue", "accessibility": "public", "parameters": [ @@ -9438,6 +9534,7 @@ "$id": "601", "kind": "client", "name": "ModelWithOptionalFieldValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Operations for the ModelWithOptionalField type.", "methods": [ @@ -9445,11 +9542,13 @@ "$id": "602", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "603", "name": "get", + "isExactName": false, "resourceName": "ModelWithOptionalFieldValue", "accessibility": "public", "parameters": [ @@ -9548,11 +9647,13 @@ "$id": "606", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "607", "name": "put", + "isExactName": false, "resourceName": "ModelWithOptionalFieldValue", "accessibility": "public", "parameters": [ @@ -9723,6 +9824,7 @@ "$id": "615", "kind": "client", "name": "ModelWithEmptyArrayValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Operations for the ModelWithEmptyArray type.", "methods": [ @@ -9730,11 +9832,13 @@ "$id": "616", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "617", "name": "get", + "isExactName": false, "resourceName": "ModelWithEmptyArrayValue", "accessibility": "public", "parameters": [ @@ -9833,11 +9937,13 @@ "$id": "620", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "621", "name": "put", + "isExactName": false, "resourceName": "ModelWithEmptyArrayValue", "accessibility": "public", "parameters": [ @@ -10008,6 +10114,7 @@ "$id": "629", "kind": "client", "name": "ModelWithDictionaryValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Operations for the ModelWithDictionary type.", "methods": [ @@ -10015,11 +10122,13 @@ "$id": "630", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "631", "name": "get", + "isExactName": false, "resourceName": "ModelWithDictionaryValue", "accessibility": "public", "parameters": [ @@ -10118,11 +10227,13 @@ "$id": "634", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "635", "name": "put", + "isExactName": false, "resourceName": "ModelWithDictionaryValue", "accessibility": "public", "parameters": [ @@ -10293,6 +10404,7 @@ "$id": "643", "kind": "client", "name": "ModelWithEncodedNamesValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Operations for the ModelWithEncodedNames type.", "methods": [ @@ -10300,11 +10412,13 @@ "$id": "644", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "645", "name": "get", + "isExactName": false, "resourceName": "ModelWithEncodedNamesValue", "accessibility": "public", "parameters": [ @@ -10403,11 +10517,13 @@ "$id": "648", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "649", "name": "put", + "isExactName": false, "resourceName": "ModelWithEncodedNamesValue", "accessibility": "public", "parameters": [ @@ -10578,6 +10694,7 @@ "$id": "657", "kind": "client", "name": "ModelWithEnumValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Operations for the ModelWithEnum type.", "methods": [ @@ -10585,11 +10702,13 @@ "$id": "658", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "659", "name": "get", + "isExactName": false, "resourceName": "ModelWithEnumValue", "accessibility": "public", "parameters": [ @@ -10688,11 +10807,13 @@ "$id": "662", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "663", "name": "put", + "isExactName": false, "resourceName": "ModelWithEnumValue", "accessibility": "public", "parameters": [ @@ -10863,6 +10984,7 @@ "$id": "671", "kind": "client", "name": "ModelWithDatetimeValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Operations for the ModelWithDatetime type.", "methods": [ @@ -10870,11 +10992,13 @@ "$id": "672", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "673", "name": "get", + "isExactName": false, "resourceName": "ModelWithDatetimeValue", "accessibility": "public", "parameters": [ @@ -10973,11 +11097,13 @@ "$id": "676", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "677", "name": "put", + "isExactName": false, "resourceName": "ModelWithDatetimeValue", "accessibility": "public", "parameters": [ @@ -11148,6 +11274,7 @@ "$id": "685", "kind": "client", "name": "XmlErrorValue", + "isExactName": false, "namespace": "Payload.Xml", "doc": "Operations that return an error response in XML format.", "methods": [ @@ -11155,11 +11282,13 @@ "$id": "686", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "687", "name": "get", + "isExactName": false, "resourceName": "XmlErrorValue", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json index 818c9696e22..fdaf8979e56 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v1/tspCodeModel.json @@ -49,6 +49,7 @@ "$id": "4", "kind": "client", "name": "ResiliencyServiceDrivenClient", + "isExactName": false, "namespace": "Resiliency.ServiceDriven", "doc": "Test that we can grow up a service spec and service deployment into a multi-versioned service with full client support.", "methods": [ @@ -56,6 +57,7 @@ "$id": "5", "kind": "basic", "name": "fromNone", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -64,6 +66,7 @@ "operation": { "$id": "6", "name": "fromNone", + "isExactName": false, "resourceName": "AddOptionalParam", "doc": "Test that currently accepts no parameters, will be updated in next spec to accept a new optional parameter as well", "accessibility": "public", @@ -99,6 +102,7 @@ "$id": "7", "kind": "basic", "name": "fromOneRequired", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -107,6 +111,7 @@ "operation": { "$id": "8", "name": "fromOneRequired", + "isExactName": false, "resourceName": "AddOptionalParam", "doc": "Test that currently accepts one required parameter, will be updated in next spec to accept a new optional parameter as well", "accessibility": "public", @@ -194,6 +199,7 @@ "$id": "13", "kind": "basic", "name": "fromOneOptional", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -202,6 +208,7 @@ "operation": { "$id": "14", "name": "fromOneOptional", + "isExactName": false, "resourceName": "AddOptionalParam", "doc": "Test that currently accepts one optional parameter, will be updated in next spec to accept a new optional parameter as well", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json index be73f0e9096..2537f2dcda3 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/resiliency/srv-driven/v2/tspCodeModel.json @@ -65,6 +65,7 @@ "$id": "5", "kind": "client", "name": "ResiliencyServiceDrivenClient", + "isExactName": false, "namespace": "Resiliency.ServiceDriven", "doc": "Test that we can grow up a service spec and service deployment into a multi-versioned service with full client support.\n\nThere are three concepts that should be clarified:\n1. Client spec version: refers to the spec that the client is generated from. 'v1' is a client generated from old.tsp and 'v2' is a client generated from main.tsp.\n2. Service deployment version: refers to a deployment version of the service. 'v1' represents the initial deployment of the service with a single api version. 'v2' represents the new deployment of a service with multiple api versions\n3. Api version: The initial deployment of the service only supports api version 'v1'. The new deployment of the service supports api versions 'v1' and 'v2'.\n\nWe test the following configurations from this service spec:\n- A client generated from the second service spec can call the second deployment of a service with api version v1\n- A client generated from the second service spec can call the second deployment of a service with api version v2", "methods": [ @@ -72,6 +73,7 @@ "$id": "6", "kind": "basic", "name": "addOperation", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v2" @@ -80,6 +82,7 @@ "operation": { "$id": "7", "name": "addOperation", + "isExactName": false, "resourceName": "ServiceDriven", "doc": "Added operation", "accessibility": "public", @@ -115,6 +118,7 @@ "$id": "8", "kind": "basic", "name": "fromNone", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -124,6 +128,7 @@ "operation": { "$id": "9", "name": "fromNone", + "isExactName": false, "resourceName": "AddOptionalParam", "doc": "Test that grew up from accepting no parameters to an optional input parameter", "accessibility": "public", @@ -211,6 +216,7 @@ "$id": "14", "kind": "basic", "name": "fromOneRequired", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -220,6 +226,7 @@ "operation": { "$id": "15", "name": "fromOneRequired", + "isExactName": false, "resourceName": "AddOptionalParam", "doc": "Operation that grew up from accepting one required parameter to accepting a required parameter and an optional parameter.", "accessibility": "public", @@ -357,6 +364,7 @@ "$id": "24", "kind": "basic", "name": "fromOneOptional", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -366,6 +374,7 @@ "operation": { "$id": "25", "name": "fromOneOptional", + "isExactName": false, "resourceName": "AddOptionalParam", "doc": "Tests that we can grow up an operation from accepting one optional parameter to accepting two optional parameters.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json index a3cba7aadfb..b78b76230e9 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/response/status-code-range/tspCodeModel.json @@ -234,6 +234,7 @@ "$id": "17", "kind": "client", "name": "StatusCodeRangeClient", + "isExactName": false, "namespace": "Response.StatusCodeRange", "doc": "Test for range of status code.", "methods": [ @@ -241,11 +242,13 @@ "$id": "18", "kind": "basic", "name": "errorResponseStatusCodeInRange", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "19", "name": "errorResponseStatusCodeInRange", + "isExactName": false, "resourceName": "StatusCodeRange", "accessibility": "public", "parameters": [], @@ -280,11 +283,13 @@ "$id": "20", "kind": "basic", "name": "errorResponseStatusCode404", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "21", "name": "errorResponseStatusCode404", + "isExactName": false, "resourceName": "StatusCodeRange", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json index 938f8ba4d25..ff2b3abfb4b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/routes/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "RoutesClient", + "isExactName": false, "namespace": "Routes", "doc": "Define scenario in building the http route/uri", "methods": [ @@ -16,11 +17,13 @@ "$id": "2", "kind": "basic", "name": "fixed", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "3", "name": "fixed", + "isExactName": false, "resourceName": "Routes", "accessibility": "public", "parameters": [], @@ -94,17 +97,20 @@ "$id": "7", "kind": "client", "name": "PathParameters", + "isExactName": false, "namespace": "Routes.PathParameters", "methods": [ { "$id": "8", "kind": "basic", "name": "templateOnly", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "9", "name": "templateOnly", + "isExactName": false, "resourceName": "PathParameters", "accessibility": "public", "parameters": [ @@ -192,11 +198,13 @@ "$id": "14", "kind": "basic", "name": "explicit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "15", "name": "explicit", + "isExactName": false, "resourceName": "PathParameters", "accessibility": "public", "parameters": [ @@ -284,11 +292,13 @@ "$id": "20", "kind": "basic", "name": "annotationOnly", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "21", "name": "annotationOnly", + "isExactName": false, "resourceName": "PathParameters", "accessibility": "public", "parameters": [ @@ -418,17 +428,20 @@ "$id": "29", "kind": "client", "name": "ReservedExpansion", + "isExactName": false, "namespace": "Routes.PathParameters.ReservedExpansion", "methods": [ { "$id": "30", "kind": "basic", "name": "template", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "31", "name": "template", + "isExactName": false, "resourceName": "ReservedExpansion", "accessibility": "public", "parameters": [ @@ -516,11 +529,13 @@ "$id": "36", "kind": "basic", "name": "annotation", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "37", "name": "annotation", + "isExactName": false, "resourceName": "ReservedExpansion", "accessibility": "public", "parameters": [ @@ -651,6 +666,7 @@ "$id": "45", "kind": "client", "name": "SimpleExpansion", + "isExactName": false, "namespace": "Routes.PathParameters.SimpleExpansion", "methods": [], "parameters": [ @@ -698,17 +714,20 @@ "$id": "49", "kind": "client", "name": "Standard", + "isExactName": false, "namespace": "Routes.PathParameters.SimpleExpansion.Standard", "methods": [ { "$id": "50", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "51", "name": "primitive", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -796,11 +815,13 @@ "$id": "56", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "57", "name": "array", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -891,11 +912,13 @@ "$id": "62", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "63", "name": "record", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -1034,17 +1057,20 @@ "$id": "72", "kind": "client", "name": "Explode", + "isExactName": false, "namespace": "Routes.PathParameters.SimpleExpansion.Explode", "methods": [ { "$id": "73", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "74", "name": "primitive", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -1132,11 +1158,13 @@ "$id": "79", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "80", "name": "array", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -1216,11 +1244,13 @@ "$id": "83", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "84", "name": "record", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -1346,6 +1376,7 @@ "$id": "90", "kind": "client", "name": "PathExpansion", + "isExactName": false, "namespace": "Routes.PathParameters.PathExpansion", "methods": [], "parameters": [ @@ -1393,17 +1424,20 @@ "$id": "94", "kind": "client", "name": "Standard", + "isExactName": false, "namespace": "Routes.PathParameters.PathExpansion.Standard", "methods": [ { "$id": "95", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "96", "name": "primitive", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -1491,11 +1525,13 @@ "$id": "101", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "102", "name": "array", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -1575,11 +1611,13 @@ "$id": "105", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "106", "name": "record", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -1702,17 +1740,20 @@ "$id": "112", "kind": "client", "name": "Explode", + "isExactName": false, "namespace": "Routes.PathParameters.PathExpansion.Explode", "methods": [ { "$id": "113", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "114", "name": "primitive", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -1800,11 +1841,13 @@ "$id": "119", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "120", "name": "array", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -1884,11 +1927,13 @@ "$id": "123", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "124", "name": "record", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -2014,6 +2059,7 @@ "$id": "130", "kind": "client", "name": "LabelExpansion", + "isExactName": false, "namespace": "Routes.PathParameters.LabelExpansion", "methods": [], "parameters": [ @@ -2061,17 +2107,20 @@ "$id": "134", "kind": "client", "name": "Standard", + "isExactName": false, "namespace": "Routes.PathParameters.LabelExpansion.Standard", "methods": [ { "$id": "135", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "136", "name": "primitive", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -2159,11 +2208,13 @@ "$id": "141", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "142", "name": "array", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -2243,11 +2294,13 @@ "$id": "145", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "146", "name": "record", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -2370,17 +2423,20 @@ "$id": "152", "kind": "client", "name": "Explode", + "isExactName": false, "namespace": "Routes.PathParameters.LabelExpansion.Explode", "methods": [ { "$id": "153", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "154", "name": "primitive", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -2468,11 +2524,13 @@ "$id": "159", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "160", "name": "array", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -2552,11 +2610,13 @@ "$id": "163", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "164", "name": "record", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -2682,6 +2742,7 @@ "$id": "170", "kind": "client", "name": "MatrixExpansion", + "isExactName": false, "namespace": "Routes.PathParameters.MatrixExpansion", "methods": [], "parameters": [ @@ -2729,17 +2790,20 @@ "$id": "174", "kind": "client", "name": "Standard", + "isExactName": false, "namespace": "Routes.PathParameters.MatrixExpansion.Standard", "methods": [ { "$id": "175", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "176", "name": "primitive", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -2827,11 +2891,13 @@ "$id": "181", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "182", "name": "array", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -2911,11 +2977,13 @@ "$id": "185", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "186", "name": "record", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -3038,17 +3106,20 @@ "$id": "192", "kind": "client", "name": "Explode", + "isExactName": false, "namespace": "Routes.PathParameters.MatrixExpansion.Explode", "methods": [ { "$id": "193", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "194", "name": "primitive", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -3136,11 +3207,13 @@ "$id": "199", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "200", "name": "array", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -3220,11 +3293,13 @@ "$id": "203", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "204", "name": "record", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -3353,17 +3428,20 @@ "$id": "210", "kind": "client", "name": "QueryParameters", + "isExactName": false, "namespace": "Routes.QueryParameters", "methods": [ { "$id": "211", "kind": "basic", "name": "templateOnly", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "212", "name": "templateOnly", + "isExactName": false, "resourceName": "QueryParameters", "accessibility": "public", "parameters": [ @@ -3448,11 +3526,13 @@ "$id": "217", "kind": "basic", "name": "explicit", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "218", "name": "explicit", + "isExactName": false, "resourceName": "QueryParameters", "accessibility": "public", "parameters": [ @@ -3537,11 +3617,13 @@ "$id": "223", "kind": "basic", "name": "annotationOnly", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "224", "name": "annotationOnly", + "isExactName": false, "resourceName": "QueryParameters", "accessibility": "public", "parameters": [ @@ -3668,6 +3750,7 @@ "$id": "232", "kind": "client", "name": "QueryExpansion", + "isExactName": false, "namespace": "Routes.QueryParameters.QueryExpansion", "methods": [], "parameters": [ @@ -3715,17 +3798,20 @@ "$id": "236", "kind": "client", "name": "Standard", + "isExactName": false, "namespace": "Routes.QueryParameters.QueryExpansion.Standard", "methods": [ { "$id": "237", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "238", "name": "primitive", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -3810,11 +3896,13 @@ "$id": "243", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "244", "name": "array", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -3891,11 +3979,13 @@ "$id": "247", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "248", "name": "record", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -4015,17 +4105,20 @@ "$id": "254", "kind": "client", "name": "Explode", + "isExactName": false, "namespace": "Routes.QueryParameters.QueryExpansion.Explode", "methods": [ { "$id": "255", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "256", "name": "primitive", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -4110,11 +4203,13 @@ "$id": "261", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "262", "name": "array", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -4191,11 +4286,13 @@ "$id": "265", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "266", "name": "record", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -4318,6 +4415,7 @@ "$id": "272", "kind": "client", "name": "QueryContinuation", + "isExactName": false, "namespace": "Routes.QueryParameters.QueryContinuation", "methods": [], "parameters": [ @@ -4365,17 +4463,20 @@ "$id": "276", "kind": "client", "name": "Standard", + "isExactName": false, "namespace": "Routes.QueryParameters.QueryContinuation.Standard", "methods": [ { "$id": "277", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "278", "name": "primitive", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -4460,11 +4561,13 @@ "$id": "283", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "284", "name": "array", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -4541,11 +4644,13 @@ "$id": "287", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "288", "name": "record", + "isExactName": false, "resourceName": "Standard", "accessibility": "public", "parameters": [ @@ -4665,17 +4770,20 @@ "$id": "294", "kind": "client", "name": "Explode", + "isExactName": false, "namespace": "Routes.QueryParameters.QueryContinuation.Explode", "methods": [ { "$id": "295", "kind": "basic", "name": "primitive", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "296", "name": "primitive", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -4760,11 +4868,13 @@ "$id": "301", "kind": "basic", "name": "array", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "302", "name": "array", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -4841,11 +4951,13 @@ "$id": "305", "kind": "basic", "name": "record", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "306", "name": "record", + "isExactName": false, "resourceName": "Explode", "accessibility": "public", "parameters": [ @@ -4971,17 +5083,20 @@ "$id": "312", "kind": "client", "name": "InInterface", + "isExactName": false, "namespace": "Routes", "methods": [ { "$id": "313", "kind": "basic", "name": "fixed", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "314", "name": "fixed", + "isExactName": false, "resourceName": "InInterface", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json index 8a00bcad202..68c5c22f3a7 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/serialization/encoded-name/json/tspCodeModel.json @@ -89,6 +89,7 @@ "$id": "8", "kind": "client", "name": "JsonClient", + "isExactName": false, "namespace": "Serialization.EncodedName.Json", "doc": "Encoded names", "methods": [], @@ -134,17 +135,20 @@ "$id": "12", "kind": "client", "name": "Property", + "isExactName": false, "namespace": "Serialization.EncodedName.Json.Property", "methods": [ { "$id": "13", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "14", "name": "send", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ @@ -274,11 +278,13 @@ "$id": "19", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "get", + "isExactName": false, "resourceName": "Property", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json index 262b06dab2e..18589a240d7 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/endpoint/not-defined/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "NotDefinedClient", + "isExactName": false, "namespace": "Server.Endpoint.NotDefined", "doc": "Illustrates server doesn't define endpoint. Client should automatically add an endpoint to let user pass in.", "methods": [ @@ -16,11 +17,13 @@ "$id": "2", "kind": "basic", "name": "valid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "3", "name": "valid", + "isExactName": false, "resourceName": "NotDefined", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json index a7b3689879b..bce8cca0737 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/multiple/tspCodeModel.json @@ -49,12 +49,14 @@ "$id": "4", "kind": "client", "name": "MultipleClient", + "isExactName": false, "namespace": "Server.Path.Multiple", "methods": [ { "$id": "5", "kind": "basic", "name": "noOperationParams", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1.0" @@ -62,6 +64,7 @@ "operation": { "$id": "6", "name": "noOperationParams", + "isExactName": false, "resourceName": "Multiple", "accessibility": "public", "parameters": [], @@ -96,6 +99,7 @@ "$id": "7", "kind": "basic", "name": "withOperationPathParam", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1.0" @@ -103,6 +107,7 @@ "operation": { "$id": "8", "name": "withOperationPathParam", + "isExactName": false, "resourceName": "Multiple", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json index faadd94a3ed..2da351e38ba 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/path/single/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "SingleClient", + "isExactName": false, "namespace": "Server.Path.Single", "doc": "Illustrates server with a single path parameter @server", "methods": [ @@ -16,11 +17,13 @@ "$id": "2", "kind": "basic", "name": "myOp", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "3", "name": "myOp", + "isExactName": false, "resourceName": "Single", "accessibility": "public", "parameters": [], diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json index e0a4b103f6a..62793d17d5d 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/not-versioned/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "NotVersionedClient", + "isExactName": false, "namespace": "Server.Versions.NotVersioned", "doc": "Illustrates not-versioned server.", "methods": [ @@ -16,11 +17,13 @@ "$id": "2", "kind": "basic", "name": "withoutApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "3", "name": "withoutApiVersion", + "isExactName": false, "resourceName": "NotVersioned", "accessibility": "public", "parameters": [], @@ -55,11 +58,13 @@ "$id": "4", "kind": "basic", "name": "withQueryApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "5", "name": "withQueryApiVersion", + "isExactName": false, "resourceName": "NotVersioned", "accessibility": "public", "parameters": [ @@ -144,11 +149,13 @@ "$id": "10", "kind": "basic", "name": "withPathApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "11", "name": "withPathApiVersion", + "isExactName": false, "resourceName": "NotVersioned", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json index 810d8a504b5..dff66b6e8f2 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/server/versions/versioned/tspCodeModel.json @@ -65,6 +65,7 @@ "$id": "5", "kind": "client", "name": "VersionedClient", + "isExactName": false, "namespace": "Server.Versions.Versioned", "doc": "Illustrates versioned server.", "methods": [ @@ -72,6 +73,7 @@ "$id": "6", "kind": "basic", "name": "withoutApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2021-01-01-preview", @@ -80,6 +82,7 @@ "operation": { "$id": "7", "name": "withoutApiVersion", + "isExactName": false, "resourceName": "Versioned", "accessibility": "public", "parameters": [], @@ -114,6 +117,7 @@ "$id": "8", "kind": "basic", "name": "withQueryApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2021-01-01-preview", @@ -122,6 +126,7 @@ "operation": { "$id": "9", "name": "withQueryApiVersion", + "isExactName": false, "resourceName": "Versioned", "accessibility": "public", "parameters": [ @@ -220,6 +225,7 @@ "$id": "16", "kind": "basic", "name": "withPathApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2021-01-01-preview", @@ -228,6 +234,7 @@ "operation": { "$id": "17", "name": "withPathApiVersion", + "isExactName": false, "resourceName": "Versioned", "accessibility": "public", "parameters": [ @@ -301,6 +308,7 @@ "$id": "21", "kind": "basic", "name": "withQueryOldApiVersion", + "isExactName": false, "accessibility": "public", "apiVersions": [ "2021-01-01-preview", @@ -309,6 +317,7 @@ "operation": { "$id": "22", "name": "withQueryOldApiVersion", + "isExactName": false, "resourceName": "Versioned", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json index a9fbc69728d..2faa74473f0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/service/multiple-services/tspCodeModel.json @@ -111,6 +111,7 @@ "$id": "9", "kind": "client", "name": "ServiceAClient", + "isExactName": false, "namespace": "Service.MultipleServices.ServiceA", "doc": "First service definition in a multiple-services package with versioning.\nWithout explicit `@client`, this should create a separate root client (`ServiceAClient`).", "methods": [], @@ -186,12 +187,14 @@ "$id": "15", "kind": "client", "name": "ASubNamespace", + "isExactName": false, "namespace": "Service.MultipleServices.ServiceA.SubNamespace", "methods": [ { "$id": "16", "kind": "basic", "name": "subOpA", + "isExactName": false, "accessibility": "public", "apiVersions": [ "av1", @@ -200,6 +203,7 @@ "operation": { "$id": "17", "name": "subOpA", + "isExactName": false, "resourceName": "SubNamespace", "accessibility": "public", "parameters": [ @@ -315,12 +319,14 @@ "$id": "23", "kind": "client", "name": "AOperations", + "isExactName": false, "namespace": "Service.MultipleServices.ServiceA", "methods": [ { "$id": "24", "kind": "basic", "name": "opA", + "isExactName": false, "accessibility": "public", "apiVersions": [ "av1", @@ -329,6 +335,7 @@ "operation": { "$id": "25", "name": "opA", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [ @@ -471,6 +478,7 @@ "$id": "33", "kind": "client", "name": "ServiceBClient", + "isExactName": false, "namespace": "Service.MultipleServices.ServiceB", "doc": "Second service definition in a multiple-services package with versioning.\nWithout explicit `@client`, this should create a separate root client (`ServiceBClient`).", "methods": [], @@ -546,12 +554,14 @@ "$id": "39", "kind": "client", "name": "BSubNamespace", + "isExactName": false, "namespace": "Service.MultipleServices.ServiceB.SubNamespace", "methods": [ { "$id": "40", "kind": "basic", "name": "subOpB", + "isExactName": false, "accessibility": "public", "apiVersions": [ "bv1", @@ -560,6 +570,7 @@ "operation": { "$id": "41", "name": "subOpB", + "isExactName": false, "resourceName": "SubNamespace", "accessibility": "public", "parameters": [ @@ -675,12 +686,14 @@ "$id": "47", "kind": "client", "name": "BOperations", + "isExactName": false, "namespace": "Service.MultipleServices.ServiceB", "methods": [ { "$id": "48", "kind": "basic", "name": "opB", + "isExactName": false, "accessibility": "public", "apiVersions": [ "bv1", @@ -689,6 +702,7 @@ "operation": { "$id": "49", "name": "opB", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json index c2a4b27b91d..fae16d36ecd 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/conditional-request/tspCodeModel.json @@ -9,6 +9,7 @@ "$id": "1", "kind": "client", "name": "ConditionalRequestClient", + "isExactName": false, "namespace": "SpecialHeaders.ConditionalRequest", "doc": "Illustrates conditional request headers", "methods": [ @@ -16,12 +17,14 @@ "$id": "2", "kind": "basic", "name": "postIfMatch", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check when only If-Match in header is defined.", "operation": { "$id": "3", "name": "postIfMatch", + "isExactName": false, "resourceName": "ConditionalRequest", "doc": "Check when only If-Match in header is defined.", "accessibility": "public", @@ -109,12 +112,14 @@ "$id": "8", "kind": "basic", "name": "postIfNoneMatch", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check when only If-None-Match in header is defined.", "operation": { "$id": "9", "name": "postIfNoneMatch", + "isExactName": false, "resourceName": "ConditionalRequest", "doc": "Check when only If-None-Match in header is defined.", "accessibility": "public", @@ -202,12 +207,14 @@ "$id": "14", "kind": "basic", "name": "headIfModifiedSince", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check when only If-Modified-Since in header is defined.", "operation": { "$id": "15", "name": "headIfModifiedSince", + "isExactName": false, "resourceName": "ConditionalRequest", "doc": "Check when only If-Modified-Since in header is defined.", "accessibility": "public", @@ -311,12 +318,14 @@ "$id": "22", "kind": "basic", "name": "postIfUnmodifiedSince", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check when only If-Unmodified-Since in header is defined.", "operation": { "$id": "23", "name": "postIfUnmodifiedSince", + "isExactName": false, "resourceName": "ConditionalRequest", "doc": "Check when only If-Unmodified-Since in header is defined.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json index 33c5c78cbe6..58c63d7ee6c 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-headers/repeatability/tspCodeModel.json @@ -59,6 +59,7 @@ "$id": "5", "kind": "client", "name": "RepeatabilityClient", + "isExactName": false, "namespace": "SpecialHeaders.Repeatability", "doc": "Illustrates OASIS repeatability headers", "methods": [ @@ -66,12 +67,14 @@ "$id": "6", "kind": "basic", "name": "immediateSuccess", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Check we recognize Repeatability-Request-ID and Repeatability-First-Sent.", "operation": { "$id": "7", "name": "immediateSuccess", + "isExactName": false, "resourceName": "Repeatability", "doc": "Check we recognize Repeatability-Request-ID and Repeatability-First-Sent.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json index 4cb1aaa4c50..dea6369ae34 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/special-words/tspCodeModel.json @@ -3025,6 +3025,7 @@ "$id": "248", "kind": "client", "name": "SpecialWordsClient", + "isExactName": false, "namespace": "SpecialWords", "doc": "Scenarios to verify that reserved words can be used in service and generators will handle it appropriately.\n\nCurrent list of special words\n```txt\nand\nas\nassert\nasync\nawait\nbreak\nclass\nconstructor\ncontinue\ndef\ndel\nelif\nelse\nexcept\nexec\nfinally\nfor\nfrom\nglobal\nif\nimport\nin\nis\nlambda\nlist\nnot\nor\npass\nraise\nreturn\ntry\nwhile\nwith\nyield\n```", "methods": [], @@ -3070,6 +3071,7 @@ "$id": "252", "kind": "client", "name": "Models", + "isExactName": false, "namespace": "SpecialWords.Models", "doc": "Verify model names", "methods": [ @@ -3077,11 +3079,13 @@ "$id": "253", "kind": "basic", "name": "withAnd", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "254", "name": "withAnd", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -3211,11 +3215,13 @@ "$id": "259", "kind": "basic", "name": "withAs", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "260", "name": "withAs", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -3345,11 +3351,13 @@ "$id": "265", "kind": "basic", "name": "withAssert", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "266", "name": "withAssert", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -3479,11 +3487,13 @@ "$id": "271", "kind": "basic", "name": "withAsync", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "272", "name": "withAsync", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -3613,11 +3623,13 @@ "$id": "277", "kind": "basic", "name": "withAwait", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "278", "name": "withAwait", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -3747,11 +3759,13 @@ "$id": "283", "kind": "basic", "name": "withBreak", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "284", "name": "withBreak", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -3881,11 +3895,13 @@ "$id": "289", "kind": "basic", "name": "withClass", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "290", "name": "withClass", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4015,11 +4031,13 @@ "$id": "295", "kind": "basic", "name": "withConstructor", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "296", "name": "withConstructor", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4149,11 +4167,13 @@ "$id": "301", "kind": "basic", "name": "withContinue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "302", "name": "withContinue", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4283,11 +4303,13 @@ "$id": "307", "kind": "basic", "name": "withDef", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "308", "name": "withDef", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4417,11 +4439,13 @@ "$id": "313", "kind": "basic", "name": "withDel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "314", "name": "withDel", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4551,11 +4575,13 @@ "$id": "319", "kind": "basic", "name": "withElif", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "320", "name": "withElif", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4685,11 +4711,13 @@ "$id": "325", "kind": "basic", "name": "withElse", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "326", "name": "withElse", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4819,11 +4847,13 @@ "$id": "331", "kind": "basic", "name": "withExcept", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "332", "name": "withExcept", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -4953,11 +4983,13 @@ "$id": "337", "kind": "basic", "name": "withExec", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "338", "name": "withExec", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -5087,11 +5119,13 @@ "$id": "343", "kind": "basic", "name": "withFinally", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "344", "name": "withFinally", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -5221,11 +5255,13 @@ "$id": "349", "kind": "basic", "name": "withFor", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "350", "name": "withFor", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -5355,11 +5391,13 @@ "$id": "355", "kind": "basic", "name": "withFrom", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "356", "name": "withFrom", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -5489,11 +5527,13 @@ "$id": "361", "kind": "basic", "name": "withGlobal", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "362", "name": "withGlobal", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -5623,11 +5663,13 @@ "$id": "367", "kind": "basic", "name": "withIf", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "368", "name": "withIf", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -5757,11 +5799,13 @@ "$id": "373", "kind": "basic", "name": "withImport", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "374", "name": "withImport", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -5891,11 +5935,13 @@ "$id": "379", "kind": "basic", "name": "withIn", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "380", "name": "withIn", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6025,11 +6071,13 @@ "$id": "385", "kind": "basic", "name": "withIs", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "386", "name": "withIs", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6159,11 +6207,13 @@ "$id": "391", "kind": "basic", "name": "withLambda", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "392", "name": "withLambda", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6293,11 +6343,13 @@ "$id": "397", "kind": "basic", "name": "withNot", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "398", "name": "withNot", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6427,11 +6479,13 @@ "$id": "403", "kind": "basic", "name": "withOr", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "404", "name": "withOr", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6561,11 +6615,13 @@ "$id": "409", "kind": "basic", "name": "withPass", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "410", "name": "withPass", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6695,11 +6751,13 @@ "$id": "415", "kind": "basic", "name": "withRaise", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "416", "name": "withRaise", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6829,11 +6887,13 @@ "$id": "421", "kind": "basic", "name": "withReturn", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "422", "name": "withReturn", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -6963,11 +7023,13 @@ "$id": "427", "kind": "basic", "name": "withTry", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "428", "name": "withTry", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -7097,11 +7159,13 @@ "$id": "433", "kind": "basic", "name": "withWhile", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "434", "name": "withWhile", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -7231,11 +7295,13 @@ "$id": "439", "kind": "basic", "name": "withWith", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "440", "name": "withWith", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -7365,11 +7431,13 @@ "$id": "445", "kind": "basic", "name": "withYield", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "446", "name": "withYield", + "isExactName": false, "resourceName": "Models", "accessibility": "public", "parameters": [ @@ -7542,6 +7610,7 @@ "$id": "454", "kind": "client", "name": "ModelProperties", + "isExactName": false, "namespace": "SpecialWords.ModelProperties", "doc": "Verify model names", "methods": [ @@ -7549,11 +7618,13 @@ "$id": "455", "kind": "basic", "name": "sameAsModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "456", "name": "sameAsModel", + "isExactName": false, "resourceName": "ModelProperties", "accessibility": "public", "parameters": [ @@ -7683,11 +7754,13 @@ "$id": "461", "kind": "basic", "name": "dictMethods", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "462", "name": "dictMethods", + "isExactName": false, "resourceName": "ModelProperties", "accessibility": "public", "parameters": [ @@ -7817,11 +7890,13 @@ "$id": "467", "kind": "basic", "name": "withList", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "468", "name": "withList", + "isExactName": false, "resourceName": "ModelProperties", "accessibility": "public", "parameters": [ @@ -7994,6 +8069,7 @@ "$id": "476", "kind": "client", "name": "ReservedOperationBodyParams", + "isExactName": false, "namespace": "SpecialWords.ReservedOperationBodyParams", "doc": "Verify that operation parameters whose names match Python Mapping protocol methods\n(e.g., items, keys, values) are sent with the original name on the wire, not mangled.", "methods": [ @@ -8001,11 +8077,13 @@ "$id": "477", "kind": "basic", "name": "withItems", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "478", "name": "withItems", + "isExactName": false, "resourceName": "ReservedOperationBodyParams", "accessibility": "public", "parameters": [ @@ -8178,6 +8256,7 @@ "$id": "486", "kind": "client", "name": "ExtensibleStrings", + "isExactName": false, "namespace": "SpecialWords.ExtensibleStrings", "doc": "Verify enum member names that are special words.", "methods": [ @@ -8185,11 +8264,13 @@ "$id": "487", "kind": "basic", "name": "putExtensibleStringValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "488", "name": "putExtensibleStringValue", + "isExactName": false, "resourceName": "ExtensibleStrings", "accessibility": "public", "parameters": [ @@ -8422,6 +8503,7 @@ "$id": "498", "kind": "client", "name": "Operations", + "isExactName": false, "namespace": "SpecialWords", "doc": "Test reserved words as operation name.", "methods": [ @@ -8429,11 +8511,13 @@ "$id": "499", "kind": "basic", "name": "and", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "500", "name": "and", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8468,11 +8552,13 @@ "$id": "501", "kind": "basic", "name": "as", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "502", "name": "as", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8507,11 +8593,13 @@ "$id": "503", "kind": "basic", "name": "assert", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "504", "name": "assert", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8546,11 +8634,13 @@ "$id": "505", "kind": "basic", "name": "async", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "506", "name": "async", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8585,11 +8675,13 @@ "$id": "507", "kind": "basic", "name": "await", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "508", "name": "await", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8624,11 +8716,13 @@ "$id": "509", "kind": "basic", "name": "break", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "510", "name": "break", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8663,11 +8757,13 @@ "$id": "511", "kind": "basic", "name": "class", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "512", "name": "class", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8702,11 +8798,13 @@ "$id": "513", "kind": "basic", "name": "constructor", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "514", "name": "constructor", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8741,11 +8839,13 @@ "$id": "515", "kind": "basic", "name": "continue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "516", "name": "continue", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8780,11 +8880,13 @@ "$id": "517", "kind": "basic", "name": "def", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "518", "name": "def", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8819,11 +8921,13 @@ "$id": "519", "kind": "basic", "name": "del", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "520", "name": "del", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8858,11 +8962,13 @@ "$id": "521", "kind": "basic", "name": "elif", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "522", "name": "elif", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8897,11 +9003,13 @@ "$id": "523", "kind": "basic", "name": "else", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "524", "name": "else", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8936,11 +9044,13 @@ "$id": "525", "kind": "basic", "name": "except", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "526", "name": "except", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -8975,11 +9085,13 @@ "$id": "527", "kind": "basic", "name": "exec", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "528", "name": "exec", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9014,11 +9126,13 @@ "$id": "529", "kind": "basic", "name": "finally", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "530", "name": "finally", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9053,11 +9167,13 @@ "$id": "531", "kind": "basic", "name": "for", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "532", "name": "for", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9092,11 +9208,13 @@ "$id": "533", "kind": "basic", "name": "from", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "534", "name": "from", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9131,11 +9249,13 @@ "$id": "535", "kind": "basic", "name": "global", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "536", "name": "global", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9170,11 +9290,13 @@ "$id": "537", "kind": "basic", "name": "if", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "538", "name": "if", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9209,11 +9331,13 @@ "$id": "539", "kind": "basic", "name": "import", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "540", "name": "import", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9248,11 +9372,13 @@ "$id": "541", "kind": "basic", "name": "in", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "542", "name": "in", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9287,11 +9413,13 @@ "$id": "543", "kind": "basic", "name": "is", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "544", "name": "is", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9326,11 +9454,13 @@ "$id": "545", "kind": "basic", "name": "lambda", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "546", "name": "lambda", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9365,11 +9495,13 @@ "$id": "547", "kind": "basic", "name": "not", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "548", "name": "not", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9404,11 +9536,13 @@ "$id": "549", "kind": "basic", "name": "or", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "550", "name": "or", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9443,11 +9577,13 @@ "$id": "551", "kind": "basic", "name": "pass", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "552", "name": "pass", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9482,11 +9618,13 @@ "$id": "553", "kind": "basic", "name": "raise", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "554", "name": "raise", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9521,11 +9659,13 @@ "$id": "555", "kind": "basic", "name": "return", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "556", "name": "return", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9560,11 +9700,13 @@ "$id": "557", "kind": "basic", "name": "try", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "558", "name": "try", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9599,11 +9741,13 @@ "$id": "559", "kind": "basic", "name": "while", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "560", "name": "while", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9638,11 +9782,13 @@ "$id": "561", "kind": "basic", "name": "with", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "562", "name": "with", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9677,11 +9823,13 @@ "$id": "563", "kind": "basic", "name": "yield", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "564", "name": "yield", + "isExactName": false, "resourceName": "Operations", "accessibility": "public", "parameters": [], @@ -9759,6 +9907,7 @@ "$id": "568", "kind": "client", "name": "Parameters", + "isExactName": false, "namespace": "SpecialWords", "doc": "Verify reserved words as parameter name.", "methods": [ @@ -9766,11 +9915,13 @@ "$id": "569", "kind": "basic", "name": "withAnd", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "570", "name": "withAnd", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -9855,11 +10006,13 @@ "$id": "575", "kind": "basic", "name": "withAs", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "576", "name": "withAs", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -9944,11 +10097,13 @@ "$id": "581", "kind": "basic", "name": "withAssert", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "582", "name": "withAssert", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10033,11 +10188,13 @@ "$id": "587", "kind": "basic", "name": "withAsync", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "588", "name": "withAsync", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10122,11 +10279,13 @@ "$id": "593", "kind": "basic", "name": "withAwait", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "594", "name": "withAwait", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10211,11 +10370,13 @@ "$id": "599", "kind": "basic", "name": "withBreak", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "600", "name": "withBreak", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10300,11 +10461,13 @@ "$id": "605", "kind": "basic", "name": "withClass", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "606", "name": "withClass", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10389,11 +10552,13 @@ "$id": "611", "kind": "basic", "name": "withConstructor", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "612", "name": "withConstructor", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10478,11 +10643,13 @@ "$id": "617", "kind": "basic", "name": "withContinue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "618", "name": "withContinue", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10567,11 +10734,13 @@ "$id": "623", "kind": "basic", "name": "withDef", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "624", "name": "withDef", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10656,11 +10825,13 @@ "$id": "629", "kind": "basic", "name": "withDel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "630", "name": "withDel", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10745,11 +10916,13 @@ "$id": "635", "kind": "basic", "name": "withElif", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "636", "name": "withElif", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10834,11 +11007,13 @@ "$id": "641", "kind": "basic", "name": "withElse", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "642", "name": "withElse", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -10923,11 +11098,13 @@ "$id": "647", "kind": "basic", "name": "withExcept", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "648", "name": "withExcept", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11012,11 +11189,13 @@ "$id": "653", "kind": "basic", "name": "withExec", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "654", "name": "withExec", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11101,11 +11280,13 @@ "$id": "659", "kind": "basic", "name": "withFinally", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "660", "name": "withFinally", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11190,11 +11371,13 @@ "$id": "665", "kind": "basic", "name": "withFor", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "666", "name": "withFor", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11279,11 +11462,13 @@ "$id": "671", "kind": "basic", "name": "withFrom", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "672", "name": "withFrom", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11368,11 +11553,13 @@ "$id": "677", "kind": "basic", "name": "withGlobal", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "678", "name": "withGlobal", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11457,11 +11644,13 @@ "$id": "683", "kind": "basic", "name": "withIf", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "684", "name": "withIf", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11546,11 +11735,13 @@ "$id": "689", "kind": "basic", "name": "withImport", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "690", "name": "withImport", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11635,11 +11826,13 @@ "$id": "695", "kind": "basic", "name": "withIn", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "696", "name": "withIn", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11724,11 +11917,13 @@ "$id": "701", "kind": "basic", "name": "withIs", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "702", "name": "withIs", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11813,11 +12008,13 @@ "$id": "707", "kind": "basic", "name": "withLambda", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "708", "name": "withLambda", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11902,11 +12099,13 @@ "$id": "713", "kind": "basic", "name": "withNot", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "714", "name": "withNot", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -11991,11 +12190,13 @@ "$id": "719", "kind": "basic", "name": "withOr", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "720", "name": "withOr", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12080,11 +12281,13 @@ "$id": "725", "kind": "basic", "name": "withPass", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "726", "name": "withPass", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12169,11 +12372,13 @@ "$id": "731", "kind": "basic", "name": "withRaise", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "732", "name": "withRaise", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12258,11 +12463,13 @@ "$id": "737", "kind": "basic", "name": "withReturn", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "738", "name": "withReturn", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12347,11 +12554,13 @@ "$id": "743", "kind": "basic", "name": "withTry", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "744", "name": "withTry", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12436,11 +12645,13 @@ "$id": "749", "kind": "basic", "name": "withWhile", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "750", "name": "withWhile", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12525,11 +12736,13 @@ "$id": "755", "kind": "basic", "name": "withWith", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "756", "name": "withWith", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12614,11 +12827,13 @@ "$id": "761", "kind": "basic", "name": "withYield", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "762", "name": "withYield", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ @@ -12703,11 +12918,13 @@ "$id": "767", "kind": "basic", "name": "withCancellationToken", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "768", "name": "withCancellationToken", + "isExactName": false, "resourceName": "Parameters", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json index 7e16388a84b..f42fe657dab 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/array/tspCodeModel.json @@ -561,6 +561,7 @@ "$id": "62", "kind": "client", "name": "ArrayClient", + "isExactName": false, "namespace": "Type.Array", "doc": "Illustrates various types of arrays.", "methods": [], @@ -606,6 +607,7 @@ "$id": "66", "kind": "client", "name": "Int32Value", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of int32 values", "methods": [ @@ -613,11 +615,13 @@ "$id": "67", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "68", "name": "get", + "isExactName": false, "resourceName": "Int32Value", "accessibility": "public", "parameters": [ @@ -719,11 +723,13 @@ "$id": "73", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "74", "name": "put", + "isExactName": false, "resourceName": "Int32Value", "accessibility": "public", "parameters": [ @@ -896,6 +902,7 @@ "$id": "82", "kind": "client", "name": "Int64Value", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of int64 values", "methods": [ @@ -903,11 +910,13 @@ "$id": "83", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "84", "name": "get", + "isExactName": false, "resourceName": "Int64Value", "accessibility": "public", "parameters": [ @@ -1009,11 +1018,13 @@ "$id": "89", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "90", "name": "put", + "isExactName": false, "resourceName": "Int64Value", "accessibility": "public", "parameters": [ @@ -1186,6 +1197,7 @@ "$id": "98", "kind": "client", "name": "BooleanValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of boolean values", "methods": [ @@ -1193,11 +1205,13 @@ "$id": "99", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "100", "name": "get", + "isExactName": false, "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ @@ -1299,11 +1313,13 @@ "$id": "105", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "106", "name": "put", + "isExactName": false, "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ @@ -1476,6 +1492,7 @@ "$id": "114", "kind": "client", "name": "StringValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of string values", "methods": [ @@ -1483,11 +1500,13 @@ "$id": "115", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "116", "name": "get", + "isExactName": false, "resourceName": "StringValue", "accessibility": "public", "parameters": [ @@ -1589,11 +1608,13 @@ "$id": "121", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "122", "name": "put", + "isExactName": false, "resourceName": "StringValue", "accessibility": "public", "parameters": [ @@ -1766,6 +1787,7 @@ "$id": "130", "kind": "client", "name": "Float32Value", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of float values", "methods": [ @@ -1773,11 +1795,13 @@ "$id": "131", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "132", "name": "get", + "isExactName": false, "resourceName": "Float32Value", "accessibility": "public", "parameters": [ @@ -1879,11 +1903,13 @@ "$id": "137", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "138", "name": "put", + "isExactName": false, "resourceName": "Float32Value", "accessibility": "public", "parameters": [ @@ -2056,6 +2082,7 @@ "$id": "146", "kind": "client", "name": "DatetimeValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of datetime values", "methods": [ @@ -2063,11 +2090,13 @@ "$id": "147", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "148", "name": "get", + "isExactName": false, "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ @@ -2177,11 +2206,13 @@ "$id": "154", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "155", "name": "put", + "isExactName": false, "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ @@ -2354,6 +2385,7 @@ "$id": "163", "kind": "client", "name": "DurationValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of duration values", "methods": [ @@ -2361,11 +2393,13 @@ "$id": "164", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "165", "name": "get", + "isExactName": false, "resourceName": "DurationValue", "accessibility": "public", "parameters": [ @@ -2475,11 +2509,13 @@ "$id": "171", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "172", "name": "put", + "isExactName": false, "resourceName": "DurationValue", "accessibility": "public", "parameters": [ @@ -2652,6 +2688,7 @@ "$id": "180", "kind": "client", "name": "UnknownValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of unknown values", "methods": [ @@ -2659,11 +2696,13 @@ "$id": "181", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "182", "name": "get", + "isExactName": false, "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ @@ -2765,11 +2804,13 @@ "$id": "187", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "188", "name": "put", + "isExactName": false, "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ @@ -2942,6 +2983,7 @@ "$id": "196", "kind": "client", "name": "ModelValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of model values", "methods": [ @@ -2949,11 +2991,13 @@ "$id": "197", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "198", "name": "get", + "isExactName": false, "resourceName": "ModelValue", "accessibility": "public", "parameters": [ @@ -3044,11 +3088,13 @@ "$id": "201", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "202", "name": "put", + "isExactName": false, "resourceName": "ModelValue", "accessibility": "public", "parameters": [ @@ -3221,6 +3267,7 @@ "$id": "210", "kind": "client", "name": "NullableFloatValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of nullable float values", "methods": [ @@ -3228,11 +3275,13 @@ "$id": "211", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "212", "name": "get", + "isExactName": false, "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ @@ -3339,11 +3388,13 @@ "$id": "218", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "219", "name": "put", + "isExactName": false, "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ @@ -3516,6 +3567,7 @@ "$id": "227", "kind": "client", "name": "NullableInt32Value", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of nullable int32 values", "methods": [ @@ -3523,11 +3575,13 @@ "$id": "228", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "229", "name": "get", + "isExactName": false, "resourceName": "NullableInt32Value", "accessibility": "public", "parameters": [ @@ -3634,11 +3688,13 @@ "$id": "235", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "236", "name": "put", + "isExactName": false, "resourceName": "NullableInt32Value", "accessibility": "public", "parameters": [ @@ -3811,6 +3867,7 @@ "$id": "244", "kind": "client", "name": "NullableBooleanValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of nullable boolean values", "methods": [ @@ -3818,11 +3875,13 @@ "$id": "245", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "246", "name": "get", + "isExactName": false, "resourceName": "NullableBooleanValue", "accessibility": "public", "parameters": [ @@ -3929,11 +3988,13 @@ "$id": "252", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "253", "name": "put", + "isExactName": false, "resourceName": "NullableBooleanValue", "accessibility": "public", "parameters": [ @@ -4106,6 +4167,7 @@ "$id": "261", "kind": "client", "name": "NullableStringValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of nullable string values", "methods": [ @@ -4113,11 +4175,13 @@ "$id": "262", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "263", "name": "get", + "isExactName": false, "resourceName": "NullableStringValue", "accessibility": "public", "parameters": [ @@ -4224,11 +4288,13 @@ "$id": "269", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "270", "name": "put", + "isExactName": false, "resourceName": "NullableStringValue", "accessibility": "public", "parameters": [ @@ -4401,6 +4467,7 @@ "$id": "278", "kind": "client", "name": "NullableModelValue", + "isExactName": false, "namespace": "Type.Array", "doc": "Array of nullable model values", "methods": [ @@ -4408,11 +4475,13 @@ "$id": "279", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "280", "name": "get", + "isExactName": false, "resourceName": "NullableModelValue", "accessibility": "public", "parameters": [ @@ -4515,11 +4584,13 @@ "$id": "285", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "286", "name": "put", + "isExactName": false, "resourceName": "NullableModelValue", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json index d8109333bc7..78a83b29278 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/dictionary/tspCodeModel.json @@ -464,6 +464,7 @@ "$id": "51", "kind": "client", "name": "DictionaryClient", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Illustrates various of dictionaries.", "methods": [], @@ -509,6 +510,7 @@ "$id": "55", "kind": "client", "name": "Int32Value", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of int32 values", "methods": [ @@ -516,11 +518,13 @@ "$id": "56", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "57", "name": "get", + "isExactName": false, "resourceName": "Int32Value", "accessibility": "public", "parameters": [ @@ -627,11 +631,13 @@ "$id": "63", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "64", "name": "put", + "isExactName": false, "resourceName": "Int32Value", "accessibility": "public", "parameters": [ @@ -804,6 +810,7 @@ "$id": "72", "kind": "client", "name": "Int64Value", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of int64 values", "methods": [ @@ -811,11 +818,13 @@ "$id": "73", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "74", "name": "get", + "isExactName": false, "resourceName": "Int64Value", "accessibility": "public", "parameters": [ @@ -922,11 +931,13 @@ "$id": "80", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "81", "name": "put", + "isExactName": false, "resourceName": "Int64Value", "accessibility": "public", "parameters": [ @@ -1099,6 +1110,7 @@ "$id": "89", "kind": "client", "name": "BooleanValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of boolean values", "methods": [ @@ -1106,11 +1118,13 @@ "$id": "90", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "91", "name": "get", + "isExactName": false, "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ @@ -1217,11 +1231,13 @@ "$id": "97", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "98", "name": "put", + "isExactName": false, "resourceName": "BooleanValue", "accessibility": "public", "parameters": [ @@ -1394,6 +1410,7 @@ "$id": "106", "kind": "client", "name": "StringValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of string values", "methods": [ @@ -1401,11 +1418,13 @@ "$id": "107", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "108", "name": "get", + "isExactName": false, "resourceName": "StringValue", "accessibility": "public", "parameters": [ @@ -1512,11 +1531,13 @@ "$id": "114", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "115", "name": "put", + "isExactName": false, "resourceName": "StringValue", "accessibility": "public", "parameters": [ @@ -1689,6 +1710,7 @@ "$id": "123", "kind": "client", "name": "Float32Value", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of float values", "methods": [ @@ -1696,11 +1718,13 @@ "$id": "124", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "125", "name": "get", + "isExactName": false, "resourceName": "Float32Value", "accessibility": "public", "parameters": [ @@ -1807,11 +1831,13 @@ "$id": "131", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "132", "name": "put", + "isExactName": false, "resourceName": "Float32Value", "accessibility": "public", "parameters": [ @@ -1984,6 +2010,7 @@ "$id": "140", "kind": "client", "name": "DatetimeValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of datetime values", "methods": [ @@ -1991,11 +2018,13 @@ "$id": "141", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "142", "name": "get", + "isExactName": false, "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ @@ -2110,11 +2139,13 @@ "$id": "149", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "150", "name": "put", + "isExactName": false, "resourceName": "DatetimeValue", "accessibility": "public", "parameters": [ @@ -2287,6 +2318,7 @@ "$id": "158", "kind": "client", "name": "DurationValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of duration values", "methods": [ @@ -2294,11 +2326,13 @@ "$id": "159", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "160", "name": "get", + "isExactName": false, "resourceName": "DurationValue", "accessibility": "public", "parameters": [ @@ -2413,11 +2447,13 @@ "$id": "167", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "168", "name": "put", + "isExactName": false, "resourceName": "DurationValue", "accessibility": "public", "parameters": [ @@ -2590,6 +2626,7 @@ "$id": "176", "kind": "client", "name": "UnknownValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of unknown values", "methods": [ @@ -2597,11 +2634,13 @@ "$id": "177", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "178", "name": "get", + "isExactName": false, "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ @@ -2708,11 +2747,13 @@ "$id": "184", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "185", "name": "put", + "isExactName": false, "resourceName": "UnknownValue", "accessibility": "public", "parameters": [ @@ -2885,6 +2926,7 @@ "$id": "193", "kind": "client", "name": "ModelValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of model values", "methods": [ @@ -2892,11 +2934,13 @@ "$id": "194", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "195", "name": "get", + "isExactName": false, "resourceName": "ModelValue", "accessibility": "public", "parameters": [ @@ -2987,11 +3031,13 @@ "$id": "198", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "199", "name": "put", + "isExactName": false, "resourceName": "ModelValue", "accessibility": "public", "parameters": [ @@ -3164,6 +3210,7 @@ "$id": "207", "kind": "client", "name": "RecursiveModelValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of model values", "methods": [ @@ -3171,11 +3218,13 @@ "$id": "208", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "209", "name": "get", + "isExactName": false, "resourceName": "RecursiveModelValue", "accessibility": "public", "parameters": [ @@ -3266,11 +3315,13 @@ "$id": "212", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "213", "name": "put", + "isExactName": false, "resourceName": "RecursiveModelValue", "accessibility": "public", "parameters": [ @@ -3443,6 +3494,7 @@ "$id": "221", "kind": "client", "name": "NullableFloatValue", + "isExactName": false, "namespace": "Type.Dictionary", "doc": "Dictionary of nullable float values", "methods": [ @@ -3450,11 +3502,13 @@ "$id": "222", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "223", "name": "get", + "isExactName": false, "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ @@ -3566,11 +3620,13 @@ "$id": "230", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "231", "name": "put", + "isExactName": false, "resourceName": "NullableFloatValue", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json index 66148316cd8..e763efcc6d9 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/extensible/tspCodeModel.json @@ -274,6 +274,7 @@ "$id": "26", "kind": "client", "name": "ExtensibleClient", + "isExactName": false, "namespace": "Type.Enum.Extensible", "methods": [], "parameters": [ @@ -318,17 +319,20 @@ "$id": "30", "kind": "client", "name": "String", + "isExactName": false, "namespace": "Type.Enum.Extensible", "methods": [ { "$id": "31", "kind": "basic", "name": "getKnownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "32", "name": "getKnownValue", + "isExactName": false, "resourceName": "String", "accessibility": "public", "parameters": [ @@ -427,11 +431,13 @@ "$id": "35", "kind": "basic", "name": "getUnknownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "36", "name": "getUnknownValue", + "isExactName": false, "resourceName": "String", "accessibility": "public", "parameters": [ @@ -530,11 +536,13 @@ "$id": "39", "kind": "basic", "name": "putKnownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "40", "name": "putKnownValue", + "isExactName": false, "resourceName": "String", "accessibility": "public", "parameters": [ @@ -662,11 +670,13 @@ "$id": "45", "kind": "basic", "name": "putUnknownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "46", "name": "putUnknownValue", + "isExactName": false, "resourceName": "String", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json index 20cd2638521..d9da93e0a43 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/enum/fixed/tspCodeModel.json @@ -240,6 +240,7 @@ "$id": "22", "kind": "client", "name": "FixedClient", + "isExactName": false, "namespace": "Type.Enum.Fixed", "methods": [], "parameters": [ @@ -284,18 +285,21 @@ "$id": "26", "kind": "client", "name": "String", + "isExactName": false, "namespace": "Type.Enum.Fixed", "methods": [ { "$id": "27", "kind": "basic", "name": "getKnownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "getKnownValue", "operation": { "$id": "28", "name": "getKnownValue", + "isExactName": false, "resourceName": "String", "doc": "getKnownValue", "accessibility": "public", @@ -395,12 +399,14 @@ "$id": "31", "kind": "basic", "name": "putKnownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "putKnownValue", "operation": { "$id": "32", "name": "putKnownValue", + "isExactName": false, "resourceName": "String", "doc": "putKnownValue", "accessibility": "public", @@ -531,12 +537,14 @@ "$id": "37", "kind": "basic", "name": "putUnknownValue", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "putUnknownValue", "operation": { "$id": "38", "name": "putUnknownValue", + "isExactName": false, "resourceName": "String", "doc": "putUnknownValue", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json index 774ad80d9a1..149d22ab7e9 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/empty/tspCodeModel.json @@ -130,6 +130,7 @@ "$id": "12", "kind": "client", "name": "EmptyClient", + "isExactName": false, "namespace": "Type.Model.Empty", "doc": "Illustrates usage of empty model used in operation's parameters and responses.", "methods": [ @@ -137,11 +138,13 @@ "$id": "13", "kind": "basic", "name": "putEmpty", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "14", "name": "putEmpty", + "isExactName": false, "resourceName": "Empty", "accessibility": "public", "parameters": [ @@ -271,11 +274,13 @@ "$id": "19", "kind": "basic", "name": "getEmpty", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "getEmpty", + "isExactName": false, "resourceName": "Empty", "accessibility": "public", "parameters": [ @@ -366,11 +371,13 @@ "$id": "23", "kind": "basic", "name": "postRoundTripEmpty", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "24", "name": "postRoundTripEmpty", + "isExactName": false, "resourceName": "Empty", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json index d40a5a43f33..6f7d0c06745 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/enum-discriminator/tspCodeModel.json @@ -570,6 +570,7 @@ "$id": "43", "kind": "client", "name": "EnumDiscriminatorClient", + "isExactName": false, "namespace": "Type.Model.Inheritance.EnumDiscriminator", "doc": "Illustrates inheritance with enum discriminator.", "methods": [ @@ -577,12 +578,14 @@ "$id": "44", "kind": "basic", "name": "getExtensibleModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Receive model with extensible enum discriminator type.", "operation": { "$id": "45", "name": "getExtensibleModel", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Receive model with extensible enum discriminator type.", "accessibility": "public", @@ -674,12 +677,14 @@ "$id": "48", "kind": "basic", "name": "putExtensibleModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Send model with extensible enum discriminator type.", "operation": { "$id": "49", "name": "putExtensibleModel", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Send model with extensible enum discriminator type.", "accessibility": "public", @@ -812,12 +817,14 @@ "$id": "54", "kind": "basic", "name": "getExtensibleModelMissingDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get a model omitting the discriminator.", "operation": { "$id": "55", "name": "getExtensibleModelMissingDiscriminator", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Get a model omitting the discriminator.", "accessibility": "public", @@ -909,12 +916,14 @@ "$id": "58", "kind": "basic", "name": "getExtensibleModelWrongDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get a model containing discriminator value never defined.", "operation": { "$id": "59", "name": "getExtensibleModelWrongDiscriminator", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Get a model containing discriminator value never defined.", "accessibility": "public", @@ -1006,12 +1015,14 @@ "$id": "62", "kind": "basic", "name": "getFixedModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Receive model with fixed enum discriminator type.", "operation": { "$id": "63", "name": "getFixedModel", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Receive model with fixed enum discriminator type.", "accessibility": "public", @@ -1103,12 +1114,14 @@ "$id": "66", "kind": "basic", "name": "putFixedModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Send model with fixed enum discriminator type.", "operation": { "$id": "67", "name": "putFixedModel", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Send model with fixed enum discriminator type.", "accessibility": "public", @@ -1241,12 +1254,14 @@ "$id": "72", "kind": "basic", "name": "getFixedModelMissingDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get a model omitting the discriminator.", "operation": { "$id": "73", "name": "getFixedModelMissingDiscriminator", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Get a model omitting the discriminator.", "accessibility": "public", @@ -1338,12 +1353,14 @@ "$id": "76", "kind": "basic", "name": "getFixedModelWrongDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get a model containing discriminator value never defined.", "operation": { "$id": "77", "name": "getFixedModelWrongDiscriminator", + "isExactName": false, "resourceName": "EnumDiscriminator", "doc": "Get a model containing discriminator value never defined.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json index abd9ed1d025..b836dfcbc34 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/nested-discriminator/tspCodeModel.json @@ -561,6 +561,7 @@ "$id": "42", "kind": "client", "name": "NestedDiscriminatorClient", + "isExactName": false, "namespace": "Type.Model.Inheritance.NestedDiscriminator", "doc": "Illustrates multiple level inheritance with multiple discriminators.", "methods": [ @@ -568,11 +569,13 @@ "$id": "43", "kind": "basic", "name": "getModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "44", "name": "getModel", + "isExactName": false, "resourceName": "NestedDiscriminator", "accessibility": "public", "parameters": [ @@ -663,11 +666,13 @@ "$id": "47", "kind": "basic", "name": "putModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "48", "name": "putModel", + "isExactName": false, "resourceName": "NestedDiscriminator", "accessibility": "public", "parameters": [ @@ -797,11 +802,13 @@ "$id": "53", "kind": "basic", "name": "getRecursiveModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "54", "name": "getRecursiveModel", + "isExactName": false, "resourceName": "NestedDiscriminator", "accessibility": "public", "parameters": [ @@ -892,11 +899,13 @@ "$id": "57", "kind": "basic", "name": "putRecursiveModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "58", "name": "putRecursiveModel", + "isExactName": false, "resourceName": "NestedDiscriminator", "accessibility": "public", "parameters": [ @@ -1026,11 +1035,13 @@ "$id": "63", "kind": "basic", "name": "getMissingDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "64", "name": "getMissingDiscriminator", + "isExactName": false, "resourceName": "NestedDiscriminator", "accessibility": "public", "parameters": [ @@ -1121,11 +1132,13 @@ "$id": "67", "kind": "basic", "name": "getWrongDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "68", "name": "getWrongDiscriminator", + "isExactName": false, "resourceName": "NestedDiscriminator", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json index bb5c0dbad45..65490835c13 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/not-discriminated/tspCodeModel.json @@ -217,6 +217,7 @@ "$id": "18", "kind": "client", "name": "NotDiscriminatedClient", + "isExactName": false, "namespace": "Type.Model.Inheritance.NotDiscriminated", "doc": "Illustrates not-discriminated inheritance model.", "methods": [ @@ -224,11 +225,13 @@ "$id": "19", "kind": "basic", "name": "postValid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "postValid", + "isExactName": false, "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ @@ -358,11 +361,13 @@ "$id": "25", "kind": "basic", "name": "getValid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "26", "name": "getValid", + "isExactName": false, "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ @@ -453,11 +458,13 @@ "$id": "29", "kind": "basic", "name": "putValid", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "30", "name": "putValid", + "isExactName": false, "resourceName": "NotDiscriminated", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json index 570bdd50020..bb0a4462a34 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/recursive/tspCodeModel.json @@ -139,6 +139,7 @@ "$id": "11", "kind": "client", "name": "RecursiveClient", + "isExactName": false, "namespace": "Type.Model.Inheritance.Recursive", "doc": "Illustrates inheritance recursion", "methods": [ @@ -146,11 +147,13 @@ "$id": "12", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "13", "name": "put", + "isExactName": false, "resourceName": "Recursive", "accessibility": "public", "parameters": [ @@ -280,11 +283,13 @@ "$id": "18", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "19", "name": "get", + "isExactName": false, "resourceName": "Recursive", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json index 1ab98e6eb88..ad84c330c65 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/inheritance/single-discriminator/tspCodeModel.json @@ -686,6 +686,7 @@ "$id": "51", "kind": "client", "name": "SingleDiscriminatorClient", + "isExactName": false, "namespace": "Type.Model.Inheritance.SingleDiscriminator", "doc": "Illustrates inheritance with single discriminator.", "methods": [ @@ -693,11 +694,13 @@ "$id": "52", "kind": "basic", "name": "getModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "53", "name": "getModel", + "isExactName": false, "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ @@ -788,11 +791,13 @@ "$id": "56", "kind": "basic", "name": "putModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "57", "name": "putModel", + "isExactName": false, "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ @@ -922,11 +927,13 @@ "$id": "62", "kind": "basic", "name": "getRecursiveModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "63", "name": "getRecursiveModel", + "isExactName": false, "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ @@ -1017,11 +1024,13 @@ "$id": "66", "kind": "basic", "name": "putRecursiveModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "67", "name": "putRecursiveModel", + "isExactName": false, "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ @@ -1151,11 +1160,13 @@ "$id": "72", "kind": "basic", "name": "getMissingDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "73", "name": "getMissingDiscriminator", + "isExactName": false, "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ @@ -1246,11 +1257,13 @@ "$id": "76", "kind": "basic", "name": "getWrongDiscriminator", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "77", "name": "getWrongDiscriminator", + "isExactName": false, "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ @@ -1341,11 +1354,13 @@ "$id": "80", "kind": "basic", "name": "getLegacyModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "81", "name": "getLegacyModel", + "isExactName": false, "resourceName": "SingleDiscriminator", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json index 747d49b8ebd..e5b3ea2d030 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/usage/tspCodeModel.json @@ -211,6 +211,7 @@ "$id": "18", "kind": "client", "name": "UsageClient", + "isExactName": false, "namespace": "Type.Model.Usage", "doc": "Illustrates usage of Record in different places(Operation parameters, return type or both).", "methods": [ @@ -218,11 +219,13 @@ "$id": "19", "kind": "basic", "name": "input", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "20", "name": "input", + "isExactName": false, "resourceName": "Usage", "accessibility": "public", "parameters": [ @@ -352,11 +355,13 @@ "$id": "25", "kind": "basic", "name": "output", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "26", "name": "output", + "isExactName": false, "resourceName": "Usage", "accessibility": "public", "parameters": [ @@ -447,11 +452,13 @@ "$id": "29", "kind": "basic", "name": "inputAndOutput", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "30", "name": "inputAndOutput", + "isExactName": false, "resourceName": "Usage", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json index 2c1978d5de1..8576d99ff97 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/model/visibility/tspCodeModel.json @@ -416,6 +416,7 @@ "$id": "39", "kind": "client", "name": "VisibilityClient", + "isExactName": false, "namespace": "Type.Model.Visibility", "doc": "Illustrates models with visibility properties.", "methods": [ @@ -423,11 +424,13 @@ "$id": "40", "kind": "basic", "name": "getModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "41", "name": "getModel", + "isExactName": false, "resourceName": "Visibility", "accessibility": "public", "parameters": [ @@ -657,11 +660,13 @@ "$id": "51", "kind": "basic", "name": "headModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "52", "name": "headModel", + "isExactName": false, "resourceName": "Visibility", "accessibility": "public", "parameters": [ @@ -821,11 +826,13 @@ "$id": "59", "kind": "basic", "name": "putModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "60", "name": "putModel", + "isExactName": false, "resourceName": "Visibility", "accessibility": "public", "parameters": [ @@ -955,11 +962,13 @@ "$id": "65", "kind": "basic", "name": "patchModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "66", "name": "patchModel", + "isExactName": false, "resourceName": "Visibility", "accessibility": "public", "parameters": [ @@ -1089,11 +1098,13 @@ "$id": "71", "kind": "basic", "name": "postModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "72", "name": "postModel", + "isExactName": false, "resourceName": "Visibility", "accessibility": "public", "parameters": [ @@ -1223,11 +1234,13 @@ "$id": "77", "kind": "basic", "name": "deleteModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "78", "name": "deleteModel", + "isExactName": false, "resourceName": "Visibility", "accessibility": "public", "parameters": [ @@ -1357,11 +1370,13 @@ "$id": "83", "kind": "basic", "name": "putReadOnlyModel", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "84", "name": "putReadOnlyModel", + "isExactName": false, "resourceName": "Visibility", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json index 3410d98fd4e..7fef19a421f 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/additional-properties/tspCodeModel.json @@ -3338,6 +3338,7 @@ "$id": "281", "kind": "client", "name": "AdditionalPropertiesClient", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "doc": "Tests for additional properties of models", "methods": [], @@ -3383,18 +3384,21 @@ "$id": "285", "kind": "client", "name": "ExtendsUnknown", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "286", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "287", "name": "get", + "isExactName": false, "resourceName": "ExtendsUnknown", "doc": "Get call", "accessibility": "public", @@ -3486,12 +3490,14 @@ "$id": "290", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "291", "name": "put", + "isExactName": false, "resourceName": "ExtendsUnknown", "doc": "Put operation", "accessibility": "public", @@ -3667,18 +3673,21 @@ "$id": "299", "kind": "client", "name": "ExtendsUnknownDerived", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "300", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "301", "name": "get", + "isExactName": false, "resourceName": "ExtendsUnknownDerived", "doc": "Get call", "accessibility": "public", @@ -3770,12 +3779,14 @@ "$id": "304", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "305", "name": "put", + "isExactName": false, "resourceName": "ExtendsUnknownDerived", "doc": "Put operation", "accessibility": "public", @@ -3951,18 +3962,21 @@ "$id": "313", "kind": "client", "name": "ExtendsUnknownDiscriminated", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "314", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "315", "name": "get", + "isExactName": false, "resourceName": "ExtendsUnknownDiscriminated", "doc": "Get call", "accessibility": "public", @@ -4054,12 +4068,14 @@ "$id": "318", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "319", "name": "put", + "isExactName": false, "resourceName": "ExtendsUnknownDiscriminated", "doc": "Put operation", "accessibility": "public", @@ -4235,18 +4251,21 @@ "$id": "327", "kind": "client", "name": "IsUnknown", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "328", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "329", "name": "get", + "isExactName": false, "resourceName": "IsUnknown", "doc": "Get call", "accessibility": "public", @@ -4338,12 +4357,14 @@ "$id": "332", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "333", "name": "put", + "isExactName": false, "resourceName": "IsUnknown", "doc": "Put operation", "accessibility": "public", @@ -4519,18 +4540,21 @@ "$id": "341", "kind": "client", "name": "IsUnknownDerived", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "342", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "343", "name": "get", + "isExactName": false, "resourceName": "IsUnknownDerived", "doc": "Get call", "accessibility": "public", @@ -4622,12 +4646,14 @@ "$id": "346", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "347", "name": "put", + "isExactName": false, "resourceName": "IsUnknownDerived", "doc": "Put operation", "accessibility": "public", @@ -4803,18 +4829,21 @@ "$id": "355", "kind": "client", "name": "IsUnknownDiscriminated", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "356", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "357", "name": "get", + "isExactName": false, "resourceName": "IsUnknownDiscriminated", "doc": "Get call", "accessibility": "public", @@ -4906,12 +4935,14 @@ "$id": "360", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "361", "name": "put", + "isExactName": false, "resourceName": "IsUnknownDiscriminated", "doc": "Put operation", "accessibility": "public", @@ -5087,18 +5118,21 @@ "$id": "369", "kind": "client", "name": "ExtendsString", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "370", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "371", "name": "get", + "isExactName": false, "resourceName": "ExtendsString", "doc": "Get call", "accessibility": "public", @@ -5190,12 +5224,14 @@ "$id": "374", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "375", "name": "put", + "isExactName": false, "resourceName": "ExtendsString", "doc": "Put operation", "accessibility": "public", @@ -5371,18 +5407,21 @@ "$id": "383", "kind": "client", "name": "IsString", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "384", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "385", "name": "get", + "isExactName": false, "resourceName": "IsString", "doc": "Get call", "accessibility": "public", @@ -5474,12 +5513,14 @@ "$id": "388", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "389", "name": "put", + "isExactName": false, "resourceName": "IsString", "doc": "Put operation", "accessibility": "public", @@ -5655,18 +5696,21 @@ "$id": "397", "kind": "client", "name": "SpreadString", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "398", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "399", "name": "get", + "isExactName": false, "resourceName": "SpreadString", "doc": "Get call", "accessibility": "public", @@ -5758,12 +5802,14 @@ "$id": "402", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "403", "name": "put", + "isExactName": false, "resourceName": "SpreadString", "doc": "Put operation", "accessibility": "public", @@ -5939,18 +5985,21 @@ "$id": "411", "kind": "client", "name": "ExtendsFloat", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "412", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "413", "name": "get", + "isExactName": false, "resourceName": "ExtendsFloat", "doc": "Get call", "accessibility": "public", @@ -6042,12 +6091,14 @@ "$id": "416", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "417", "name": "put", + "isExactName": false, "resourceName": "ExtendsFloat", "doc": "Put operation", "accessibility": "public", @@ -6223,18 +6274,21 @@ "$id": "425", "kind": "client", "name": "IsFloat", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "426", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "427", "name": "get", + "isExactName": false, "resourceName": "IsFloat", "doc": "Get call", "accessibility": "public", @@ -6326,12 +6380,14 @@ "$id": "430", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "431", "name": "put", + "isExactName": false, "resourceName": "IsFloat", "doc": "Put operation", "accessibility": "public", @@ -6507,18 +6563,21 @@ "$id": "439", "kind": "client", "name": "SpreadFloat", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "440", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "441", "name": "get", + "isExactName": false, "resourceName": "SpreadFloat", "doc": "Get call", "accessibility": "public", @@ -6610,12 +6669,14 @@ "$id": "444", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "445", "name": "put", + "isExactName": false, "resourceName": "SpreadFloat", "doc": "Put operation", "accessibility": "public", @@ -6791,18 +6852,21 @@ "$id": "453", "kind": "client", "name": "ExtendsModel", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "454", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "455", "name": "get", + "isExactName": false, "resourceName": "ExtendsModel", "doc": "Get call", "accessibility": "public", @@ -6894,12 +6958,14 @@ "$id": "458", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "459", "name": "put", + "isExactName": false, "resourceName": "ExtendsModel", "doc": "Put operation", "accessibility": "public", @@ -7075,18 +7141,21 @@ "$id": "467", "kind": "client", "name": "IsModel", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "468", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "469", "name": "get", + "isExactName": false, "resourceName": "IsModel", "doc": "Get call", "accessibility": "public", @@ -7178,12 +7247,14 @@ "$id": "472", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "473", "name": "put", + "isExactName": false, "resourceName": "IsModel", "doc": "Put operation", "accessibility": "public", @@ -7359,18 +7430,21 @@ "$id": "481", "kind": "client", "name": "SpreadModel", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "482", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "483", "name": "get", + "isExactName": false, "resourceName": "SpreadModel", "doc": "Get call", "accessibility": "public", @@ -7462,12 +7536,14 @@ "$id": "486", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "487", "name": "put", + "isExactName": false, "resourceName": "SpreadModel", "doc": "Put operation", "accessibility": "public", @@ -7643,18 +7719,21 @@ "$id": "495", "kind": "client", "name": "ExtendsModelArray", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "496", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "497", "name": "get", + "isExactName": false, "resourceName": "ExtendsModelArray", "doc": "Get call", "accessibility": "public", @@ -7746,12 +7825,14 @@ "$id": "500", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "501", "name": "put", + "isExactName": false, "resourceName": "ExtendsModelArray", "doc": "Put operation", "accessibility": "public", @@ -7927,18 +8008,21 @@ "$id": "509", "kind": "client", "name": "IsModelArray", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "510", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "511", "name": "get", + "isExactName": false, "resourceName": "IsModelArray", "doc": "Get call", "accessibility": "public", @@ -8030,12 +8114,14 @@ "$id": "514", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "515", "name": "put", + "isExactName": false, "resourceName": "IsModelArray", "doc": "Put operation", "accessibility": "public", @@ -8211,18 +8297,21 @@ "$id": "523", "kind": "client", "name": "SpreadModelArray", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "524", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "525", "name": "get", + "isExactName": false, "resourceName": "SpreadModelArray", "doc": "Get call", "accessibility": "public", @@ -8314,12 +8403,14 @@ "$id": "528", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "529", "name": "put", + "isExactName": false, "resourceName": "SpreadModelArray", "doc": "Put operation", "accessibility": "public", @@ -8495,18 +8586,21 @@ "$id": "537", "kind": "client", "name": "SpreadDifferentString", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "538", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "539", "name": "get", + "isExactName": false, "resourceName": "SpreadDifferentString", "doc": "Get call", "accessibility": "public", @@ -8598,12 +8692,14 @@ "$id": "542", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "543", "name": "put", + "isExactName": false, "resourceName": "SpreadDifferentString", "doc": "Put operation", "accessibility": "public", @@ -8779,18 +8875,21 @@ "$id": "551", "kind": "client", "name": "SpreadDifferentFloat", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "552", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "553", "name": "get", + "isExactName": false, "resourceName": "SpreadDifferentFloat", "doc": "Get call", "accessibility": "public", @@ -8882,12 +8981,14 @@ "$id": "556", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "557", "name": "put", + "isExactName": false, "resourceName": "SpreadDifferentFloat", "doc": "Put operation", "accessibility": "public", @@ -9063,18 +9164,21 @@ "$id": "565", "kind": "client", "name": "SpreadDifferentModel", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "566", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "567", "name": "get", + "isExactName": false, "resourceName": "SpreadDifferentModel", "doc": "Get call", "accessibility": "public", @@ -9166,12 +9270,14 @@ "$id": "570", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "571", "name": "put", + "isExactName": false, "resourceName": "SpreadDifferentModel", "doc": "Put operation", "accessibility": "public", @@ -9347,18 +9453,21 @@ "$id": "579", "kind": "client", "name": "SpreadDifferentModelArray", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "580", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "581", "name": "get", + "isExactName": false, "resourceName": "SpreadDifferentModelArray", "doc": "Get call", "accessibility": "public", @@ -9450,12 +9559,14 @@ "$id": "584", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "585", "name": "put", + "isExactName": false, "resourceName": "SpreadDifferentModelArray", "doc": "Put operation", "accessibility": "public", @@ -9631,18 +9742,21 @@ "$id": "593", "kind": "client", "name": "ExtendsDifferentSpreadString", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "594", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "595", "name": "get", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadString", "doc": "Get call", "accessibility": "public", @@ -9734,12 +9848,14 @@ "$id": "598", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "599", "name": "put", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadString", "doc": "Put operation", "accessibility": "public", @@ -9915,18 +10031,21 @@ "$id": "607", "kind": "client", "name": "ExtendsDifferentSpreadFloat", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "608", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "609", "name": "get", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadFloat", "doc": "Get call", "accessibility": "public", @@ -10018,12 +10137,14 @@ "$id": "612", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "613", "name": "put", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadFloat", "doc": "Put operation", "accessibility": "public", @@ -10199,18 +10320,21 @@ "$id": "621", "kind": "client", "name": "ExtendsDifferentSpreadModel", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "622", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "623", "name": "get", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadModel", "doc": "Get call", "accessibility": "public", @@ -10302,12 +10426,14 @@ "$id": "626", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "627", "name": "put", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadModel", "doc": "Put operation", "accessibility": "public", @@ -10483,18 +10609,21 @@ "$id": "635", "kind": "client", "name": "ExtendsDifferentSpreadModelArray", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "636", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "637", "name": "get", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadModelArray", "doc": "Get call", "accessibility": "public", @@ -10586,12 +10715,14 @@ "$id": "640", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "641", "name": "put", + "isExactName": false, "resourceName": "ExtendsDifferentSpreadModelArray", "doc": "Put operation", "accessibility": "public", @@ -10767,18 +10898,21 @@ "$id": "649", "kind": "client", "name": "MultipleSpread", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "650", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "651", "name": "get", + "isExactName": false, "resourceName": "MultipleSpread", "doc": "Get call", "accessibility": "public", @@ -10870,12 +11004,14 @@ "$id": "654", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "655", "name": "put", + "isExactName": false, "resourceName": "MultipleSpread", "doc": "Put operation", "accessibility": "public", @@ -11051,18 +11187,21 @@ "$id": "663", "kind": "client", "name": "SpreadRecordUnion", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "664", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "665", "name": "get", + "isExactName": false, "resourceName": "SpreadRecordUnion", "doc": "Get call", "accessibility": "public", @@ -11154,12 +11293,14 @@ "$id": "668", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "669", "name": "put", + "isExactName": false, "resourceName": "SpreadRecordUnion", "doc": "Put operation", "accessibility": "public", @@ -11335,18 +11476,21 @@ "$id": "677", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "678", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "679", "name": "get", + "isExactName": false, "resourceName": "SpreadRecordNonDiscriminatedUnion", "doc": "Get call", "accessibility": "public", @@ -11438,12 +11582,14 @@ "$id": "682", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "683", "name": "put", + "isExactName": false, "resourceName": "SpreadRecordNonDiscriminatedUnion", "doc": "Put operation", "accessibility": "public", @@ -11619,18 +11765,21 @@ "$id": "691", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion2", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "692", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "693", "name": "get", + "isExactName": false, "resourceName": "SpreadRecordNonDiscriminatedUnion2", "doc": "Get call", "accessibility": "public", @@ -11722,12 +11871,14 @@ "$id": "696", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "697", "name": "put", + "isExactName": false, "resourceName": "SpreadRecordNonDiscriminatedUnion2", "doc": "Put operation", "accessibility": "public", @@ -11903,18 +12054,21 @@ "$id": "705", "kind": "client", "name": "SpreadRecordNonDiscriminatedUnion3", + "isExactName": false, "namespace": "Type.Property.AdditionalProperties", "methods": [ { "$id": "706", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "707", "name": "get", + "isExactName": false, "resourceName": "SpreadRecordNonDiscriminatedUnion3", "doc": "Get call", "accessibility": "public", @@ -12006,12 +12160,14 @@ "$id": "710", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "711", "name": "put", + "isExactName": false, "resourceName": "SpreadRecordNonDiscriminatedUnion3", "doc": "Put operation", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json index 4204521c6bb..d55f8c6a586 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/nullable/tspCodeModel.json @@ -1344,6 +1344,7 @@ "$id": "134", "kind": "client", "name": "NullableClient", + "isExactName": false, "namespace": "Type.Property.Nullable", "doc": "Illustrates models with nullable properties.", "methods": [], @@ -1389,18 +1390,21 @@ "$id": "138", "kind": "client", "name": "String", + "isExactName": false, "namespace": "Type.Property.Nullable", "methods": [ { "$id": "139", "kind": "basic", "name": "getNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "140", "name": "getNonNull", + "isExactName": false, "resourceName": "String", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -1492,12 +1496,14 @@ "$id": "143", "kind": "basic", "name": "getNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "144", "name": "getNull", + "isExactName": false, "resourceName": "String", "doc": "Get models that will return the default object", "accessibility": "public", @@ -1589,12 +1595,14 @@ "$id": "147", "kind": "basic", "name": "patchNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "148", "name": "patchNonNull", + "isExactName": false, "resourceName": "String", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -1725,12 +1733,14 @@ "$id": "153", "kind": "basic", "name": "patchNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "154", "name": "patchNull", + "isExactName": false, "resourceName": "String", "doc": "Put a body with default properties.", "accessibility": "public", @@ -1904,18 +1914,21 @@ "$id": "162", "kind": "client", "name": "Bytes", + "isExactName": false, "namespace": "Type.Property.Nullable", "methods": [ { "$id": "163", "kind": "basic", "name": "getNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "164", "name": "getNonNull", + "isExactName": false, "resourceName": "Bytes", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -2007,12 +2020,14 @@ "$id": "167", "kind": "basic", "name": "getNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "168", "name": "getNull", + "isExactName": false, "resourceName": "Bytes", "doc": "Get models that will return the default object", "accessibility": "public", @@ -2104,12 +2119,14 @@ "$id": "171", "kind": "basic", "name": "patchNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "172", "name": "patchNonNull", + "isExactName": false, "resourceName": "Bytes", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -2240,12 +2257,14 @@ "$id": "177", "kind": "basic", "name": "patchNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "178", "name": "patchNull", + "isExactName": false, "resourceName": "Bytes", "doc": "Put a body with default properties.", "accessibility": "public", @@ -2419,18 +2438,21 @@ "$id": "186", "kind": "client", "name": "Datetime", + "isExactName": false, "namespace": "Type.Property.Nullable", "methods": [ { "$id": "187", "kind": "basic", "name": "getNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "188", "name": "getNonNull", + "isExactName": false, "resourceName": "Datetime", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -2522,12 +2544,14 @@ "$id": "191", "kind": "basic", "name": "getNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "192", "name": "getNull", + "isExactName": false, "resourceName": "Datetime", "doc": "Get models that will return the default object", "accessibility": "public", @@ -2619,12 +2643,14 @@ "$id": "195", "kind": "basic", "name": "patchNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "196", "name": "patchNonNull", + "isExactName": false, "resourceName": "Datetime", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -2755,12 +2781,14 @@ "$id": "201", "kind": "basic", "name": "patchNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "202", "name": "patchNull", + "isExactName": false, "resourceName": "Datetime", "doc": "Put a body with default properties.", "accessibility": "public", @@ -2934,18 +2962,21 @@ "$id": "210", "kind": "client", "name": "Duration", + "isExactName": false, "namespace": "Type.Property.Nullable", "methods": [ { "$id": "211", "kind": "basic", "name": "getNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "212", "name": "getNonNull", + "isExactName": false, "resourceName": "Duration", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -3037,12 +3068,14 @@ "$id": "215", "kind": "basic", "name": "getNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "216", "name": "getNull", + "isExactName": false, "resourceName": "Duration", "doc": "Get models that will return the default object", "accessibility": "public", @@ -3134,12 +3167,14 @@ "$id": "219", "kind": "basic", "name": "patchNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "220", "name": "patchNonNull", + "isExactName": false, "resourceName": "Duration", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -3270,12 +3305,14 @@ "$id": "225", "kind": "basic", "name": "patchNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "226", "name": "patchNull", + "isExactName": false, "resourceName": "Duration", "doc": "Put a body with default properties.", "accessibility": "public", @@ -3449,18 +3486,21 @@ "$id": "234", "kind": "client", "name": "CollectionsByte", + "isExactName": false, "namespace": "Type.Property.Nullable", "methods": [ { "$id": "235", "kind": "basic", "name": "getNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "236", "name": "getNonNull", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -3552,12 +3592,14 @@ "$id": "239", "kind": "basic", "name": "getNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "240", "name": "getNull", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Get models that will return the default object", "accessibility": "public", @@ -3649,12 +3691,14 @@ "$id": "243", "kind": "basic", "name": "patchNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "244", "name": "patchNonNull", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -3785,12 +3829,14 @@ "$id": "249", "kind": "basic", "name": "patchNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "250", "name": "patchNull", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Put a body with default properties.", "accessibility": "public", @@ -3964,18 +4010,21 @@ "$id": "258", "kind": "client", "name": "CollectionsModel", + "isExactName": false, "namespace": "Type.Property.Nullable", "methods": [ { "$id": "259", "kind": "basic", "name": "getNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "260", "name": "getNonNull", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -4067,12 +4116,14 @@ "$id": "263", "kind": "basic", "name": "getNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "264", "name": "getNull", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Get models that will return the default object", "accessibility": "public", @@ -4164,12 +4215,14 @@ "$id": "267", "kind": "basic", "name": "patchNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "268", "name": "patchNonNull", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -4300,12 +4353,14 @@ "$id": "273", "kind": "basic", "name": "patchNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "274", "name": "patchNull", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Put a body with default properties.", "accessibility": "public", @@ -4479,18 +4534,21 @@ "$id": "282", "kind": "client", "name": "CollectionsString", + "isExactName": false, "namespace": "Type.Property.Nullable", "methods": [ { "$id": "283", "kind": "basic", "name": "getNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "284", "name": "getNonNull", + "isExactName": false, "resourceName": "CollectionsString", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -4582,12 +4640,14 @@ "$id": "287", "kind": "basic", "name": "getNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "288", "name": "getNull", + "isExactName": false, "resourceName": "CollectionsString", "doc": "Get models that will return the default object", "accessibility": "public", @@ -4679,12 +4739,14 @@ "$id": "291", "kind": "basic", "name": "patchNonNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "292", "name": "patchNonNull", + "isExactName": false, "resourceName": "CollectionsString", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -4815,12 +4877,14 @@ "$id": "297", "kind": "basic", "name": "patchNull", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "298", "name": "patchNull", + "isExactName": false, "resourceName": "CollectionsString", "doc": "Put a body with default properties.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json index 672bd4b6c6e..b880f297976 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/optionality/tspCodeModel.json @@ -2131,6 +2131,7 @@ "$id": "201", "kind": "client", "name": "OptionalClient", + "isExactName": false, "namespace": "Type.Property.Optional", "doc": "Illustrates models with optional properties.", "methods": [], @@ -2176,18 +2177,21 @@ "$id": "205", "kind": "client", "name": "String", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "206", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "207", "name": "getAll", + "isExactName": false, "resourceName": "String", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -2279,12 +2283,14 @@ "$id": "210", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "211", "name": "getDefault", + "isExactName": false, "resourceName": "String", "doc": "Get models that will return the default object", "accessibility": "public", @@ -2376,12 +2382,14 @@ "$id": "214", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "215", "name": "putAll", + "isExactName": false, "resourceName": "String", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -2512,12 +2520,14 @@ "$id": "220", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "221", "name": "putDefault", + "isExactName": false, "resourceName": "String", "doc": "Put a body with default properties.", "accessibility": "public", @@ -2691,18 +2701,21 @@ "$id": "229", "kind": "client", "name": "Bytes", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "230", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "231", "name": "getAll", + "isExactName": false, "resourceName": "Bytes", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -2794,12 +2807,14 @@ "$id": "234", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "235", "name": "getDefault", + "isExactName": false, "resourceName": "Bytes", "doc": "Get models that will return the default object", "accessibility": "public", @@ -2891,12 +2906,14 @@ "$id": "238", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "239", "name": "putAll", + "isExactName": false, "resourceName": "Bytes", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -3027,12 +3044,14 @@ "$id": "244", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "245", "name": "putDefault", + "isExactName": false, "resourceName": "Bytes", "doc": "Put a body with default properties.", "accessibility": "public", @@ -3206,18 +3225,21 @@ "$id": "253", "kind": "client", "name": "Datetime", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "254", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "255", "name": "getAll", + "isExactName": false, "resourceName": "Datetime", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -3309,12 +3331,14 @@ "$id": "258", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "259", "name": "getDefault", + "isExactName": false, "resourceName": "Datetime", "doc": "Get models that will return the default object", "accessibility": "public", @@ -3406,12 +3430,14 @@ "$id": "262", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "263", "name": "putAll", + "isExactName": false, "resourceName": "Datetime", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -3542,12 +3568,14 @@ "$id": "268", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "269", "name": "putDefault", + "isExactName": false, "resourceName": "Datetime", "doc": "Put a body with default properties.", "accessibility": "public", @@ -3721,18 +3749,21 @@ "$id": "277", "kind": "client", "name": "Duration", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "278", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "279", "name": "getAll", + "isExactName": false, "resourceName": "Duration", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -3824,12 +3855,14 @@ "$id": "282", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "283", "name": "getDefault", + "isExactName": false, "resourceName": "Duration", "doc": "Get models that will return the default object", "accessibility": "public", @@ -3921,12 +3954,14 @@ "$id": "286", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "287", "name": "putAll", + "isExactName": false, "resourceName": "Duration", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -4057,12 +4092,14 @@ "$id": "292", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "293", "name": "putDefault", + "isExactName": false, "resourceName": "Duration", "doc": "Put a body with default properties.", "accessibility": "public", @@ -4236,18 +4273,21 @@ "$id": "301", "kind": "client", "name": "PlainDate", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "302", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "303", "name": "getAll", + "isExactName": false, "resourceName": "PlainDate", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -4339,12 +4379,14 @@ "$id": "306", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "307", "name": "getDefault", + "isExactName": false, "resourceName": "PlainDate", "doc": "Get models that will return the default object", "accessibility": "public", @@ -4436,12 +4478,14 @@ "$id": "310", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "311", "name": "putAll", + "isExactName": false, "resourceName": "PlainDate", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -4572,12 +4616,14 @@ "$id": "316", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "317", "name": "putDefault", + "isExactName": false, "resourceName": "PlainDate", "doc": "Put a body with default properties.", "accessibility": "public", @@ -4751,18 +4797,21 @@ "$id": "325", "kind": "client", "name": "PlainTime", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "326", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "327", "name": "getAll", + "isExactName": false, "resourceName": "PlainTime", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -4854,12 +4903,14 @@ "$id": "330", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "331", "name": "getDefault", + "isExactName": false, "resourceName": "PlainTime", "doc": "Get models that will return the default object", "accessibility": "public", @@ -4951,12 +5002,14 @@ "$id": "334", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "335", "name": "putAll", + "isExactName": false, "resourceName": "PlainTime", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -5087,12 +5140,14 @@ "$id": "340", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "341", "name": "putDefault", + "isExactName": false, "resourceName": "PlainTime", "doc": "Put a body with default properties.", "accessibility": "public", @@ -5266,18 +5321,21 @@ "$id": "349", "kind": "client", "name": "CollectionsByte", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "350", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "351", "name": "getAll", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -5369,12 +5427,14 @@ "$id": "354", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "355", "name": "getDefault", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Get models that will return the default object", "accessibility": "public", @@ -5466,12 +5526,14 @@ "$id": "358", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "359", "name": "putAll", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -5602,12 +5664,14 @@ "$id": "364", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "365", "name": "putDefault", + "isExactName": false, "resourceName": "CollectionsByte", "doc": "Put a body with default properties.", "accessibility": "public", @@ -5781,18 +5845,21 @@ "$id": "373", "kind": "client", "name": "CollectionsModel", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "374", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "375", "name": "getAll", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -5884,12 +5951,14 @@ "$id": "378", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "379", "name": "getDefault", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Get models that will return the default object", "accessibility": "public", @@ -5981,12 +6050,14 @@ "$id": "382", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "383", "name": "putAll", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -6117,12 +6188,14 @@ "$id": "388", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "389", "name": "putDefault", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Put a body with default properties.", "accessibility": "public", @@ -6296,18 +6369,21 @@ "$id": "397", "kind": "client", "name": "StringLiteral", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "398", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "399", "name": "getAll", + "isExactName": false, "resourceName": "StringLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -6399,12 +6475,14 @@ "$id": "402", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "403", "name": "getDefault", + "isExactName": false, "resourceName": "StringLiteral", "doc": "Get models that will return the default object", "accessibility": "public", @@ -6496,12 +6574,14 @@ "$id": "406", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "407", "name": "putAll", + "isExactName": false, "resourceName": "StringLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -6632,12 +6712,14 @@ "$id": "412", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "413", "name": "putDefault", + "isExactName": false, "resourceName": "StringLiteral", "doc": "Put a body with default properties.", "accessibility": "public", @@ -6811,18 +6893,21 @@ "$id": "421", "kind": "client", "name": "IntLiteral", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "422", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "423", "name": "getAll", + "isExactName": false, "resourceName": "IntLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -6914,12 +6999,14 @@ "$id": "426", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "427", "name": "getDefault", + "isExactName": false, "resourceName": "IntLiteral", "doc": "Get models that will return the default object", "accessibility": "public", @@ -7011,12 +7098,14 @@ "$id": "430", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "431", "name": "putAll", + "isExactName": false, "resourceName": "IntLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -7147,12 +7236,14 @@ "$id": "436", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "437", "name": "putDefault", + "isExactName": false, "resourceName": "IntLiteral", "doc": "Put a body with default properties.", "accessibility": "public", @@ -7326,18 +7417,21 @@ "$id": "445", "kind": "client", "name": "FloatLiteral", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "446", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "447", "name": "getAll", + "isExactName": false, "resourceName": "FloatLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -7429,12 +7523,14 @@ "$id": "450", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "451", "name": "getDefault", + "isExactName": false, "resourceName": "FloatLiteral", "doc": "Get models that will return the default object", "accessibility": "public", @@ -7526,12 +7622,14 @@ "$id": "454", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "455", "name": "putAll", + "isExactName": false, "resourceName": "FloatLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -7662,12 +7760,14 @@ "$id": "460", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "461", "name": "putDefault", + "isExactName": false, "resourceName": "FloatLiteral", "doc": "Put a body with default properties.", "accessibility": "public", @@ -7841,18 +7941,21 @@ "$id": "469", "kind": "client", "name": "BooleanLiteral", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "470", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "471", "name": "getAll", + "isExactName": false, "resourceName": "BooleanLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -7944,12 +8047,14 @@ "$id": "474", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "475", "name": "getDefault", + "isExactName": false, "resourceName": "BooleanLiteral", "doc": "Get models that will return the default object", "accessibility": "public", @@ -8041,12 +8146,14 @@ "$id": "478", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "479", "name": "putAll", + "isExactName": false, "resourceName": "BooleanLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -8177,12 +8284,14 @@ "$id": "484", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "485", "name": "putDefault", + "isExactName": false, "resourceName": "BooleanLiteral", "doc": "Put a body with default properties.", "accessibility": "public", @@ -8356,18 +8465,21 @@ "$id": "493", "kind": "client", "name": "UnionStringLiteral", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "494", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "495", "name": "getAll", + "isExactName": false, "resourceName": "UnionStringLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -8459,12 +8571,14 @@ "$id": "498", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "499", "name": "getDefault", + "isExactName": false, "resourceName": "UnionStringLiteral", "doc": "Get models that will return the default object", "accessibility": "public", @@ -8556,12 +8670,14 @@ "$id": "502", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "503", "name": "putAll", + "isExactName": false, "resourceName": "UnionStringLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -8692,12 +8808,14 @@ "$id": "508", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "509", "name": "putDefault", + "isExactName": false, "resourceName": "UnionStringLiteral", "doc": "Put a body with default properties.", "accessibility": "public", @@ -8871,18 +8989,21 @@ "$id": "517", "kind": "client", "name": "UnionIntLiteral", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "518", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "519", "name": "getAll", + "isExactName": false, "resourceName": "UnionIntLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -8974,12 +9095,14 @@ "$id": "522", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "523", "name": "getDefault", + "isExactName": false, "resourceName": "UnionIntLiteral", "doc": "Get models that will return the default object", "accessibility": "public", @@ -9071,12 +9194,14 @@ "$id": "526", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "527", "name": "putAll", + "isExactName": false, "resourceName": "UnionIntLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -9207,12 +9332,14 @@ "$id": "532", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "533", "name": "putDefault", + "isExactName": false, "resourceName": "UnionIntLiteral", "doc": "Put a body with default properties.", "accessibility": "public", @@ -9386,18 +9513,21 @@ "$id": "541", "kind": "client", "name": "UnionFloatLiteral", + "isExactName": false, "namespace": "Type.Property.Optional", "methods": [ { "$id": "542", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "543", "name": "getAll", + "isExactName": false, "resourceName": "UnionFloatLiteral", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -9489,12 +9619,14 @@ "$id": "546", "kind": "basic", "name": "getDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return the default object", "operation": { "$id": "547", "name": "getDefault", + "isExactName": false, "resourceName": "UnionFloatLiteral", "doc": "Get models that will return the default object", "accessibility": "public", @@ -9586,12 +9718,14 @@ "$id": "550", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "551", "name": "putAll", + "isExactName": false, "resourceName": "UnionFloatLiteral", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -9722,12 +9856,14 @@ "$id": "556", "kind": "basic", "name": "putDefault", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with default properties.", "operation": { "$id": "557", "name": "putDefault", + "isExactName": false, "resourceName": "UnionFloatLiteral", "doc": "Put a body with default properties.", "accessibility": "public", @@ -9901,6 +10037,7 @@ "$id": "565", "kind": "client", "name": "RequiredAndOptional", + "isExactName": false, "namespace": "Type.Property.Optional", "doc": "Test optional and required properties", "methods": [ @@ -9908,12 +10045,14 @@ "$id": "566", "kind": "basic", "name": "getAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return all properties in the model", "operation": { "$id": "567", "name": "getAll", + "isExactName": false, "resourceName": "RequiredAndOptional", "doc": "Get models that will return all properties in the model", "accessibility": "public", @@ -10005,12 +10144,14 @@ "$id": "570", "kind": "basic", "name": "getRequiredOnly", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get models that will return only the required properties", "operation": { "$id": "571", "name": "getRequiredOnly", + "isExactName": false, "resourceName": "RequiredAndOptional", "doc": "Get models that will return only the required properties", "accessibility": "public", @@ -10102,12 +10243,14 @@ "$id": "574", "kind": "basic", "name": "putAll", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with all properties present.", "operation": { "$id": "575", "name": "putAll", + "isExactName": false, "resourceName": "RequiredAndOptional", "doc": "Put a body with all properties present.", "accessibility": "public", @@ -10238,12 +10381,14 @@ "$id": "580", "kind": "basic", "name": "putRequiredOnly", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put a body with only required properties.", "operation": { "$id": "581", "name": "putRequiredOnly", + "isExactName": false, "resourceName": "RequiredAndOptional", "doc": "Put a body with only required properties.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json index c7777971aab..39c57e1cce9 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/property/value-types/tspCodeModel.json @@ -2726,6 +2726,7 @@ "$id": "235", "kind": "client", "name": "ValueTypesClient", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "doc": "Illustrates various property types for models", "methods": [], @@ -2771,18 +2772,21 @@ "$id": "239", "kind": "client", "name": "Boolean", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "240", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "241", "name": "get", + "isExactName": false, "resourceName": "Boolean", "doc": "Get call", "accessibility": "public", @@ -2874,12 +2878,14 @@ "$id": "244", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "245", "name": "put", + "isExactName": false, "resourceName": "Boolean", "doc": "Put operation", "accessibility": "public", @@ -3055,18 +3061,21 @@ "$id": "253", "kind": "client", "name": "String", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "254", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "255", "name": "get", + "isExactName": false, "resourceName": "String", "doc": "Get call", "accessibility": "public", @@ -3158,12 +3167,14 @@ "$id": "258", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "259", "name": "put", + "isExactName": false, "resourceName": "String", "doc": "Put operation", "accessibility": "public", @@ -3339,18 +3350,21 @@ "$id": "267", "kind": "client", "name": "Bytes", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "268", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "269", "name": "get", + "isExactName": false, "resourceName": "Bytes", "doc": "Get call", "accessibility": "public", @@ -3442,12 +3456,14 @@ "$id": "272", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "273", "name": "put", + "isExactName": false, "resourceName": "Bytes", "doc": "Put operation", "accessibility": "public", @@ -3623,18 +3639,21 @@ "$id": "281", "kind": "client", "name": "Int", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "282", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "283", "name": "get", + "isExactName": false, "resourceName": "Int", "doc": "Get call", "accessibility": "public", @@ -3726,12 +3745,14 @@ "$id": "286", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "287", "name": "put", + "isExactName": false, "resourceName": "Int", "doc": "Put operation", "accessibility": "public", @@ -3907,18 +3928,21 @@ "$id": "295", "kind": "client", "name": "Float", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "296", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "297", "name": "get", + "isExactName": false, "resourceName": "Float", "doc": "Get call", "accessibility": "public", @@ -4010,12 +4034,14 @@ "$id": "300", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "301", "name": "put", + "isExactName": false, "resourceName": "Float", "doc": "Put operation", "accessibility": "public", @@ -4191,18 +4217,21 @@ "$id": "309", "kind": "client", "name": "Decimal", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "310", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "311", "name": "get", + "isExactName": false, "resourceName": "Decimal", "doc": "Get call", "accessibility": "public", @@ -4294,12 +4323,14 @@ "$id": "314", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "315", "name": "put", + "isExactName": false, "resourceName": "Decimal", "doc": "Put operation", "accessibility": "public", @@ -4475,18 +4506,21 @@ "$id": "323", "kind": "client", "name": "Decimal128", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "324", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "325", "name": "get", + "isExactName": false, "resourceName": "Decimal128", "doc": "Get call", "accessibility": "public", @@ -4578,12 +4612,14 @@ "$id": "328", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "329", "name": "put", + "isExactName": false, "resourceName": "Decimal128", "doc": "Put operation", "accessibility": "public", @@ -4759,18 +4795,21 @@ "$id": "337", "kind": "client", "name": "Datetime", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "338", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "339", "name": "get", + "isExactName": false, "resourceName": "Datetime", "doc": "Get call", "accessibility": "public", @@ -4862,12 +4901,14 @@ "$id": "342", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "343", "name": "put", + "isExactName": false, "resourceName": "Datetime", "doc": "Put operation", "accessibility": "public", @@ -5043,18 +5084,21 @@ "$id": "351", "kind": "client", "name": "Duration", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "352", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "353", "name": "get", + "isExactName": false, "resourceName": "Duration", "doc": "Get call", "accessibility": "public", @@ -5146,12 +5190,14 @@ "$id": "356", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "357", "name": "put", + "isExactName": false, "resourceName": "Duration", "doc": "Put operation", "accessibility": "public", @@ -5327,18 +5373,21 @@ "$id": "365", "kind": "client", "name": "Enum", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "366", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "367", "name": "get", + "isExactName": false, "resourceName": "Enum", "doc": "Get call", "accessibility": "public", @@ -5430,12 +5479,14 @@ "$id": "370", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "371", "name": "put", + "isExactName": false, "resourceName": "Enum", "doc": "Put operation", "accessibility": "public", @@ -5611,18 +5662,21 @@ "$id": "379", "kind": "client", "name": "ExtensibleEnum", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "380", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "381", "name": "get", + "isExactName": false, "resourceName": "ExtensibleEnum", "doc": "Get call", "accessibility": "public", @@ -5714,12 +5768,14 @@ "$id": "384", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "385", "name": "put", + "isExactName": false, "resourceName": "ExtensibleEnum", "doc": "Put operation", "accessibility": "public", @@ -5895,18 +5951,21 @@ "$id": "393", "kind": "client", "name": "Model", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "394", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "395", "name": "get", + "isExactName": false, "resourceName": "Model", "doc": "Get call", "accessibility": "public", @@ -5998,12 +6057,14 @@ "$id": "398", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "399", "name": "put", + "isExactName": false, "resourceName": "Model", "doc": "Put operation", "accessibility": "public", @@ -6179,18 +6240,21 @@ "$id": "407", "kind": "client", "name": "CollectionsString", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "408", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "409", "name": "get", + "isExactName": false, "resourceName": "CollectionsString", "doc": "Get call", "accessibility": "public", @@ -6282,12 +6346,14 @@ "$id": "412", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "413", "name": "put", + "isExactName": false, "resourceName": "CollectionsString", "doc": "Put operation", "accessibility": "public", @@ -6463,18 +6529,21 @@ "$id": "421", "kind": "client", "name": "CollectionsInt", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "422", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "423", "name": "get", + "isExactName": false, "resourceName": "CollectionsInt", "doc": "Get call", "accessibility": "public", @@ -6566,12 +6635,14 @@ "$id": "426", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "427", "name": "put", + "isExactName": false, "resourceName": "CollectionsInt", "doc": "Put operation", "accessibility": "public", @@ -6747,18 +6818,21 @@ "$id": "435", "kind": "client", "name": "CollectionsModel", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "436", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "437", "name": "get", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Get call", "accessibility": "public", @@ -6850,12 +6924,14 @@ "$id": "440", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "441", "name": "put", + "isExactName": false, "resourceName": "CollectionsModel", "doc": "Put operation", "accessibility": "public", @@ -7031,18 +7107,21 @@ "$id": "449", "kind": "client", "name": "DictionaryString", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "450", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "451", "name": "get", + "isExactName": false, "resourceName": "DictionaryString", "doc": "Get call", "accessibility": "public", @@ -7134,12 +7213,14 @@ "$id": "454", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "455", "name": "put", + "isExactName": false, "resourceName": "DictionaryString", "doc": "Put operation", "accessibility": "public", @@ -7315,18 +7396,21 @@ "$id": "463", "kind": "client", "name": "Never", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "464", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "465", "name": "get", + "isExactName": false, "resourceName": "Never", "doc": "Get call", "accessibility": "public", @@ -7418,12 +7502,14 @@ "$id": "468", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "469", "name": "put", + "isExactName": false, "resourceName": "Never", "doc": "Put operation", "accessibility": "public", @@ -7599,18 +7685,21 @@ "$id": "477", "kind": "client", "name": "UnknownString", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "478", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "479", "name": "get", + "isExactName": false, "resourceName": "UnknownString", "doc": "Get call", "accessibility": "public", @@ -7702,12 +7791,14 @@ "$id": "482", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "483", "name": "put", + "isExactName": false, "resourceName": "UnknownString", "doc": "Put operation", "accessibility": "public", @@ -7883,18 +7974,21 @@ "$id": "491", "kind": "client", "name": "UnknownInt", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "492", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "493", "name": "get", + "isExactName": false, "resourceName": "UnknownInt", "doc": "Get call", "accessibility": "public", @@ -7986,12 +8080,14 @@ "$id": "496", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "497", "name": "put", + "isExactName": false, "resourceName": "UnknownInt", "doc": "Put operation", "accessibility": "public", @@ -8167,18 +8263,21 @@ "$id": "505", "kind": "client", "name": "UnknownDict", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "506", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "507", "name": "get", + "isExactName": false, "resourceName": "UnknownDict", "doc": "Get call", "accessibility": "public", @@ -8270,12 +8369,14 @@ "$id": "510", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "511", "name": "put", + "isExactName": false, "resourceName": "UnknownDict", "doc": "Put operation", "accessibility": "public", @@ -8451,18 +8552,21 @@ "$id": "519", "kind": "client", "name": "UnknownArray", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "520", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "521", "name": "get", + "isExactName": false, "resourceName": "UnknownArray", "doc": "Get call", "accessibility": "public", @@ -8554,12 +8658,14 @@ "$id": "524", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "525", "name": "put", + "isExactName": false, "resourceName": "UnknownArray", "doc": "Put operation", "accessibility": "public", @@ -8735,18 +8841,21 @@ "$id": "533", "kind": "client", "name": "StringLiteral", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "534", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "535", "name": "get", + "isExactName": false, "resourceName": "StringLiteral", "doc": "Get call", "accessibility": "public", @@ -8838,12 +8947,14 @@ "$id": "538", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "539", "name": "put", + "isExactName": false, "resourceName": "StringLiteral", "doc": "Put operation", "accessibility": "public", @@ -9019,18 +9130,21 @@ "$id": "547", "kind": "client", "name": "IntLiteral", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "548", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "549", "name": "get", + "isExactName": false, "resourceName": "IntLiteral", "doc": "Get call", "accessibility": "public", @@ -9122,12 +9236,14 @@ "$id": "552", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "553", "name": "put", + "isExactName": false, "resourceName": "IntLiteral", "doc": "Put operation", "accessibility": "public", @@ -9303,18 +9419,21 @@ "$id": "561", "kind": "client", "name": "FloatLiteral", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "562", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "563", "name": "get", + "isExactName": false, "resourceName": "FloatLiteral", "doc": "Get call", "accessibility": "public", @@ -9406,12 +9525,14 @@ "$id": "566", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "567", "name": "put", + "isExactName": false, "resourceName": "FloatLiteral", "doc": "Put operation", "accessibility": "public", @@ -9587,18 +9708,21 @@ "$id": "575", "kind": "client", "name": "BooleanLiteral", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "576", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "577", "name": "get", + "isExactName": false, "resourceName": "BooleanLiteral", "doc": "Get call", "accessibility": "public", @@ -9690,12 +9814,14 @@ "$id": "580", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "581", "name": "put", + "isExactName": false, "resourceName": "BooleanLiteral", "doc": "Put operation", "accessibility": "public", @@ -9871,18 +9997,21 @@ "$id": "589", "kind": "client", "name": "UnionStringLiteral", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "590", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "591", "name": "get", + "isExactName": false, "resourceName": "UnionStringLiteral", "doc": "Get call", "accessibility": "public", @@ -9974,12 +10103,14 @@ "$id": "594", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "595", "name": "put", + "isExactName": false, "resourceName": "UnionStringLiteral", "doc": "Put operation", "accessibility": "public", @@ -10155,18 +10286,21 @@ "$id": "603", "kind": "client", "name": "UnionIntLiteral", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "604", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "605", "name": "get", + "isExactName": false, "resourceName": "UnionIntLiteral", "doc": "Get call", "accessibility": "public", @@ -10258,12 +10392,14 @@ "$id": "608", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "609", "name": "put", + "isExactName": false, "resourceName": "UnionIntLiteral", "doc": "Put operation", "accessibility": "public", @@ -10439,18 +10575,21 @@ "$id": "617", "kind": "client", "name": "UnionFloatLiteral", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "618", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "619", "name": "get", + "isExactName": false, "resourceName": "UnionFloatLiteral", "doc": "Get call", "accessibility": "public", @@ -10542,12 +10681,14 @@ "$id": "622", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "623", "name": "put", + "isExactName": false, "resourceName": "UnionFloatLiteral", "doc": "Put operation", "accessibility": "public", @@ -10723,18 +10864,21 @@ "$id": "631", "kind": "client", "name": "UnionEnumValue", + "isExactName": false, "namespace": "Type.Property.ValueTypes", "methods": [ { "$id": "632", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Get call", "operation": { "$id": "633", "name": "get", + "isExactName": false, "resourceName": "UnionEnumValue", "doc": "Get call", "accessibility": "public", @@ -10826,12 +10970,14 @@ "$id": "636", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "Put operation", "operation": { "$id": "637", "name": "put", + "isExactName": false, "resourceName": "UnionEnumValue", "doc": "Put operation", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json index 086e7dc50cf..9a570c4e8ac 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/scalar/tspCodeModel.json @@ -435,6 +435,7 @@ "$id": "51", "kind": "client", "name": "ScalarClient", + "isExactName": false, "namespace": "Type.Scalar", "methods": [], "parameters": [ @@ -479,18 +480,21 @@ "$id": "55", "kind": "client", "name": "String", + "isExactName": false, "namespace": "Type.Scalar", "methods": [ { "$id": "56", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "get string value", "operation": { "$id": "57", "name": "get", + "isExactName": false, "resourceName": "String", "doc": "get string value", "accessibility": "public", @@ -594,12 +598,14 @@ "$id": "61", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "put string value", "operation": { "$id": "62", "name": "put", + "isExactName": false, "resourceName": "String", "doc": "put string value", "accessibility": "public", @@ -781,18 +787,21 @@ "$id": "72", "kind": "client", "name": "Boolean", + "isExactName": false, "namespace": "Type.Scalar", "methods": [ { "$id": "73", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "get boolean value", "operation": { "$id": "74", "name": "get", + "isExactName": false, "resourceName": "Boolean", "doc": "get boolean value", "accessibility": "public", @@ -896,12 +905,14 @@ "$id": "78", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "put boolean value", "operation": { "$id": "79", "name": "put", + "isExactName": false, "resourceName": "Boolean", "doc": "put boolean value", "accessibility": "public", @@ -1083,18 +1094,21 @@ "$id": "89", "kind": "client", "name": "Unknown", + "isExactName": false, "namespace": "Type.Scalar", "methods": [ { "$id": "90", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "get unknown value", "operation": { "$id": "91", "name": "get", + "isExactName": false, "resourceName": "Unknown", "doc": "get unknown value", "accessibility": "public", @@ -1198,12 +1212,14 @@ "$id": "95", "kind": "basic", "name": "put", + "isExactName": false, "accessibility": "public", "apiVersions": [], "doc": "put unknown value", "operation": { "$id": "96", "name": "put", + "isExactName": false, "resourceName": "Unknown", "doc": "put unknown value", "accessibility": "public", @@ -1385,6 +1401,7 @@ "$id": "106", "kind": "client", "name": "DecimalType", + "isExactName": false, "namespace": "Type.Scalar", "doc": "Decimal type", "methods": [ @@ -1392,11 +1409,13 @@ "$id": "107", "kind": "basic", "name": "responseBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "108", "name": "responseBody", + "isExactName": false, "resourceName": "DecimalType", "accessibility": "public", "parameters": [ @@ -1499,11 +1518,13 @@ "$id": "112", "kind": "basic", "name": "requestBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "113", "name": "requestBody", + "isExactName": false, "resourceName": "DecimalType", "accessibility": "public", "parameters": [ @@ -1639,11 +1660,13 @@ "$id": "120", "kind": "basic", "name": "requestParameter", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "121", "name": "requestParameter", + "isExactName": false, "resourceName": "DecimalType", "accessibility": "public", "parameters": [ @@ -1771,6 +1794,7 @@ "$id": "129", "kind": "client", "name": "Decimal128Type", + "isExactName": false, "namespace": "Type.Scalar", "doc": "Decimal128 type", "methods": [ @@ -1778,11 +1802,13 @@ "$id": "130", "kind": "basic", "name": "responseBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "131", "name": "responseBody", + "isExactName": false, "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ @@ -1885,11 +1911,13 @@ "$id": "135", "kind": "basic", "name": "requestBody", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "136", "name": "requestBody", + "isExactName": false, "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ @@ -2025,11 +2053,13 @@ "$id": "143", "kind": "basic", "name": "requestParameter", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "144", "name": "requestParameter", + "isExactName": false, "resourceName": "Decimal128Type", "accessibility": "public", "parameters": [ @@ -2157,6 +2187,7 @@ "$id": "152", "kind": "client", "name": "DecimalVerify", + "isExactName": false, "namespace": "Type.Scalar", "doc": "Decimal type verification", "methods": [ @@ -2164,11 +2195,13 @@ "$id": "153", "kind": "basic", "name": "prepareVerify", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "154", "name": "prepareVerify", + "isExactName": false, "resourceName": "DecimalVerify", "accessibility": "public", "parameters": [ @@ -2270,11 +2303,13 @@ "$id": "159", "kind": "basic", "name": "verify", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "160", "name": "verify", + "isExactName": false, "resourceName": "DecimalVerify", "accessibility": "public", "parameters": [ @@ -2453,6 +2488,7 @@ "$id": "170", "kind": "client", "name": "Decimal128Verify", + "isExactName": false, "namespace": "Type.Scalar", "doc": "Decimal128 type verification", "methods": [ @@ -2460,11 +2496,13 @@ "$id": "171", "kind": "basic", "name": "prepareVerify", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "172", "name": "prepareVerify", + "isExactName": false, "resourceName": "Decimal128Verify", "accessibility": "public", "parameters": [ @@ -2555,11 +2593,13 @@ "$id": "175", "kind": "basic", "name": "verify", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "176", "name": "verify", + "isExactName": false, "resourceName": "Decimal128Verify", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json index 3d5cb3d3635..aceedcc075a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/type/union/tspCodeModel.json @@ -2194,6 +2194,7 @@ "$id": "159", "kind": "client", "name": "UnionClient", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe scenarios for various combinations of unions.", "methods": [], @@ -2239,6 +2240,7 @@ "$id": "163", "kind": "client", "name": "StringsOnly", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of string \"a\" | \"b\" | \"c\"", "methods": [ @@ -2246,11 +2248,13 @@ "$id": "164", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "165", "name": "get", + "isExactName": false, "resourceName": "StringsOnly", "accessibility": "public", "parameters": [ @@ -2341,11 +2345,13 @@ "$id": "168", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "169", "name": "send", + "isExactName": false, "resourceName": "StringsOnly", "accessibility": "public", "parameters": [ @@ -2518,6 +2524,7 @@ "$id": "177", "kind": "client", "name": "StringExtensible", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of string string | \"b\" | \"c\"", "methods": [ @@ -2525,11 +2532,13 @@ "$id": "178", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "179", "name": "get", + "isExactName": false, "resourceName": "StringExtensible", "accessibility": "public", "parameters": [ @@ -2620,11 +2629,13 @@ "$id": "182", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "183", "name": "send", + "isExactName": false, "resourceName": "StringExtensible", "accessibility": "public", "parameters": [ @@ -2797,6 +2808,7 @@ "$id": "191", "kind": "client", "name": "StringExtensibleNamed", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of string string | \"b\" | \"c\" but where the union is named and some of the variants are named", "methods": [ @@ -2804,11 +2816,13 @@ "$id": "192", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "193", "name": "get", + "isExactName": false, "resourceName": "StringExtensibleNamed", "accessibility": "public", "parameters": [ @@ -2899,11 +2913,13 @@ "$id": "196", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "197", "name": "send", + "isExactName": false, "resourceName": "StringExtensibleNamed", "accessibility": "public", "parameters": [ @@ -3076,6 +3092,7 @@ "$id": "205", "kind": "client", "name": "IntsOnly", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of integer 1 | 2 | 3", "methods": [ @@ -3083,11 +3100,13 @@ "$id": "206", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "207", "name": "get", + "isExactName": false, "resourceName": "IntsOnly", "accessibility": "public", "parameters": [ @@ -3178,11 +3197,13 @@ "$id": "210", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "211", "name": "send", + "isExactName": false, "resourceName": "IntsOnly", "accessibility": "public", "parameters": [ @@ -3355,6 +3376,7 @@ "$id": "219", "kind": "client", "name": "FloatsOnly", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of floats 1.1 | 2.2 | 3.3", "methods": [ @@ -3362,11 +3384,13 @@ "$id": "220", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "221", "name": "get", + "isExactName": false, "resourceName": "FloatsOnly", "accessibility": "public", "parameters": [ @@ -3457,11 +3481,13 @@ "$id": "224", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "225", "name": "send", + "isExactName": false, "resourceName": "FloatsOnly", "accessibility": "public", "parameters": [ @@ -3634,6 +3660,7 @@ "$id": "233", "kind": "client", "name": "ModelsOnly", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of models", "methods": [ @@ -3641,11 +3668,13 @@ "$id": "234", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "235", "name": "get", + "isExactName": false, "resourceName": "ModelsOnly", "accessibility": "public", "parameters": [ @@ -3736,11 +3765,13 @@ "$id": "238", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "239", "name": "send", + "isExactName": false, "resourceName": "ModelsOnly", "accessibility": "public", "parameters": [ @@ -3913,6 +3944,7 @@ "$id": "247", "kind": "client", "name": "EnumsOnly", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of 2 different enums", "methods": [ @@ -3920,11 +3952,13 @@ "$id": "248", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "249", "name": "get", + "isExactName": false, "resourceName": "EnumsOnly", "accessibility": "public", "parameters": [ @@ -4015,11 +4049,13 @@ "$id": "252", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "253", "name": "send", + "isExactName": false, "resourceName": "EnumsOnly", "accessibility": "public", "parameters": [ @@ -4192,6 +4228,7 @@ "$id": "261", "kind": "client", "name": "StringAndArray", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of a string and an array of strings", "methods": [ @@ -4199,11 +4236,13 @@ "$id": "262", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "263", "name": "get", + "isExactName": false, "resourceName": "StringAndArray", "accessibility": "public", "parameters": [ @@ -4294,11 +4333,13 @@ "$id": "266", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "267", "name": "send", + "isExactName": false, "resourceName": "StringAndArray", "accessibility": "public", "parameters": [ @@ -4471,6 +4512,7 @@ "$id": "275", "kind": "client", "name": "MixedLiterals", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of floats \"a\" | 2 | 3.3", "methods": [ @@ -4478,11 +4520,13 @@ "$id": "276", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "277", "name": "get", + "isExactName": false, "resourceName": "MixedLiterals", "accessibility": "public", "parameters": [ @@ -4573,11 +4617,13 @@ "$id": "280", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "281", "name": "send", + "isExactName": false, "resourceName": "MixedLiterals", "accessibility": "public", "parameters": [ @@ -4750,6 +4796,7 @@ "$id": "289", "kind": "client", "name": "MixedTypes", + "isExactName": false, "namespace": "Type.Union", "doc": "Describe union of floats \"a\" | 2 | 3.3", "methods": [ @@ -4757,11 +4804,13 @@ "$id": "290", "kind": "basic", "name": "get", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "291", "name": "get", + "isExactName": false, "resourceName": "MixedTypes", "accessibility": "public", "parameters": [ @@ -4852,11 +4901,13 @@ "$id": "294", "kind": "basic", "name": "send", + "isExactName": false, "accessibility": "public", "apiVersions": [], "operation": { "$id": "295", "name": "send", + "isExactName": false, "resourceName": "MixedTypes", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json index b3f8a8eeb6b..6bc5de0a2e6 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v1/tspCodeModel.json @@ -185,6 +185,7 @@ "$id": "15", "kind": "client", "name": "AddedClient", + "isExactName": false, "namespace": "Versioning.Added", "doc": "Test for the `@added` decorator.", "methods": [ @@ -192,6 +193,7 @@ "$id": "16", "kind": "basic", "name": "v1", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -199,6 +201,7 @@ "operation": { "$id": "17", "name": "v1", + "isExactName": false, "resourceName": "Added", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json index 71df235ffa0..b171bca6391 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/added/v2/tspCodeModel.json @@ -476,6 +476,7 @@ "$id": "41", "kind": "client", "name": "AddedClient", + "isExactName": false, "namespace": "Versioning.Added", "doc": "Test for the `@added` decorator.", "methods": [ @@ -483,6 +484,7 @@ "$id": "42", "kind": "basic", "name": "v1", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -491,6 +493,7 @@ "operation": { "$id": "43", "name": "v1", + "isExactName": false, "resourceName": "Added", "accessibility": "public", "parameters": [ @@ -722,6 +725,7 @@ "$id": "54", "kind": "basic", "name": "v2", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v2" @@ -729,6 +733,7 @@ "operation": { "$id": "55", "name": "v2", + "isExactName": false, "resourceName": "Added", "accessibility": "public", "parameters": [ @@ -973,12 +978,14 @@ "$id": "66", "kind": "client", "name": "InterfaceV2", + "isExactName": false, "namespace": "Versioning.Added", "methods": [ { "$id": "67", "kind": "basic", "name": "v2InInterface", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v2" @@ -986,6 +993,7 @@ "operation": { "$id": "68", "name": "v2InInterface", + "isExactName": false, "resourceName": "InterfaceV2", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json index 966dc23033b..eb4c9c1d180 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v1/tspCodeModel.json @@ -154,6 +154,7 @@ "$id": "13", "kind": "client", "name": "MadeOptionalClient", + "isExactName": false, "namespace": "Versioning.MadeOptional", "doc": "Test for the `@madeOptional` decorator.", "methods": [ @@ -161,6 +162,7 @@ "$id": "14", "kind": "basic", "name": "test", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -168,6 +170,7 @@ "operation": { "$id": "15", "name": "test", + "isExactName": false, "resourceName": "MadeOptional", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json index ffa6e11e3bb..ee74fa74d6a 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/madeOptional/v2/tspCodeModel.json @@ -170,6 +170,7 @@ "$id": "14", "kind": "client", "name": "MadeOptionalClient", + "isExactName": false, "namespace": "Versioning.MadeOptional", "doc": "Test for the `@madeOptional` decorator.", "methods": [ @@ -177,6 +178,7 @@ "$id": "15", "kind": "basic", "name": "test", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -185,6 +187,7 @@ "operation": { "$id": "16", "name": "test", + "isExactName": false, "resourceName": "MadeOptional", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json index a55d0371c7c..abb7474e255 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v1/tspCodeModel.json @@ -641,6 +641,7 @@ "$id": "55", "kind": "client", "name": "RemovedClient", + "isExactName": false, "namespace": "Versioning.Removed", "doc": "Test for the `@removed` decorator.", "methods": [ @@ -648,6 +649,7 @@ "$id": "56", "kind": "basic", "name": "v1", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -656,6 +658,7 @@ "operation": { "$id": "57", "name": "v1", + "isExactName": false, "resourceName": "Removed", "doc": "This operation should not be generated with latest version's signature.", "accessibility": "public", @@ -840,6 +843,7 @@ "$id": "64", "kind": "basic", "name": "v2", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -847,6 +851,7 @@ "operation": { "$id": "65", "name": "v2", + "isExactName": false, "resourceName": "Removed", "accessibility": "public", "parameters": [ @@ -1078,6 +1083,7 @@ "$id": "76", "kind": "basic", "name": "modelV3", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -1086,6 +1092,7 @@ "operation": { "$id": "77", "name": "modelV3", + "isExactName": false, "resourceName": "Removed", "doc": "This operation will pass different paths and different request bodies based on different versions.", "accessibility": "public", @@ -1330,6 +1337,7 @@ "$id": "88", "kind": "client", "name": "InterfaceV1", + "isExactName": false, "namespace": "Versioning.Removed", "doc": "This operation group should not be generated with latest version.", "methods": [ @@ -1337,6 +1345,7 @@ "$id": "89", "kind": "basic", "name": "v1InInterface", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -1344,6 +1353,7 @@ "operation": { "$id": "90", "name": "v1InInterface", + "isExactName": false, "resourceName": "InterfaceV1", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json index d00192fcadc..f25bc66c375 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2/tspCodeModel.json @@ -408,6 +408,7 @@ "$id": "33", "kind": "client", "name": "RemovedClient", + "isExactName": false, "namespace": "Versioning.Removed", "doc": "Test for the `@removed` decorator.", "methods": [ @@ -415,6 +416,7 @@ "$id": "34", "kind": "basic", "name": "v2", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -424,6 +426,7 @@ "operation": { "$id": "35", "name": "v2", + "isExactName": false, "resourceName": "Removed", "accessibility": "public", "parameters": [ @@ -607,6 +610,7 @@ "$id": "42", "kind": "basic", "name": "modelV3", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -617,6 +621,7 @@ "operation": { "$id": "43", "name": "modelV3", + "isExactName": false, "resourceName": "Removed", "doc": "This operation will pass different paths and different request bodies based on different versions.", "accessibility": "public", diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json index 06531787319..29a97756c16 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/removed/v2Preview/tspCodeModel.json @@ -586,6 +586,7 @@ "$id": "51", "kind": "client", "name": "RemovedClient", + "isExactName": false, "namespace": "Versioning.Removed", "doc": "Test for the `@removed` decorator.", "methods": [ @@ -593,6 +594,7 @@ "$id": "52", "kind": "basic", "name": "v1", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -602,6 +604,7 @@ "operation": { "$id": "53", "name": "v1", + "isExactName": false, "resourceName": "Removed", "doc": "This operation should not be generated with latest version's signature.", "accessibility": "public", @@ -786,6 +789,7 @@ "$id": "60", "kind": "basic", "name": "v2", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -794,6 +798,7 @@ "operation": { "$id": "61", "name": "v2", + "isExactName": false, "resourceName": "Removed", "accessibility": "public", "parameters": [ @@ -1025,6 +1030,7 @@ "$id": "72", "kind": "basic", "name": "modelV3", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -1034,6 +1040,7 @@ "operation": { "$id": "73", "name": "modelV3", + "isExactName": false, "resourceName": "Removed", "doc": "This operation will pass different paths and different request bodies based on different versions.", "accessibility": "public", @@ -1279,6 +1286,7 @@ "$id": "84", "kind": "client", "name": "InterfaceV1", + "isExactName": false, "namespace": "Versioning.Removed", "doc": "This operation group should not be generated with latest version.", "methods": [ @@ -1286,6 +1294,7 @@ "$id": "85", "kind": "basic", "name": "v1InInterface", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -1294,6 +1303,7 @@ "operation": { "$id": "86", "name": "v1InInterface", + "isExactName": false, "resourceName": "InterfaceV1", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json index 6e6c0a464e0..482b9a96a6b 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v1/tspCodeModel.json @@ -269,6 +269,7 @@ "$id": "24", "kind": "client", "name": "RenamedFromClient", + "isExactName": false, "namespace": "Versioning.RenamedFrom", "doc": "Test for the `@renamedFrom` decorator.", "methods": [ @@ -276,6 +277,7 @@ "$id": "25", "kind": "basic", "name": "oldOp", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -283,6 +285,7 @@ "operation": { "$id": "26", "name": "oldOp", + "isExactName": false, "resourceName": "RenamedFrom", "accessibility": "public", "parameters": [ @@ -574,12 +577,14 @@ "$id": "41", "kind": "client", "name": "OldInterface", + "isExactName": false, "namespace": "Versioning.RenamedFrom", "methods": [ { "$id": "42", "kind": "basic", "name": "newOpInNewInterface", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -587,6 +592,7 @@ "operation": { "$id": "43", "name": "newOpInNewInterface", + "isExactName": false, "resourceName": "OldInterface", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json index c0615be18d7..cd784dc0a26 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/renamedFrom/v2/tspCodeModel.json @@ -285,6 +285,7 @@ "$id": "25", "kind": "client", "name": "RenamedFromClient", + "isExactName": false, "namespace": "Versioning.RenamedFrom", "doc": "Test for the `@renamedFrom` decorator.", "methods": [ @@ -292,6 +293,7 @@ "$id": "26", "kind": "basic", "name": "newOp", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -300,6 +302,7 @@ "operation": { "$id": "27", "name": "newOp", + "isExactName": false, "resourceName": "RenamedFrom", "accessibility": "public", "parameters": [ @@ -592,12 +595,14 @@ "$id": "42", "kind": "client", "name": "NewInterface", + "isExactName": false, "namespace": "Versioning.RenamedFrom", "methods": [ { "$id": "43", "kind": "basic", "name": "newOpInNewInterface", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -606,6 +611,7 @@ "operation": { "$id": "44", "name": "newOpInNewInterface", + "isExactName": false, "resourceName": "NewInterface", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json index 8ab8428096c..b6076d290a4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v1/tspCodeModel.json @@ -118,6 +118,7 @@ "$id": "12", "kind": "client", "name": "ReturnTypeChangedFromClient", + "isExactName": false, "namespace": "Versioning.ReturnTypeChangedFrom", "doc": "Test for the `@returnTypeChangedFrom` decorator.", "methods": [ @@ -125,6 +126,7 @@ "$id": "13", "kind": "basic", "name": "test", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -132,6 +134,7 @@ "operation": { "$id": "14", "name": "test", + "isExactName": false, "resourceName": "ReturnTypeChangedFrom", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json index 71c6782cb93..0ac7fe770f0 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/returnTypeChangedFrom/v2/tspCodeModel.json @@ -134,6 +134,7 @@ "$id": "13", "kind": "client", "name": "ReturnTypeChangedFromClient", + "isExactName": false, "namespace": "Versioning.ReturnTypeChangedFrom", "doc": "Test for the `@returnTypeChangedFrom` decorator.", "methods": [ @@ -141,6 +142,7 @@ "$id": "14", "kind": "basic", "name": "test", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -149,6 +151,7 @@ "operation": { "$id": "15", "name": "test", + "isExactName": false, "resourceName": "ReturnTypeChangedFrom", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json index 582a2a259d2..1e8b8a46feb 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v1/tspCodeModel.json @@ -154,6 +154,7 @@ "$id": "13", "kind": "client", "name": "TypeChangedFromClient", + "isExactName": false, "namespace": "Versioning.TypeChangedFrom", "doc": "Test for the `@typeChangedFrom` decorator.", "methods": [ @@ -161,6 +162,7 @@ "$id": "14", "kind": "basic", "name": "test", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1" @@ -168,6 +170,7 @@ "operation": { "$id": "15", "name": "test", + "isExactName": false, "resourceName": "TypeChangedFrom", "accessibility": "public", "parameters": [ diff --git a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json index ae079fce63c..97aa3c95392 100644 --- a/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Spector/http/versioning/typeChangedFrom/v2/tspCodeModel.json @@ -170,6 +170,7 @@ "$id": "14", "kind": "client", "name": "TypeChangedFromClient", + "isExactName": false, "namespace": "Versioning.TypeChangedFrom", "doc": "Test for the `@typeChangedFrom` decorator.", "methods": [ @@ -177,6 +178,7 @@ "$id": "15", "kind": "basic", "name": "test", + "isExactName": false, "accessibility": "public", "apiVersions": [ "v1", @@ -185,6 +187,7 @@ "operation": { "$id": "16", "name": "test", + "isExactName": false, "resourceName": "TypeChangedFrom", "accessibility": "public", "parameters": [ From 327dfcb23dd13c0ebb03cab5a33de841782e7401 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 15:16:07 +0000 Subject: [PATCH 12/15] Fix prettier formatting in client-converter.ts Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../http-client-csharp/emitter/src/lib/client-converter.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/http-client-csharp/emitter/src/lib/client-converter.ts b/packages/http-client-csharp/emitter/src/lib/client-converter.ts index 10df11470ec..2dbab230f56 100644 --- a/packages/http-client-csharp/emitter/src/lib/client-converter.ts +++ b/packages/http-client-csharp/emitter/src/lib/client-converter.ts @@ -71,7 +71,10 @@ function fromSdkClient( const isMultiService = isMultiServiceClient(client); const clientName = - !client.parent && isMultiService && !client.isExactName && !client.name.toLowerCase().endsWith("client") + !client.parent && + isMultiService && + !client.isExactName && + !client.name.toLowerCase().endsWith("client") ? `${client.name}Client` : client.name; From 8d6f9061cf55c5f062d6e06c568296efd922453b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 16:05:58 +0000 Subject: [PATCH 13/15] Address review feedback: relocate tests, simplify, add TestData & customization tests Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../test/Unit/client-converter.test.ts | 25 + .../emitter/test/Unit/model-type.test.ts | 131 -- .../test/Unit/operation-converter.test.ts | 122 ++ .../src/Providers/ClientProvider.cs | 2 - .../RestClientProviderTests.cs | 26 +- ...ameMethodParameterPreservedInRestClient.cs | 22 + .../ModelProviders/ModelCustomizationTests.cs | 33 + .../MockInputModel.cs | 13 + .../CustomizedModel.cs | 12 + .../test/common/InputFactory.cs | 14 +- .../Local/Sample-TypeSpec/Sample-TypeSpec.tsp | 4 - .../Models/RoundTripModel.Serialization.cs | 12 - .../src/Generated/Models/RoundTripModel.cs | 7 +- .../Generated/SampleTypeSpecModelFactory.cs | 4 +- .../Local/Sample-TypeSpec/tspCodeModel.json | 1705 ++++++++--------- 15 files changed, 1082 insertions(+), 1050 deletions(-) create mode 100644 packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs create mode 100644 packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnEnum/MockInputModel.cs create mode 100644 packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnModel/CustomizedModel.cs diff --git a/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts b/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts index 04740be3c30..61629b4eab2 100644 --- a/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/client-converter.test.ts @@ -688,3 +688,28 @@ describe("client name suffix", () => { } }); }); + +describe("Test isExactName propagation on clients", () => { + let runner: TestHost; + + beforeEach(async () => { + runner = await createEmitterTestHost(); + }); + + it("propagates isExactName from @clientName decorator with exact() on a client", async () => { + const program = await typeSpecCompile( + ` + @@clientName(Azure.Csharp.Testing, Azure.ClientGenerator.Core.exact("snake_case_client"), "csharp"); + op test(): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const client = root.clients.find((c) => c.name === "snake_case_client"); + ok(client); + strictEqual(client.isExactName, true); + }); +}); diff --git a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts index bd697c85597..00830d4ed0f 100644 --- a/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/model-type.test.ts @@ -1285,101 +1285,6 @@ describe("Test isExactName propagation", () => { strictEqual(colorEnum.isExactName, true); }); - it("propagates isExactName from @clientName decorator with exact() on a method parameter", async () => { - const program = await typeSpecCompile( - ` - op test(@clientName(Azure.ClientGenerator.Core.exact("snake_case_param"), "csharp") regularName: string): void; - `, - runner, - { IsTCGCNeeded: true }, - ); - const context = createEmitterContext(program); - const sdkContext = await createCSharpSdkContext(context); - const [root] = createModel(sdkContext); - const methodParams = root.clients[0].methods[0].parameters; - const param = methodParams.find((p) => p.name === "snake_case_param"); - ok(param); - strictEqual(param.kind, "method"); - strictEqual(param.isExactName, true); - }); - - it("propagates isExactName from @clientName decorator with exact() on a query parameter", async () => { - const program = await typeSpecCompile( - ` - op test(@query @clientName(Azure.ClientGenerator.Core.exact("snake_case_query"), "csharp") regularName: string): void; - `, - runner, - { IsTCGCNeeded: true }, - ); - const context = createEmitterContext(program); - const sdkContext = await createCSharpSdkContext(context); - const [root] = createModel(sdkContext); - const params = root.clients[0].methods[0].operation.parameters; - const param = params.find((p) => p.name === "snake_case_query"); - ok(param); - strictEqual(param.kind, "query"); - strictEqual(param.isExactName, true); - }); - - it("propagates isExactName from @clientName decorator with exact() on a header parameter", async () => { - const program = await typeSpecCompile( - ` - op test(@header @clientName(Azure.ClientGenerator.Core.exact("snake_case_header"), "csharp") regularName: string): void; - `, - runner, - { IsTCGCNeeded: true }, - ); - const context = createEmitterContext(program); - const sdkContext = await createCSharpSdkContext(context); - const [root] = createModel(sdkContext); - const params = root.clients[0].methods[0].operation.parameters; - const param = params.find((p) => p.name === "snake_case_header"); - ok(param); - strictEqual(param.kind, "header"); - strictEqual(param.isExactName, true); - }); - - it("propagates isExactName from @clientName decorator with exact() on a path parameter", async () => { - const program = await typeSpecCompile( - ` - @route("/{regularName}") - op test(@path @clientName(Azure.ClientGenerator.Core.exact("snake_case_path"), "csharp") regularName: string): void; - `, - runner, - { IsTCGCNeeded: true }, - ); - const context = createEmitterContext(program); - const sdkContext = await createCSharpSdkContext(context); - const [root] = createModel(sdkContext); - const params = root.clients[0].methods[0].operation.parameters; - const param = params.find((p) => p.name === "snake_case_path"); - ok(param); - strictEqual(param.kind, "path"); - strictEqual(param.isExactName, true); - }); - - it("propagates isExactName from @clientName decorator with exact() on a body parameter", async () => { - const program = await typeSpecCompile( - ` - model Book { - name: string; - } - op test(@body @clientName(Azure.ClientGenerator.Core.exact("snake_case_body"), "csharp") regularName: Book): void; - `, - runner, - { IsTCGCNeeded: true }, - ); - const context = createEmitterContext(program); - const sdkContext = await createCSharpSdkContext(context); - const [root] = createModel(sdkContext); - const bodyParam = root.clients[0].methods[0].operation.parameters.find( - (p) => p.name === "snake_case_body", - ); - ok(bodyParam); - strictEqual(bodyParam.kind, "body"); - strictEqual(bodyParam.isExactName, true); - }); - it("propagates isExactName from @clientName decorator with exact() on an enum value", async () => { const program = await typeSpecCompile( ` @@ -1407,40 +1312,4 @@ describe("Test isExactName propagation", () => { ok(regularValue); strictEqual(regularValue.isExactName, false); }); - - it("propagates isExactName from @clientName decorator with exact() on a client", async () => { - const program = await typeSpecCompile( - ` - @@clientName(Azure.Csharp.Testing, Azure.ClientGenerator.Core.exact("snake_case_client"), "csharp"); - op test(): void; - `, - runner, - { IsTCGCNeeded: true }, - ); - const context = createEmitterContext(program); - const sdkContext = await createCSharpSdkContext(context); - const [root] = createModel(sdkContext); - const client = root.clients.find((c) => c.name === "snake_case_client"); - ok(client); - strictEqual(client.isExactName, true); - }); - - it("propagates isExactName from @clientName decorator with exact() on an operation", async () => { - const program = await typeSpecCompile( - ` - @clientName(Azure.ClientGenerator.Core.exact("snake_case_op"), "csharp") - op test(): void; - `, - runner, - { IsTCGCNeeded: true }, - ); - const context = createEmitterContext(program); - const sdkContext = await createCSharpSdkContext(context); - const [root] = createModel(sdkContext); - const method = root.clients[0].methods.find((m) => m.name === "snake_case_op"); - ok(method); - strictEqual(method.isExactName, true); - strictEqual(method.operation.name, "snake_case_op"); - strictEqual(method.operation.isExactName, true); - }); }); diff --git a/packages/http-client-csharp/emitter/test/Unit/operation-converter.test.ts b/packages/http-client-csharp/emitter/test/Unit/operation-converter.test.ts index 2755a742a7a..7671caabb97 100644 --- a/packages/http-client-csharp/emitter/test/Unit/operation-converter.test.ts +++ b/packages/http-client-csharp/emitter/test/Unit/operation-converter.test.ts @@ -500,3 +500,125 @@ describe("Operation Converter", () => { }); }); }); + +describe("Test isExactName propagation on operations and parameters", () => { + let runner: TestHost; + + beforeEach(async () => { + runner = await createEmitterTestHost(); + }); + + it("propagates isExactName from @clientName decorator with exact() on a method parameter", async () => { + const program = await typeSpecCompile( + ` + op test(@clientName(Azure.ClientGenerator.Core.exact("snake_case_param"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const methodParams = root.clients[0].methods[0].parameters; + const param = methodParams.find((p) => p.name === "snake_case_param"); + ok(param); + strictEqual(param.kind, "method"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a query parameter", async () => { + const program = await typeSpecCompile( + ` + op test(@query @clientName(Azure.ClientGenerator.Core.exact("snake_case_query"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const params = root.clients[0].methods[0].operation.parameters; + const param = params.find((p) => p.name === "snake_case_query"); + ok(param); + strictEqual(param.kind, "query"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a header parameter", async () => { + const program = await typeSpecCompile( + ` + op test(@header @clientName(Azure.ClientGenerator.Core.exact("snake_case_header"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const params = root.clients[0].methods[0].operation.parameters; + const param = params.find((p) => p.name === "snake_case_header"); + ok(param); + strictEqual(param.kind, "header"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a path parameter", async () => { + const program = await typeSpecCompile( + ` + @route("/{regularName}") + op test(@path @clientName(Azure.ClientGenerator.Core.exact("snake_case_path"), "csharp") regularName: string): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const params = root.clients[0].methods[0].operation.parameters; + const param = params.find((p) => p.name === "snake_case_path"); + ok(param); + strictEqual(param.kind, "path"); + strictEqual(param.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on a body parameter", async () => { + const program = await typeSpecCompile( + ` + model Book { + name: string; + } + op test(@body @clientName(Azure.ClientGenerator.Core.exact("snake_case_body"), "csharp") regularName: Book): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const bodyParam = root.clients[0].methods[0].operation.parameters.find( + (p) => p.name === "snake_case_body", + ); + ok(bodyParam); + strictEqual(bodyParam.kind, "body"); + strictEqual(bodyParam.isExactName, true); + }); + + it("propagates isExactName from @clientName decorator with exact() on an operation", async () => { + const program = await typeSpecCompile( + ` + @clientName(Azure.ClientGenerator.Core.exact("snake_case_op"), "csharp") + op test(): void; + `, + runner, + { IsTCGCNeeded: true }, + ); + const context = createEmitterContext(program); + const sdkContext = await createCSharpSdkContext(context); + const [root] = createModel(sdkContext); + const method = root.clients[0].methods.find((m) => m.name === "snake_case_op"); + ok(method); + strictEqual(method.isExactName, true); + strictEqual(method.operation.name, "snake_case_op"); + strictEqual(method.operation.isExactName, true); + }); +}); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs index 8a35c84ad2f..a0e522fb0ef 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/src/Providers/ClientProvider.cs @@ -214,8 +214,6 @@ private static void CleanOperationNames(InputClient inputClient) private static string GetCleanOperationName(InputServiceMethod serviceMethod) { - // When the operation name is marked as exact, preserve it verbatim without any casing - // transformations or convention-based renames (e.g. "List" -> "GetAll"). if (serviceMethod.IsExactName) { return serviceMethod.Operation.Name; diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs index fde492f4ca8..34c5e6f81f1 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/RestClientProviderTests.cs @@ -398,9 +398,6 @@ public async Task ParameterNamePreservedFromLastContractView() [Test] public void ExactNameMethodParameterPreservedInRestClient() { - // A method parameter marked with IsExactName must be preserved verbatim in the - // generated method signature — both as the C# parameter name and as the wire - // (serialized) name used by the rest client when building the request URI. var queryParam = InputFactory.QueryParameter( "api_key", InputPrimitiveType.String, @@ -420,26 +417,11 @@ public void ExactNameMethodParameterPreservedInRestClient() ]); var client = InputFactory.Client("TestClient", methods: [serviceMethod]); var clientProvider = new ClientProvider(client); - Assert.IsNotNull(clientProvider); - - var convenienceParams = RestClientProvider.GetMethodParameters(serviceMethod, ScmMethodKind.Convenience, clientProvider!); - Assert.IsNotNull(convenienceParams); - // C# parameter name preserves the exact-case name (not normalized to ApiKey or apiKey). - Assert.IsNotNull( - convenienceParams.FirstOrDefault(p => string.Equals(p.Name, "api_key", StringComparison.Ordinal)), - "Convenience method parameter should preserve the exact name 'api_key'."); - - var protocolParams = RestClientProvider.GetMethodParameters(serviceMethod, ScmMethodKind.Protocol, clientProvider!); - Assert.IsNotNull(protocolParams); - Assert.IsNotNull( - protocolParams.FirstOrDefault(p => string.Equals(p.Name, "api_key", StringComparison.Ordinal)), - "Protocol method parameter should preserve the exact name 'api_key'."); + var restClientProvider = new MockClientProvider(client, clientProvider); - // Validate the rest client appends the wire (serialized) name when building the URI. - var restClientProvider = clientProvider.RestClient; - var createRequestMethod = restClientProvider.Methods.Single(m => m.Signature.Name.StartsWith("CreateGetSomething")); - var body = createRequestMethod.BodyStatements!.ToDisplayString(); - StringAssert.Contains("api_key", body); + var writer = new TypeProviderWriter(restClientProvider); + var file = writer.Write(); + Assert.AreEqual(Helpers.GetExpectedFromFile(), file.Content); } [TestCase(true, true)] diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs new file mode 100644 index 00000000000..2603184c66e --- /dev/null +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs @@ -0,0 +1,22 @@ +// + +#nullable disable + +using System.ClientModel.Primitives; + +namespace Sample +{ + public partial class TestClient + { + internal global::System.ClientModel.Primitives.PipelineMessage CreateGetSomethingRequest(string apiKey, global::System.ClientModel.Primitives.RequestOptions options) + { + global::Sample.ClientUriBuilder uri = new global::Sample.ClientUriBuilder(); + uri.Reset(_endpoint); + uri.AppendQuery("api_key", apiKey, true); + global::System.ClientModel.Primitives.PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200); + global::System.ClientModel.Primitives.PipelineRequest request = message.Request; + message.Apply(options); + return message; + } + } +} diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs index dfcb63ccc74..5cdc9161163 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/ModelCustomizationTests.cs @@ -153,6 +153,39 @@ public async Task CustomCodeWinsOverIsExactName() Assert.AreEqual("AccessToken", modelTypeProvider.CanonicalView.Properties[0].Name); } + [Test] + public async Task CustomCodeWinsOverIsExactNameOnModel() + { + // A spec model marked with IsExactName has its exact-cased name preserved. + // If custom code renames that model via [CodeGenType], the custom code rename + // should still win. + await MockHelpers.LoadMockGeneratorAsync(compilation: async () => await Helpers.GetCompilationFromDirectoryAsync()); + + var props = new[] + { + InputFactory.Property("prop1", InputFactory.Array(InputPrimitiveType.String)) + }; + + var inputModel = InputFactory.Model("snake_case_model", properties: props, isExactName: true); + var modelTypeProvider = new ModelProvider(inputModel); + + AssertCommon(modelTypeProvider, "NewNamespace.Models", "CustomizedModel"); + } + + [Test] + public async Task CustomCodeWinsOverIsExactNameOnEnum() + { + // A spec enum marked with IsExactName has its exact-cased name preserved. + // If custom code renames that enum via [CodeGenType], the custom code rename + // should still win. + await MockHelpers.LoadMockGeneratorAsync(compilation: async () => await Helpers.GetCompilationFromDirectoryAsync()); + + var inputEnum = InputFactory.StringEnum("snake_case_enum", [("value", "value")], isExactName: true); + var enumProvider = new FixedEnumProvider(inputEnum, null); + + AssertCommon(enumProvider, "NewNamespace.Models", "CustomizedEnum"); + } + [Test] public async Task CanChangePropertyType() { diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnEnum/MockInputModel.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnEnum/MockInputModel.cs new file mode 100644 index 00000000000..ea7f849d321 --- /dev/null +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnEnum/MockInputModel.cs @@ -0,0 +1,13 @@ +#nullable disable + +using Sample; +using SampleTypeSpec; +using Microsoft.TypeSpec.Generator.Customizations; + +namespace NewNamespace.Models +{ + [CodeGenType("snake_case_enum")] + public enum CustomizedEnum + { + } +} diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnModel/CustomizedModel.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnModel/CustomizedModel.cs new file mode 100644 index 00000000000..fec4ec7c95c --- /dev/null +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/Providers/ModelProviders/TestData/ModelCustomizationTests/CustomCodeWinsOverIsExactNameOnModel/CustomizedModel.cs @@ -0,0 +1,12 @@ +#nullable disable + +using System; +using SampleTypeSpec; +using Microsoft.TypeSpec.Generator.Customizations; + +namespace NewNamespace.Models; + +[CodeGenType("snake_case_model")] +public partial class CustomizedModel +{ +} diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs index b10c61bb2d8..3395a1acab9 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/test/common/InputFactory.cs @@ -131,7 +131,8 @@ public static InputEnumType StringEnum( InputModelTypeUsage usage = InputModelTypeUsage.Input | InputModelTypeUsage.Output, bool isExtensible = false, string clientNamespace = "Sample.Models", - InputExternalTypeMetadata? external = null) + InputExternalTypeMetadata? external = null, + bool isExactName = false) { var enumValues = new List(); var enumType = Enum( @@ -142,7 +143,8 @@ public static InputEnumType StringEnum( usage: usage, isExtensible: isExtensible, clientNamespace: clientNamespace, - external: external); + external: external, + isExactName: isExactName); foreach (var (valueName, value) in values) { @@ -244,7 +246,8 @@ public static InputEnumType Enum( InputModelTypeUsage usage = InputModelTypeUsage.Output | InputModelTypeUsage.Input, bool isExtensible = false, string clientNamespace = "Sample.Models", - InputExternalTypeMetadata? external = null) + InputExternalTypeMetadata? external = null, + bool isExactName = false) { var enumType = new InputEnumType( name, @@ -257,7 +260,10 @@ public static InputEnumType Enum( usage, underlyingType, values, - isExtensible); + isExtensible) + { + IsExactName = isExactName, + }; if (external != null) { enumType.External = external; diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp index 0f87bbb470d..5e4fe46ddc1 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/Sample-TypeSpec.tsp @@ -212,10 +212,6 @@ model RoundTripModel { @doc("Required string, illustrating a reference type property.") requiredString: string; - @doc("a property whose name is preserved verbatim by the C# emitter via exact()") - @clientName(Azure.ClientGenerator.Core.exact("exact_name_property"), "csharp") - exactNameProperty?: string; - @doc("Required int, illustrating a value type property.") @encode(string) requiredInt: int32; diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs index 614d3fe24e3..0fa6f37b2d4 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.Serialization.cs @@ -99,11 +99,6 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } writer.WritePropertyName("requiredString"u8); writer.WriteStringValue(RequiredString); - if (Optional.IsDefined(exact_name_property)) - { - writer.WritePropertyName("exactNameProperty"u8); - writer.WriteStringValue(exact_name_property); - } writer.WritePropertyName("requiredInt"u8); writer.WriteStringValue(RequiredInt.ToString()); writer.WritePropertyName("requiredCollection"u8); @@ -355,7 +350,6 @@ internal static RoundTripModel DeserializeRoundTripModel(JsonElement element, Mo return null; } string requiredString = default; - string exactNameProperty = default; int requiredInt = default; IList requiredCollection = default; IDictionary requiredDictionary = default; @@ -387,11 +381,6 @@ internal static RoundTripModel DeserializeRoundTripModel(JsonElement element, Mo requiredString = prop.Value.GetString(); continue; } - if (prop.NameEquals("exactNameProperty"u8)) - { - exactNameProperty = prop.Value.GetString(); - continue; - } if (prop.NameEquals("requiredInt"u8)) { requiredInt = int.Parse(prop.Value.GetString()); @@ -648,7 +637,6 @@ internal static RoundTripModel DeserializeRoundTripModel(JsonElement element, Mo } return new RoundTripModel( requiredString, - exactNameProperty, requiredInt, requiredCollection, requiredDictionary, diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs index 57877a4fc0b..810d6b74903 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/Models/RoundTripModel.cs @@ -60,7 +60,6 @@ public RoundTripModel(string requiredString, int requiredInt, IEnumerable Initializes a new instance of . /// Required string, illustrating a reference type property. - /// a property whose name is preserved verbatim by the C# emitter via exact(). /// Required int, illustrating a value type property. /// Required collection of enums. /// Required dictionary of enums. @@ -85,10 +84,9 @@ public RoundTripModel(string requiredString, int requiredInt, IEnumerable this is a model with required nullable properties. /// Required bytes. /// Keeps track of any properties unknown to the library. - internal RoundTripModel(string requiredString, string exactNameProperty, int requiredInt, IList requiredCollection, IDictionary requiredDictionary, Thing requiredModel, IntExtensibleEnum? intExtensibleEnum, IList intExtensibleEnumCollection, FloatExtensibleEnum? floatExtensibleEnum, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue, IList floatExtensibleEnumCollection, FloatFixedEnum? floatFixedEnum, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue, IList floatFixedEnumCollection, IntFixedEnum? intFixedEnum, IList intFixedEnumCollection, StringFixedEnum? stringFixedEnum, BinaryData requiredUnknown, BinaryData optionalUnknown, IDictionary requiredRecordUnknown, IDictionary optionalRecordUnknown, IReadOnlyDictionary readOnlyRequiredRecordUnknown, IReadOnlyDictionary readOnlyOptionalRecordUnknown, ModelWithRequiredNullableProperties modelWithRequiredNullable, BinaryData requiredBytes, IDictionary additionalBinaryDataProperties) + internal RoundTripModel(string requiredString, int requiredInt, IList requiredCollection, IDictionary requiredDictionary, Thing requiredModel, IntExtensibleEnum? intExtensibleEnum, IList intExtensibleEnumCollection, FloatExtensibleEnum? floatExtensibleEnum, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue, IList floatExtensibleEnumCollection, FloatFixedEnum? floatFixedEnum, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue, IList floatFixedEnumCollection, IntFixedEnum? intFixedEnum, IList intFixedEnumCollection, StringFixedEnum? stringFixedEnum, BinaryData requiredUnknown, BinaryData optionalUnknown, IDictionary requiredRecordUnknown, IDictionary optionalRecordUnknown, IReadOnlyDictionary readOnlyRequiredRecordUnknown, IReadOnlyDictionary readOnlyOptionalRecordUnknown, ModelWithRequiredNullableProperties modelWithRequiredNullable, BinaryData requiredBytes, IDictionary additionalBinaryDataProperties) { RequiredString = requiredString; - exact_name_property = exactNameProperty; RequiredInt = requiredInt; RequiredCollection = requiredCollection; RequiredDictionary = requiredDictionary; @@ -118,9 +116,6 @@ internal RoundTripModel(string requiredString, string exactNameProperty, int req /// Required string, illustrating a reference type property. public string RequiredString { get; set; } - /// a property whose name is preserved verbatim by the C# emitter via exact(). - public string exact_name_property { get; set; } - /// Required int, illustrating a value type property. public int RequiredInt { get; set; } diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs index 84cfe66f763..5552d775dbe 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/src/Generated/SampleTypeSpecModelFactory.cs @@ -61,7 +61,6 @@ public static Thing Thing(string rename = default, BinaryData requiredUnion = de /// this is a roundtrip model. /// Required string, illustrating a reference type property. - /// a property whose name is preserved verbatim by the C# emitter via exact(). /// Required int, illustrating a value type property. /// Required collection of enums. /// Required dictionary of enums. @@ -86,7 +85,7 @@ public static Thing Thing(string rename = default, BinaryData requiredUnion = de /// this is a model with required nullable properties. /// Required bytes. /// A new instance for mocking. - public static RoundTripModel RoundTripModel(string requiredString = default, string exactNameProperty = default, int requiredInt = default, IEnumerable requiredCollection = default, IDictionary requiredDictionary = default, Thing requiredModel = default, IntExtensibleEnum? intExtensibleEnum = default, IEnumerable intExtensibleEnumCollection = default, FloatExtensibleEnum? floatExtensibleEnum = default, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue = default, IEnumerable floatExtensibleEnumCollection = default, FloatFixedEnum? floatFixedEnum = default, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue = default, IEnumerable floatFixedEnumCollection = default, IntFixedEnum? intFixedEnum = default, IEnumerable intFixedEnumCollection = default, StringFixedEnum? stringFixedEnum = default, BinaryData requiredUnknown = default, BinaryData optionalUnknown = default, IDictionary requiredRecordUnknown = default, IDictionary optionalRecordUnknown = default, IReadOnlyDictionary readOnlyRequiredRecordUnknown = default, IReadOnlyDictionary readOnlyOptionalRecordUnknown = default, ModelWithRequiredNullableProperties modelWithRequiredNullable = default, BinaryData requiredBytes = default) + public static RoundTripModel RoundTripModel(string requiredString = default, int requiredInt = default, IEnumerable requiredCollection = default, IDictionary requiredDictionary = default, Thing requiredModel = default, IntExtensibleEnum? intExtensibleEnum = default, IEnumerable intExtensibleEnumCollection = default, FloatExtensibleEnum? floatExtensibleEnum = default, FloatExtensibleEnumWithIntValue? floatExtensibleEnumWithIntValue = default, IEnumerable floatExtensibleEnumCollection = default, FloatFixedEnum? floatFixedEnum = default, FloatFixedEnumWithIntValue? floatFixedEnumWithIntValue = default, IEnumerable floatFixedEnumCollection = default, IntFixedEnum? intFixedEnum = default, IEnumerable intFixedEnumCollection = default, StringFixedEnum? stringFixedEnum = default, BinaryData requiredUnknown = default, BinaryData optionalUnknown = default, IDictionary requiredRecordUnknown = default, IDictionary optionalRecordUnknown = default, IReadOnlyDictionary readOnlyRequiredRecordUnknown = default, IReadOnlyDictionary readOnlyOptionalRecordUnknown = default, ModelWithRequiredNullableProperties modelWithRequiredNullable = default, BinaryData requiredBytes = default) { requiredCollection ??= new ChangeTrackingList(); requiredDictionary ??= new ChangeTrackingDictionary(); @@ -101,7 +100,6 @@ public static RoundTripModel RoundTripModel(string requiredString = default, str return new RoundTripModel( requiredString, - exactNameProperty, requiredInt, requiredCollection.ToList(), requiredDictionary, diff --git a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json index 4b2df4ed0a0..32a6e7c9eae 100644 --- a/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json +++ b/packages/http-client-csharp/generator/TestProjects/Local/Sample-TypeSpec/tspCodeModel.json @@ -2823,38 +2823,11 @@ { "$id": "276", "kind": "property", - "name": "exact_name_property", - "serializedName": "exactNameProperty", - "doc": "a property whose name is preserved verbatim by the C# emitter via exact()", - "type": { - "$id": "277", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "SampleTypeSpec.RoundTripModel.exactNameProperty", - "serializationOptions": { - "json": { - "name": "exactNameProperty" - } - }, - "isHttpMetadata": false, - "isExactName": true - }, - { - "$id": "278", - "kind": "property", "name": "requiredInt", "serializedName": "requiredInt", "doc": "Required int, illustrating a value type property.", "type": { - "$id": "279", + "$id": "277", "kind": "int32", "name": "int32", "encode": "string", @@ -2876,13 +2849,13 @@ "isExactName": false }, { - "$id": "280", + "$id": "278", "kind": "property", "name": "requiredCollection", "serializedName": "requiredCollection", "doc": "Required collection of enums", "type": { - "$id": "281", + "$id": "279", "kind": "array", "name": "ArrayStringFixedEnum", "valueType": { @@ -2906,16 +2879,16 @@ "isExactName": false }, { - "$id": "282", + "$id": "280", "kind": "property", "name": "requiredDictionary", "serializedName": "requiredDictionary", "doc": "Required dictionary of enums", "type": { - "$id": "283", + "$id": "281", "kind": "dict", "keyType": { - "$id": "284", + "$id": "282", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2941,7 +2914,7 @@ "isExactName": false }, { - "$id": "285", + "$id": "283", "kind": "property", "name": "requiredModel", "serializedName": "requiredModel", @@ -2964,7 +2937,7 @@ "isExactName": false }, { - "$id": "286", + "$id": "284", "kind": "property", "name": "intExtensibleEnum", "serializedName": "intExtensibleEnum", @@ -2987,13 +2960,13 @@ "isExactName": false }, { - "$id": "287", + "$id": "285", "kind": "property", "name": "intExtensibleEnumCollection", "serializedName": "intExtensibleEnumCollection", "doc": "this is a collection of int based extensible enum", "type": { - "$id": "288", + "$id": "286", "kind": "array", "name": "ArrayIntExtensibleEnum", "valueType": { @@ -3017,7 +2990,7 @@ "isExactName": false }, { - "$id": "289", + "$id": "287", "kind": "property", "name": "floatExtensibleEnum", "serializedName": "floatExtensibleEnum", @@ -3040,7 +3013,7 @@ "isExactName": false }, { - "$id": "290", + "$id": "288", "kind": "property", "name": "floatExtensibleEnumWithIntValue", "serializedName": "floatExtensibleEnumWithIntValue", @@ -3063,13 +3036,13 @@ "isExactName": false }, { - "$id": "291", + "$id": "289", "kind": "property", "name": "floatExtensibleEnumCollection", "serializedName": "floatExtensibleEnumCollection", "doc": "this is a collection of float based extensible enum", "type": { - "$id": "292", + "$id": "290", "kind": "array", "name": "ArrayFloatExtensibleEnum", "valueType": { @@ -3093,7 +3066,7 @@ "isExactName": false }, { - "$id": "293", + "$id": "291", "kind": "property", "name": "floatFixedEnum", "serializedName": "floatFixedEnum", @@ -3116,7 +3089,7 @@ "isExactName": false }, { - "$id": "294", + "$id": "292", "kind": "property", "name": "floatFixedEnumWithIntValue", "serializedName": "floatFixedEnumWithIntValue", @@ -3139,13 +3112,13 @@ "isExactName": false }, { - "$id": "295", + "$id": "293", "kind": "property", "name": "floatFixedEnumCollection", "serializedName": "floatFixedEnumCollection", "doc": "this is a collection of float based fixed enum", "type": { - "$id": "296", + "$id": "294", "kind": "array", "name": "ArrayFloatFixedEnum", "valueType": { @@ -3169,7 +3142,7 @@ "isExactName": false }, { - "$id": "297", + "$id": "295", "kind": "property", "name": "intFixedEnum", "serializedName": "intFixedEnum", @@ -3192,13 +3165,13 @@ "isExactName": false }, { - "$id": "298", + "$id": "296", "kind": "property", "name": "intFixedEnumCollection", "serializedName": "intFixedEnumCollection", "doc": "this is a collection of int based fixed enum", "type": { - "$id": "299", + "$id": "297", "kind": "array", "name": "ArrayIntFixedEnum", "valueType": { @@ -3222,7 +3195,7 @@ "isExactName": false }, { - "$id": "300", + "$id": "298", "kind": "property", "name": "stringFixedEnum", "serializedName": "stringFixedEnum", @@ -3245,13 +3218,13 @@ "isExactName": false }, { - "$id": "301", + "$id": "299", "kind": "property", "name": "requiredUnknown", "serializedName": "requiredUnknown", "doc": "required unknown", "type": { - "$id": "302", + "$id": "300", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -3272,13 +3245,13 @@ "isExactName": false }, { - "$id": "303", + "$id": "301", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "doc": "optional unknown", "type": { - "$id": "304", + "$id": "302", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -3299,23 +3272,23 @@ "isExactName": false }, { - "$id": "305", + "$id": "303", "kind": "property", "name": "requiredRecordUnknown", "serializedName": "requiredRecordUnknown", "doc": "required record of unknown", "type": { - "$id": "306", + "$id": "304", "kind": "dict", "keyType": { - "$id": "307", + "$id": "305", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "308", + "$id": "306", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -3338,13 +3311,13 @@ "isExactName": false }, { - "$id": "309", + "$id": "307", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "306" + "$ref": "304" }, "optional": true, "readOnly": false, @@ -3361,13 +3334,13 @@ "isExactName": false }, { - "$id": "310", + "$id": "308", "kind": "property", "name": "readOnlyRequiredRecordUnknown", "serializedName": "readOnlyRequiredRecordUnknown", "doc": "required readonly record of unknown", "type": { - "$ref": "306" + "$ref": "304" }, "optional": false, "readOnly": true, @@ -3384,13 +3357,13 @@ "isExactName": false }, { - "$id": "311", + "$id": "309", "kind": "property", "name": "readOnlyOptionalRecordUnknown", "serializedName": "readOnlyOptionalRecordUnknown", "doc": "optional readonly record of unknown", "type": { - "$ref": "306" + "$ref": "304" }, "optional": true, "readOnly": true, @@ -3407,13 +3380,13 @@ "isExactName": false }, { - "$id": "312", + "$id": "310", "kind": "property", "name": "modelWithRequiredNullable", "serializedName": "modelWithRequiredNullable", "doc": "this is a model with required nullable properties", "type": { - "$id": "313", + "$id": "311", "kind": "model", "name": "ModelWithRequiredNullableProperties", "namespace": "SampleTypeSpec", @@ -3429,16 +3402,16 @@ "isExactName": false, "properties": [ { - "$id": "314", + "$id": "312", "kind": "property", "name": "requiredNullablePrimitive", "serializedName": "requiredNullablePrimitive", "doc": "required nullable primitive type", "type": { - "$id": "315", + "$id": "313", "kind": "nullable", "type": { - "$id": "316", + "$id": "314", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -3461,13 +3434,13 @@ "isExactName": false }, { - "$id": "317", + "$id": "315", "kind": "property", "name": "requiredExtensibleEnum", "serializedName": "requiredExtensibleEnum", "doc": "required nullable extensible enum type", "type": { - "$id": "318", + "$id": "316", "kind": "nullable", "type": { "$ref": "22" @@ -3489,13 +3462,13 @@ "isExactName": false }, { - "$id": "319", + "$id": "317", "kind": "property", "name": "requiredFixedEnum", "serializedName": "requiredFixedEnum", "doc": "required nullable fixed enum type", "type": { - "$id": "320", + "$id": "318", "kind": "nullable", "type": { "$ref": "17" @@ -3533,13 +3506,13 @@ "isExactName": false }, { - "$id": "321", + "$id": "319", "kind": "property", "name": "requiredBytes", "serializedName": "requiredBytes", "doc": "Required bytes", "type": { - "$id": "322", + "$id": "320", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -3563,10 +3536,10 @@ ] }, { - "$ref": "313" + "$ref": "311" }, { - "$id": "323", + "$id": "321", "kind": "model", "name": "Wrapper", "namespace": "SampleTypeSpec", @@ -3577,12 +3550,12 @@ "isExactName": false, "properties": [ { - "$id": "324", + "$id": "322", "kind": "property", "name": "p1", "doc": "header parameter", "type": { - "$id": "325", + "$id": "323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3599,7 +3572,7 @@ "isExactName": false }, { - "$id": "326", + "$id": "324", "kind": "property", "name": "action", "doc": "body parameter", @@ -3617,12 +3590,12 @@ "isExactName": false }, { - "$id": "327", + "$id": "325", "kind": "property", "name": "p2", "doc": "path parameter", "type": { - "$id": "328", + "$id": "326", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3641,7 +3614,7 @@ ] }, { - "$id": "329", + "$id": "327", "kind": "model", "name": "Friend", "namespace": "SampleTypeSpec", @@ -3657,13 +3630,13 @@ "isExactName": false, "properties": [ { - "$id": "330", + "$id": "328", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "331", + "$id": "329", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3686,7 +3659,7 @@ ] }, { - "$id": "332", + "$id": "330", "kind": "model", "name": "RenamedModel", "namespace": "SampleTypeSpec", @@ -3702,13 +3675,13 @@ "isExactName": false, "properties": [ { - "$id": "333", + "$id": "331", "kind": "property", "name": "otherName", "serializedName": "otherName", "doc": "name of the ModelWithClientName", "type": { - "$id": "334", + "$id": "332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3731,7 +3704,7 @@ ] }, { - "$id": "335", + "$id": "333", "kind": "model", "name": "ReturnsAnonymousModelResponse", "namespace": "SampleTypeSpec", @@ -3747,7 +3720,7 @@ "properties": [] }, { - "$id": "336", + "$id": "334", "kind": "model", "name": "ListWithNextLinkResponse", "namespace": "SampleTypeSpec", @@ -3762,12 +3735,12 @@ "isExactName": false, "properties": [ { - "$id": "337", + "$id": "335", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$id": "338", + "$id": "336", "kind": "array", "name": "ArrayThing", "valueType": { @@ -3791,12 +3764,12 @@ "isExactName": false }, { - "$id": "339", + "$id": "337", "kind": "property", "name": "next", "serializedName": "next", "type": { - "$id": "340", + "$id": "338", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3819,7 +3792,7 @@ ] }, { - "$id": "341", + "$id": "339", "kind": "model", "name": "ListWithStringNextLinkResponse", "namespace": "SampleTypeSpec", @@ -3834,12 +3807,12 @@ "isExactName": false, "properties": [ { - "$id": "342", + "$id": "340", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$ref": "338" + "$ref": "336" }, "optional": false, "readOnly": false, @@ -3856,12 +3829,12 @@ "isExactName": false }, { - "$id": "343", + "$id": "341", "kind": "property", "name": "next", "serializedName": "next", "type": { - "$id": "344", + "$id": "342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3884,7 +3857,7 @@ ] }, { - "$id": "345", + "$id": "343", "kind": "model", "name": "ListWithContinuationTokenResponse", "namespace": "SampleTypeSpec", @@ -3899,12 +3872,12 @@ "isExactName": false, "properties": [ { - "$id": "346", + "$id": "344", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$ref": "338" + "$ref": "336" }, "optional": false, "readOnly": false, @@ -3921,12 +3894,12 @@ "isExactName": false }, { - "$id": "347", + "$id": "345", "kind": "property", "name": "nextToken", "serializedName": "nextToken", "type": { - "$id": "348", + "$id": "346", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3949,7 +3922,7 @@ ] }, { - "$id": "349", + "$id": "347", "kind": "model", "name": "ListWithContinuationTokenHeaderResponseResponse", "namespace": "", @@ -3964,12 +3937,12 @@ "isExactName": false, "properties": [ { - "$id": "350", + "$id": "348", "kind": "property", "name": "things", "serializedName": "things", "type": { - "$ref": "338" + "$ref": "336" }, "optional": false, "readOnly": false, @@ -3988,7 +3961,7 @@ ] }, { - "$id": "351", + "$id": "349", "kind": "model", "name": "PageThing", "namespace": "SampleTypeSpec", @@ -4003,12 +3976,12 @@ "isExactName": false, "properties": [ { - "$id": "352", + "$id": "350", "kind": "property", "name": "items", "serializedName": "items", "type": { - "$ref": "338" + "$ref": "336" }, "optional": false, "readOnly": false, @@ -4027,7 +4000,7 @@ ] }, { - "$id": "353", + "$id": "351", "kind": "model", "name": "ModelWithEmbeddedNonBodyParameters", "namespace": "SampleTypeSpec", @@ -4042,13 +4015,13 @@ "isExactName": false, "properties": [ { - "$id": "354", + "$id": "352", "kind": "property", "name": "name", "serializedName": "name", "doc": "name of the ModelWithEmbeddedNonBodyParameters", "type": { - "$id": "355", + "$id": "353", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4069,13 +4042,13 @@ "isExactName": false }, { - "$id": "356", + "$id": "354", "kind": "property", "name": "requiredHeader", "serializedName": "requiredHeader", "doc": "required header parameter", "type": { - "$id": "357", + "$id": "355", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4096,13 +4069,13 @@ "isExactName": false }, { - "$id": "358", + "$id": "356", "kind": "property", "name": "optionalHeader", "serializedName": "optionalHeader", "doc": "optional header parameter", "type": { - "$id": "359", + "$id": "357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4123,13 +4096,13 @@ "isExactName": false }, { - "$id": "360", + "$id": "358", "kind": "property", "name": "requiredQuery", "serializedName": "requiredQuery", "doc": "required query parameter", "type": { - "$id": "361", + "$id": "359", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4150,13 +4123,13 @@ "isExactName": false }, { - "$id": "362", + "$id": "360", "kind": "property", "name": "optionalQuery", "serializedName": "optionalQuery", "doc": "optional query parameter", "type": { - "$id": "363", + "$id": "361", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4179,7 +4152,7 @@ ] }, { - "$id": "364", + "$id": "362", "kind": "model", "name": "DynamicModel", "namespace": "SampleTypeSpec", @@ -4200,12 +4173,12 @@ "isExactName": false, "properties": [ { - "$id": "365", + "$id": "363", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "366", + "$id": "364", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4226,12 +4199,12 @@ "isExactName": false }, { - "$id": "367", + "$id": "365", "kind": "property", "name": "optionalUnknown", "serializedName": "optionalUnknown", "type": { - "$id": "368", + "$id": "366", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -4252,12 +4225,12 @@ "isExactName": false }, { - "$id": "369", + "$id": "367", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "type": { - "$id": "370", + "$id": "368", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4278,12 +4251,12 @@ "isExactName": false }, { - "$id": "371", + "$id": "369", "kind": "property", "name": "optionalNullableList", "serializedName": "optionalNullableList", "type": { - "$id": "372", + "$id": "370", "kind": "nullable", "type": { "$ref": "267" @@ -4305,12 +4278,12 @@ "isExactName": false }, { - "$id": "373", + "$id": "371", "kind": "property", "name": "requiredNullableList", "serializedName": "requiredNullableList", "type": { - "$id": "374", + "$id": "372", "kind": "nullable", "type": { "$ref": "267" @@ -4332,25 +4305,25 @@ "isExactName": false }, { - "$id": "375", + "$id": "373", "kind": "property", "name": "optionalNullableDictionary", "serializedName": "optionalNullableDictionary", "type": { - "$id": "376", + "$id": "374", "kind": "nullable", "type": { - "$id": "377", + "$id": "375", "kind": "dict", "keyType": { - "$id": "378", + "$id": "376", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "379", + "$id": "377", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4375,15 +4348,15 @@ "isExactName": false }, { - "$id": "380", + "$id": "378", "kind": "property", "name": "requiredNullableDictionary", "serializedName": "requiredNullableDictionary", "type": { - "$id": "381", + "$id": "379", "kind": "nullable", "type": { - "$ref": "377" + "$ref": "375" }, "namespace": "SampleTypeSpec" }, @@ -4402,12 +4375,12 @@ "isExactName": false }, { - "$id": "382", + "$id": "380", "kind": "property", "name": "primitiveDictionary", "serializedName": "primitiveDictionary", "type": { - "$ref": "377" + "$ref": "375" }, "optional": false, "readOnly": false, @@ -4424,12 +4397,12 @@ "isExactName": false }, { - "$id": "383", + "$id": "381", "kind": "property", "name": "foo", "serializedName": "foo", "type": { - "$id": "384", + "$id": "382", "kind": "model", "name": "AnotherDynamicModel", "namespace": "SampleTypeSpec", @@ -4450,12 +4423,12 @@ "isExactName": false, "properties": [ { - "$id": "385", + "$id": "383", "kind": "property", "name": "bar", "serializedName": "bar", "type": { - "$id": "386", + "$id": "384", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4492,16 +4465,16 @@ "isExactName": false }, { - "$id": "387", + "$id": "385", "kind": "property", "name": "listFoo", "serializedName": "listFoo", "type": { - "$id": "388", + "$id": "386", "kind": "array", "name": "ArrayAnotherDynamicModel", "valueType": { - "$ref": "384" + "$ref": "382" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4521,16 +4494,16 @@ "isExactName": false }, { - "$id": "389", + "$id": "387", "kind": "property", "name": "listOfListFoo", "serializedName": "listOfListFoo", "type": { - "$id": "390", + "$id": "388", "kind": "array", "name": "ArrayArray", "valueType": { - "$ref": "388" + "$ref": "386" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4550,22 +4523,22 @@ "isExactName": false }, { - "$id": "391", + "$id": "389", "kind": "property", "name": "dictionaryFoo", "serializedName": "dictionaryFoo", "type": { - "$id": "392", + "$id": "390", "kind": "dict", "keyType": { - "$id": "393", + "$id": "391", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "384" + "$ref": "382" }, "decorators": [] }, @@ -4584,22 +4557,22 @@ "isExactName": false }, { - "$id": "394", + "$id": "392", "kind": "property", "name": "dictionaryOfDictionaryFoo", "serializedName": "dictionaryOfDictionaryFoo", "type": { - "$id": "395", + "$id": "393", "kind": "dict", "keyType": { - "$id": "396", + "$id": "394", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "392" + "$ref": "390" }, "decorators": [] }, @@ -4618,22 +4591,22 @@ "isExactName": false }, { - "$id": "397", + "$id": "395", "kind": "property", "name": "dictionaryListFoo", "serializedName": "dictionaryListFoo", "type": { - "$id": "398", + "$id": "396", "kind": "dict", "keyType": { - "$id": "399", + "$id": "397", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "388" + "$ref": "386" }, "decorators": [] }, @@ -4652,16 +4625,16 @@ "isExactName": false }, { - "$id": "400", + "$id": "398", "kind": "property", "name": "listOfDictionaryFoo", "serializedName": "listOfDictionaryFoo", "type": { - "$id": "401", + "$id": "399", "kind": "array", "name": "ArrayRecord", "valueType": { - "$ref": "392" + "$ref": "390" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4683,10 +4656,10 @@ ] }, { - "$ref": "384" + "$ref": "382" }, { - "$id": "402", + "$id": "400", "kind": "model", "name": "XmlAdvancedModel", "namespace": "SampleTypeSpec", @@ -4711,13 +4684,13 @@ "isExactName": false, "properties": [ { - "$id": "403", + "$id": "401", "kind": "property", "name": "name", "serializedName": "name", "doc": "A simple string property", "type": { - "$id": "404", + "$id": "402", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4740,13 +4713,13 @@ "isExactName": false }, { - "$id": "405", + "$id": "403", "kind": "property", "name": "age", "serializedName": "age", "doc": "An integer property", "type": { - "$id": "406", + "$id": "404", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4769,13 +4742,13 @@ "isExactName": false }, { - "$id": "407", + "$id": "405", "kind": "property", "name": "enabled", "serializedName": "enabled", "doc": "A boolean property", "type": { - "$id": "408", + "$id": "406", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4798,13 +4771,13 @@ "isExactName": false }, { - "$id": "409", + "$id": "407", "kind": "property", "name": "score", "serializedName": "score", "doc": "A float property", "type": { - "$id": "410", + "$id": "408", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -4827,13 +4800,13 @@ "isExactName": false }, { - "$id": "411", + "$id": "409", "kind": "property", "name": "optionalString", "serializedName": "optionalString", "doc": "An optional string", "type": { - "$id": "412", + "$id": "410", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4856,13 +4829,13 @@ "isExactName": false }, { - "$id": "413", + "$id": "411", "kind": "property", "name": "optionalInt", "serializedName": "optionalInt", "doc": "An optional integer", "type": { - "$id": "414", + "$id": "412", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4885,16 +4858,16 @@ "isExactName": false }, { - "$id": "415", + "$id": "413", "kind": "property", "name": "nullableString", "serializedName": "nullableString", "doc": "A nullable string", "type": { - "$id": "416", + "$id": "414", "kind": "nullable", "type": { - "$id": "417", + "$id": "415", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4919,13 +4892,13 @@ "isExactName": false }, { - "$id": "418", + "$id": "416", "kind": "property", "name": "id", "serializedName": "id", "doc": "A string as XML attribute", "type": { - "$id": "419", + "$id": "417", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4953,13 +4926,13 @@ "isExactName": false }, { - "$id": "420", + "$id": "418", "kind": "property", "name": "version", "serializedName": "version", "doc": "An integer as XML attribute", "type": { - "$id": "421", + "$id": "419", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4987,13 +4960,13 @@ "isExactName": false }, { - "$id": "422", + "$id": "420", "kind": "property", "name": "isActive", "serializedName": "isActive", "doc": "A boolean as XML attribute", "type": { - "$id": "423", + "$id": "421", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -5021,13 +4994,13 @@ "isExactName": false }, { - "$id": "424", + "$id": "422", "kind": "property", "name": "originalName", "serializedName": "RenamedProperty", "doc": "A property with a custom XML element name", "type": { - "$id": "425", + "$id": "423", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5057,13 +5030,13 @@ "isExactName": false }, { - "$id": "426", + "$id": "424", "kind": "property", "name": "xmlIdentifier", "serializedName": "xml-id", "doc": "An attribute with a custom XML name", "type": { - "$id": "427", + "$id": "425", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5097,13 +5070,13 @@ "isExactName": false }, { - "$id": "428", + "$id": "426", "kind": "property", "name": "content", "serializedName": "content", "doc": "Text content in the element (unwrapped string)", "type": { - "$id": "429", + "$id": "427", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5131,7 +5104,7 @@ "isExactName": false }, { - "$id": "430", + "$id": "428", "kind": "property", "name": "unwrappedStrings", "serializedName": "unwrappedStrings", @@ -5162,7 +5135,7 @@ "isExactName": false }, { - "$id": "431", + "$id": "429", "kind": "property", "name": "unwrappedCounts", "serializedName": "unwrappedCounts", @@ -5193,17 +5166,17 @@ "isExactName": false }, { - "$id": "432", + "$id": "430", "kind": "property", "name": "unwrappedItems", "serializedName": "unwrappedItems", "doc": "An unwrapped array of models", "type": { - "$id": "433", + "$id": "431", "kind": "array", "name": "ArrayXmlItem", "valueType": { - "$id": "434", + "$id": "432", "kind": "model", "name": "XmlItem", "namespace": "SampleTypeSpec", @@ -5228,13 +5201,13 @@ "isExactName": false, "properties": [ { - "$id": "435", + "$id": "433", "kind": "property", "name": "itemName", "serializedName": "itemName", "doc": "The item name", "type": { - "$id": "436", + "$id": "434", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5257,13 +5230,13 @@ "isExactName": false }, { - "$id": "437", + "$id": "435", "kind": "property", "name": "itemValue", "serializedName": "itemValue", "doc": "The item value", "type": { - "$id": "438", + "$id": "436", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5286,13 +5259,13 @@ "isExactName": false }, { - "$id": "439", + "$id": "437", "kind": "property", "name": "itemId", "serializedName": "itemId", "doc": "Item ID as attribute", "type": { - "$id": "440", + "$id": "438", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5347,7 +5320,7 @@ "isExactName": false }, { - "$id": "441", + "$id": "439", "kind": "property", "name": "wrappedColors", "serializedName": "wrappedColors", @@ -5373,13 +5346,13 @@ "isExactName": false }, { - "$id": "442", + "$id": "440", "kind": "property", "name": "items", "serializedName": "ItemCollection", "doc": "A wrapped array with custom wrapper name", "type": { - "$ref": "433" + "$ref": "431" }, "optional": false, "readOnly": false, @@ -5406,13 +5379,13 @@ "isExactName": false }, { - "$id": "443", + "$id": "441", "kind": "property", "name": "nestedModel", "serializedName": "nestedModel", "doc": "A nested model property", "type": { - "$id": "444", + "$id": "442", "kind": "model", "name": "XmlNestedModel", "namespace": "SampleTypeSpec", @@ -5430,13 +5403,13 @@ "isExactName": false, "properties": [ { - "$id": "445", + "$id": "443", "kind": "property", "name": "value", "serializedName": "value", "doc": "The value of the nested model", "type": { - "$id": "446", + "$id": "444", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5459,13 +5432,13 @@ "isExactName": false }, { - "$id": "447", + "$id": "445", "kind": "property", "name": "nestedId", "serializedName": "nestedId", "doc": "An attribute on the nested model", "type": { - "$id": "448", + "$id": "446", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5511,13 +5484,13 @@ "isExactName": false }, { - "$id": "449", + "$id": "447", "kind": "property", "name": "optionalNestedModel", "serializedName": "optionalNestedModel", "doc": "An optional nested model", "type": { - "$ref": "444" + "$ref": "442" }, "optional": true, "readOnly": false, @@ -5536,23 +5509,23 @@ "isExactName": false }, { - "$id": "450", + "$id": "448", "kind": "property", "name": "metadata", "serializedName": "metadata", "doc": "A dictionary property", "type": { - "$id": "451", + "$id": "449", "kind": "dict", "keyType": { - "$id": "452", + "$id": "450", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "453", + "$id": "451", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5577,18 +5550,18 @@ "isExactName": false }, { - "$id": "454", + "$id": "452", "kind": "property", "name": "createdAt", "serializedName": "createdAt", "doc": "A date-time property", "type": { - "$id": "455", + "$id": "453", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "456", + "$id": "454", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5614,18 +5587,18 @@ "isExactName": false }, { - "$id": "457", + "$id": "455", "kind": "property", "name": "duration", "serializedName": "duration", "doc": "A duration property", "type": { - "$id": "458", + "$id": "456", "kind": "duration", "name": "duration", "encode": "ISO8601", "wireType": { - "$id": "459", + "$id": "457", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5651,13 +5624,13 @@ "isExactName": false }, { - "$id": "460", + "$id": "458", "kind": "property", "name": "data", "serializedName": "data", "doc": "A bytes property", "type": { - "$id": "461", + "$id": "459", "kind": "bytes", "name": "bytes", "encode": "base64", @@ -5681,13 +5654,13 @@ "isExactName": false }, { - "$id": "462", + "$id": "460", "kind": "property", "name": "optionalRecordUnknown", "serializedName": "optionalRecordUnknown", "doc": "optional record of unknown", "type": { - "$ref": "306" + "$ref": "304" }, "optional": true, "readOnly": false, @@ -5706,7 +5679,7 @@ "isExactName": false }, { - "$id": "463", + "$id": "461", "kind": "property", "name": "fixedEnum", "serializedName": "fixedEnum", @@ -5731,7 +5704,7 @@ "isExactName": false }, { - "$id": "464", + "$id": "462", "kind": "property", "name": "extensibleEnum", "serializedName": "extensibleEnum", @@ -5756,7 +5729,7 @@ "isExactName": false }, { - "$id": "465", + "$id": "463", "kind": "property", "name": "optionalFixedEnum", "serializedName": "optionalFixedEnum", @@ -5781,7 +5754,7 @@ "isExactName": false }, { - "$id": "466", + "$id": "464", "kind": "property", "name": "optionalExtensibleEnum", "serializedName": "optionalExtensibleEnum", @@ -5806,12 +5779,12 @@ "isExactName": false }, { - "$id": "467", + "$id": "465", "kind": "property", "name": "label", "serializedName": "label", "type": { - "$id": "468", + "$id": "466", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5826,14 +5799,14 @@ "name": "TypeSpec.Xml.@ns", "arguments": { "ns": { - "$id": "469", + "$id": "467", "kind": "enumvalue", "decorators": [], "name": "ns1", "isExactName": false, "value": "https://example.com/ns1", "enumType": { - "$id": "470", + "$id": "468", "kind": "enum", "decorators": [ { @@ -5846,7 +5819,7 @@ "isExactName": false, "namespace": "SampleTypeSpec", "valueType": { - "$id": "471", + "$id": "469", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -5855,32 +5828,32 @@ }, "values": [ { - "$id": "472", + "$id": "470", "kind": "enumvalue", "decorators": [], "name": "ns1", "isExactName": false, "value": "https://example.com/ns1", "enumType": { - "$ref": "470" + "$ref": "468" }, "valueType": { - "$ref": "471" + "$ref": "469" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns1" }, { - "$id": "473", + "$id": "471", "kind": "enumvalue", "decorators": [], "name": "ns2", "isExactName": false, "value": "https://example.com/ns2", "enumType": { - "$ref": "470" + "$ref": "468" }, "valueType": { - "$ref": "471" + "$ref": "469" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns2" } @@ -5898,7 +5871,7 @@ "__accessSet": true }, "valueType": { - "$ref": "471" + "$ref": "469" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns1" } @@ -5925,12 +5898,12 @@ "isExactName": false }, { - "$id": "474", + "$id": "472", "kind": "property", "name": "daysUsed", "serializedName": "daysUsed", "type": { - "$id": "475", + "$id": "473", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5945,17 +5918,17 @@ "name": "TypeSpec.Xml.@ns", "arguments": { "ns": { - "$id": "476", + "$id": "474", "kind": "enumvalue", "decorators": [], "name": "ns2", "isExactName": false, "value": "https://example.com/ns2", "enumType": { - "$ref": "470" + "$ref": "468" }, "valueType": { - "$ref": "471" + "$ref": "469" }, "crossLanguageDefinitionId": "SampleTypeSpec.XmlNamespaces.ns2" } @@ -5978,7 +5951,7 @@ "isExactName": false }, { - "$id": "477", + "$id": "475", "kind": "property", "name": "fooItems", "serializedName": "fooItems", @@ -6015,12 +5988,12 @@ "isExactName": false }, { - "$id": "478", + "$id": "476", "kind": "property", "name": "anotherModel", "serializedName": "anotherModel", "type": { - "$ref": "444" + "$ref": "442" }, "optional": false, "readOnly": false, @@ -6051,16 +6024,16 @@ "isExactName": false }, { - "$id": "479", + "$id": "477", "kind": "property", "name": "modelsWithNamespaces", "serializedName": "modelsWithNamespaces", "type": { - "$id": "480", + "$id": "478", "kind": "array", "name": "ArrayXmlModelWithNamespace", "valueType": { - "$id": "481", + "$id": "479", "kind": "model", "name": "XmlModelWithNamespace", "namespace": "SampleTypeSpec", @@ -6089,12 +6062,12 @@ "isExactName": false, "properties": [ { - "$id": "482", + "$id": "480", "kind": "property", "name": "foo", "serializedName": "foo", "type": { - "$id": "483", + "$id": "481", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6143,12 +6116,12 @@ "isExactName": false }, { - "$id": "484", + "$id": "482", "kind": "property", "name": "unwrappedModelsWithNamespaces", "serializedName": "unwrappedModelsWithNamespaces", "type": { - "$ref": "480" + "$ref": "478" }, "optional": false, "readOnly": false, @@ -6173,16 +6146,16 @@ "isExactName": false }, { - "$id": "485", + "$id": "483", "kind": "property", "name": "listOfListFoo", "serializedName": "listOfListFoo", "type": { - "$id": "486", + "$id": "484", "kind": "array", "name": "ArrayArray1", "valueType": { - "$ref": "433" + "$ref": "431" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -6205,22 +6178,22 @@ "isExactName": false }, { - "$id": "487", + "$id": "485", "kind": "property", "name": "dictionaryFoo", "serializedName": "dictionaryFoo", "type": { - "$id": "488", + "$id": "486", "kind": "dict", "keyType": { - "$id": "489", + "$id": "487", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "434" + "$ref": "432" }, "decorators": [] }, @@ -6241,22 +6214,22 @@ "isExactName": false }, { - "$id": "490", + "$id": "488", "kind": "property", "name": "dictionaryOfDictionaryFoo", "serializedName": "dictionaryOfDictionaryFoo", "type": { - "$id": "491", + "$id": "489", "kind": "dict", "keyType": { - "$id": "492", + "$id": "490", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "488" + "$ref": "486" }, "decorators": [] }, @@ -6277,22 +6250,22 @@ "isExactName": false }, { - "$id": "493", + "$id": "491", "kind": "property", "name": "dictionaryListFoo", "serializedName": "dictionaryListFoo", "type": { - "$id": "494", + "$id": "492", "kind": "dict", "keyType": { - "$id": "495", + "$id": "493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$ref": "433" + "$ref": "431" }, "decorators": [] }, @@ -6313,16 +6286,16 @@ "isExactName": false }, { - "$id": "496", + "$id": "494", "kind": "property", "name": "listOfDictionaryFoo", "serializedName": "listOfDictionaryFoo", "type": { - "$id": "497", + "$id": "495", "kind": "array", "name": "ArrayRecord1", "valueType": { - "$ref": "488" + "$ref": "486" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -6347,16 +6320,16 @@ ] }, { - "$ref": "434" + "$ref": "432" }, { - "$ref": "444" + "$ref": "442" }, { - "$ref": "481" + "$ref": "479" }, { - "$id": "498", + "$id": "496", "kind": "model", "name": "Animal", "namespace": "SampleTypeSpec", @@ -6371,13 +6344,13 @@ }, "isExactName": false, "discriminatorProperty": { - "$id": "499", + "$id": "497", "kind": "property", "name": "kind", "serializedName": "kind", "doc": "The kind of animal", "type": { - "$id": "500", + "$id": "498", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6399,16 +6372,16 @@ }, "properties": [ { - "$ref": "499" + "$ref": "497" }, { - "$id": "501", + "$id": "499", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the animal", "type": { - "$id": "502", + "$id": "500", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6431,7 +6404,7 @@ ], "discriminatedSubtypes": { "pet": { - "$id": "503", + "$id": "501", "kind": "model", "name": "Pet", "namespace": "SampleTypeSpec", @@ -6447,7 +6420,7 @@ }, "isExactName": false, "discriminatorProperty": { - "$id": "504", + "$id": "502", "kind": "property", "name": "kind", "serializedName": "kind", @@ -6469,20 +6442,20 @@ "isExactName": false }, "baseModel": { - "$ref": "498" + "$ref": "496" }, "properties": [ { - "$ref": "504" + "$ref": "502" }, { - "$id": "505", + "$id": "503", "kind": "property", "name": "trained", "serializedName": "trained", "doc": "Whether the pet is trained", "type": { - "$id": "506", + "$id": "504", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -6505,7 +6478,7 @@ ], "discriminatedSubtypes": { "dog": { - "$id": "507", + "$id": "505", "kind": "model", "name": "Dog", "namespace": "SampleTypeSpec", @@ -6521,11 +6494,11 @@ }, "isExactName": false, "baseModel": { - "$ref": "503" + "$ref": "501" }, "properties": [ { - "$id": "508", + "$id": "506", "kind": "property", "name": "kind", "serializedName": "kind", @@ -6547,13 +6520,13 @@ "isExactName": false }, { - "$id": "509", + "$id": "507", "kind": "property", "name": "breed", "serializedName": "breed", "doc": "The breed of the dog", "type": { - "$id": "510", + "$id": "508", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6578,18 +6551,18 @@ } }, "dog": { - "$ref": "507" + "$ref": "505" } } }, { - "$ref": "503" + "$ref": "501" }, { - "$ref": "507" + "$ref": "505" }, { - "$id": "511", + "$id": "509", "kind": "model", "name": "Tree", "namespace": "SampleTypeSpec", @@ -6610,7 +6583,7 @@ }, "isExactName": false, "baseModel": { - "$id": "512", + "$id": "510", "kind": "model", "name": "Plant", "namespace": "SampleTypeSpec", @@ -6630,13 +6603,13 @@ }, "isExactName": false, "discriminatorProperty": { - "$id": "513", + "$id": "511", "kind": "property", "name": "species", "serializedName": "species", "doc": "The species of plant", "type": { - "$id": "514", + "$id": "512", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6663,16 +6636,16 @@ }, "properties": [ { - "$ref": "513" + "$ref": "511" }, { - "$id": "515", + "$id": "513", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique identifier of the plant", "type": { - "$id": "516", + "$id": "514", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6698,13 +6671,13 @@ "isExactName": false }, { - "$id": "517", + "$id": "515", "kind": "property", "name": "height", "serializedName": "height", "doc": "The height of the plant in centimeters", "type": { - "$id": "518", + "$id": "516", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6732,13 +6705,13 @@ ], "discriminatedSubtypes": { "tree": { - "$ref": "511" + "$ref": "509" } } }, "properties": [ { - "$id": "519", + "$id": "517", "kind": "property", "name": "species", "serializedName": "species", @@ -6765,13 +6738,13 @@ "isExactName": false }, { - "$id": "520", + "$id": "518", "kind": "property", "name": "age", "serializedName": "age", "doc": "The age of the tree in years", "type": { - "$id": "521", + "$id": "519", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6799,10 +6772,10 @@ ] }, { - "$ref": "512" + "$ref": "510" }, { - "$id": "522", + "$id": "520", "kind": "model", "name": "GetWidgetMetricsResponse", "namespace": "SampleTypeSpec", @@ -6817,12 +6790,12 @@ "isExactName": false, "properties": [ { - "$id": "523", + "$id": "521", "kind": "property", "name": "numSold", "serializedName": "numSold", "type": { - "$id": "524", + "$id": "522", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -6843,12 +6816,12 @@ "isExactName": false }, { - "$id": "525", + "$id": "523", "kind": "property", "name": "averagePrice", "serializedName": "averagePrice", "type": { - "$id": "526", + "$id": "524", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -6871,7 +6844,7 @@ ] }, { - "$id": "527", + "$id": "525", "kind": "model", "name": "GetNotebookResponse", "namespace": "SampleTypeSpec", @@ -6886,12 +6859,12 @@ "isExactName": false, "properties": [ { - "$id": "528", + "$id": "526", "kind": "property", "name": "name", "serializedName": "name", "type": { - "$id": "529", + "$id": "527", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6912,12 +6885,12 @@ "isExactName": false }, { - "$id": "530", + "$id": "528", "kind": "property", "name": "content", "serializedName": "content", "type": { - "$id": "531", + "$id": "529", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6942,7 +6915,7 @@ ], "clients": [ { - "$id": "532", + "$id": "530", "kind": "client", "name": "SampleTypeSpecClient", "isExactName": false, @@ -6950,7 +6923,7 @@ "doc": "This is a sample typespec project.", "methods": [ { - "$id": "533", + "$id": "531", "kind": "basic", "name": "sayHi", "isExactName": false, @@ -6961,7 +6934,7 @@ ], "doc": "Return hi", "operation": { - "$id": "534", + "$id": "532", "name": "sayHi", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -6969,12 +6942,12 @@ "accessibility": "public", "parameters": [ { - "$id": "535", + "$id": "533", "kind": "header", "name": "headParameter", "serializedName": "head-parameter", "type": { - "$id": "536", + "$id": "534", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6989,12 +6962,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.headParameter", "methodParameterSegments": [ { - "$id": "537", + "$id": "535", "kind": "method", "name": "headParameter", "serializedName": "head-parameter", "type": { - "$id": "538", + "$id": "536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7014,12 +6987,12 @@ "isExactName": false }, { - "$id": "539", + "$id": "537", "kind": "query", "name": "queryParameter", "serializedName": "queryParameter", "type": { - "$id": "540", + "$id": "538", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7034,12 +7007,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "541", + "$id": "539", "kind": "method", "name": "queryParameter", "serializedName": "queryParameter", "type": { - "$id": "542", + "$id": "540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7059,12 +7032,12 @@ "isExactName": false }, { - "$id": "543", + "$id": "541", "kind": "query", "name": "optionalQuery", "serializedName": "optionalQuery", "type": { - "$id": "544", + "$id": "542", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7079,12 +7052,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "545", + "$id": "543", "kind": "method", "name": "optionalQuery", "serializedName": "optionalQuery", "type": { - "$id": "546", + "$id": "544", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7104,7 +7077,7 @@ "isExactName": false }, { - "$id": "547", + "$id": "545", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7120,7 +7093,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi.accept", "methodParameterSegments": [ { - "$id": "548", + "$id": "546", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7173,16 +7146,16 @@ }, "parameters": [ { - "$ref": "537" + "$ref": "535" }, { - "$ref": "541" + "$ref": "539" }, { - "$ref": "545" + "$ref": "543" }, { - "$ref": "548" + "$ref": "546" } ], "response": { @@ -7196,7 +7169,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.sayHi" }, { - "$id": "549", + "$id": "547", "kind": "basic", "name": "helloAgain", "isExactName": false, @@ -7207,7 +7180,7 @@ ], "doc": "Return hi again", "operation": { - "$id": "550", + "$id": "548", "name": "helloAgain", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -7215,12 +7188,12 @@ "accessibility": "public", "parameters": [ { - "$id": "551", + "$id": "549", "kind": "header", "name": "p1", "serializedName": "p1", "type": { - "$id": "552", + "$id": "550", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7235,12 +7208,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.p1", "methodParameterSegments": [ { - "$id": "553", + "$id": "551", "kind": "method", "name": "p1", "serializedName": "p1", "type": { - "$id": "554", + "$id": "552", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7260,7 +7233,7 @@ "isExactName": false }, { - "$id": "555", + "$id": "553", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7276,7 +7249,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.contentType", "methodParameterSegments": [ { - "$id": "556", + "$id": "554", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7297,12 +7270,12 @@ "isExactName": false }, { - "$id": "557", + "$id": "555", "kind": "path", "name": "p2", "serializedName": "p2", "type": { - "$id": "558", + "$id": "556", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7320,12 +7293,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.p2", "methodParameterSegments": [ { - "$id": "559", + "$id": "557", "kind": "method", "name": "p2", "serializedName": "p2", "type": { - "$id": "560", + "$id": "558", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7345,7 +7318,7 @@ "isExactName": false }, { - "$id": "561", + "$id": "559", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7361,7 +7334,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.accept", "methodParameterSegments": [ { - "$id": "562", + "$id": "560", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7382,7 +7355,7 @@ "isExactName": false }, { - "$id": "563", + "$id": "561", "kind": "body", "name": "action", "serializedName": "action", @@ -7401,7 +7374,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain.action", "methodParameterSegments": [ { - "$id": "564", + "$id": "562", "kind": "method", "name": "action", "serializedName": "action", @@ -7458,19 +7431,19 @@ }, "parameters": [ { - "$ref": "553" + "$ref": "551" }, { - "$ref": "564" + "$ref": "562" }, { - "$ref": "556" + "$ref": "554" }, { - "$ref": "559" + "$ref": "557" }, { - "$ref": "562" + "$ref": "560" } ], "response": { @@ -7484,7 +7457,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloAgain" }, { - "$id": "565", + "$id": "563", "kind": "basic", "name": "noContentType", "isExactName": false, @@ -7495,7 +7468,7 @@ ], "doc": "Return hi again", "operation": { - "$id": "566", + "$id": "564", "name": "noContentType", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -7503,12 +7476,12 @@ "accessibility": "public", "parameters": [ { - "$id": "567", + "$id": "565", "kind": "header", "name": "p1", "serializedName": "p1", "type": { - "$id": "568", + "$id": "566", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7523,12 +7496,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.p1", "methodParameterSegments": [ { - "$id": "569", + "$id": "567", "kind": "method", "name": "info", "serializedName": "info", "type": { - "$ref": "323" + "$ref": "321" }, "location": "", "isApiVersion": false, @@ -7541,13 +7514,13 @@ "isExactName": false }, { - "$id": "570", + "$id": "568", "kind": "method", "name": "p1", "serializedName": "p1", "doc": "header parameter", "type": { - "$ref": "325" + "$ref": "323" }, "location": "", "isApiVersion": false, @@ -7563,12 +7536,12 @@ "isExactName": false }, { - "$id": "571", + "$id": "569", "kind": "path", "name": "p2", "serializedName": "p2", "type": { - "$id": "572", + "$id": "570", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7586,16 +7559,16 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.p2", "methodParameterSegments": [ { - "$ref": "569" + "$ref": "567" }, { - "$id": "573", + "$id": "571", "kind": "method", "name": "p2", "serializedName": "p2", "doc": "path parameter", "type": { - "$ref": "328" + "$ref": "326" }, "location": "", "isApiVersion": false, @@ -7611,7 +7584,7 @@ "isExactName": false }, { - "$id": "574", + "$id": "572", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7628,7 +7601,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.contentType", "methodParameterSegments": [ { - "$id": "575", + "$id": "573", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7650,7 +7623,7 @@ "isExactName": false }, { - "$id": "576", + "$id": "574", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7666,7 +7639,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.accept", "methodParameterSegments": [ { - "$id": "577", + "$id": "575", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7687,7 +7660,7 @@ "isExactName": false }, { - "$id": "578", + "$id": "576", "kind": "body", "name": "action", "serializedName": "action", @@ -7706,10 +7679,10 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType.action", "methodParameterSegments": [ { - "$ref": "569" + "$ref": "567" }, { - "$id": "579", + "$id": "577", "kind": "method", "name": "action", "serializedName": "action", @@ -7771,13 +7744,13 @@ }, "parameters": [ { - "$ref": "569" + "$ref": "567" }, { - "$ref": "575" + "$ref": "573" }, { - "$ref": "577" + "$ref": "575" } ], "response": { @@ -7791,7 +7764,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.noContentType" }, { - "$id": "580", + "$id": "578", "kind": "basic", "name": "helloDemo2", "isExactName": false, @@ -7802,7 +7775,7 @@ ], "doc": "Return hi in demo2", "operation": { - "$id": "581", + "$id": "579", "name": "helloDemo2", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -7810,7 +7783,7 @@ "accessibility": "public", "parameters": [ { - "$id": "582", + "$id": "580", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7826,7 +7799,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloDemo2.accept", "methodParameterSegments": [ { - "$id": "583", + "$id": "581", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7879,7 +7852,7 @@ }, "parameters": [ { - "$ref": "583" + "$ref": "581" } ], "response": { @@ -7893,7 +7866,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloDemo2" }, { - "$id": "584", + "$id": "582", "kind": "basic", "name": "createLiteral", "isExactName": false, @@ -7904,7 +7877,7 @@ ], "doc": "Create with literal value", "operation": { - "$id": "585", + "$id": "583", "name": "createLiteral", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -7912,7 +7885,7 @@ "accessibility": "public", "parameters": [ { - "$id": "586", + "$id": "584", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7929,7 +7902,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.contentType", "methodParameterSegments": [ { - "$id": "587", + "$id": "585", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7951,7 +7924,7 @@ "isExactName": false }, { - "$id": "588", + "$id": "586", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7967,7 +7940,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.accept", "methodParameterSegments": [ { - "$id": "589", + "$id": "587", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7988,7 +7961,7 @@ "isExactName": false }, { - "$id": "590", + "$id": "588", "kind": "body", "name": "body", "serializedName": "body", @@ -8007,7 +7980,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral.body", "methodParameterSegments": [ { - "$id": "591", + "$id": "589", "kind": "method", "name": "body", "serializedName": "body", @@ -8068,13 +8041,13 @@ }, "parameters": [ { - "$ref": "591" + "$ref": "589" }, { - "$ref": "587" + "$ref": "585" }, { - "$ref": "589" + "$ref": "587" } ], "response": { @@ -8088,7 +8061,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.createLiteral" }, { - "$id": "592", + "$id": "590", "kind": "basic", "name": "helloLiteral", "isExactName": false, @@ -8099,7 +8072,7 @@ ], "doc": "Send literal parameters", "operation": { - "$id": "593", + "$id": "591", "name": "helloLiteral", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -8107,7 +8080,7 @@ "accessibility": "public", "parameters": [ { - "$id": "594", + "$id": "592", "kind": "header", "name": "p1", "serializedName": "p1", @@ -8123,7 +8096,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.p1", "methodParameterSegments": [ { - "$id": "595", + "$id": "593", "kind": "method", "name": "p1", "serializedName": "p1", @@ -8144,7 +8117,7 @@ "isExactName": false }, { - "$id": "596", + "$id": "594", "kind": "path", "name": "p2", "serializedName": "p2", @@ -8163,7 +8136,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.p2", "methodParameterSegments": [ { - "$id": "597", + "$id": "595", "kind": "method", "name": "p2", "serializedName": "p2", @@ -8184,7 +8157,7 @@ "isExactName": false }, { - "$id": "598", + "$id": "596", "kind": "query", "name": "p3", "serializedName": "p3", @@ -8200,7 +8173,7 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "599", + "$id": "597", "kind": "method", "name": "p3", "serializedName": "p3", @@ -8221,7 +8194,7 @@ "isExactName": false }, { - "$id": "600", + "$id": "598", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8237,7 +8210,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral.accept", "methodParameterSegments": [ { - "$id": "601", + "$id": "599", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8289,6 +8262,9 @@ "namespace": "SampleTypeSpec" }, "parameters": [ + { + "$ref": "593" + }, { "$ref": "595" }, @@ -8297,9 +8273,6 @@ }, { "$ref": "599" - }, - { - "$ref": "601" } ], "response": { @@ -8313,7 +8286,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.helloLiteral" }, { - "$id": "602", + "$id": "600", "kind": "basic", "name": "topAction", "isExactName": false, @@ -8324,7 +8297,7 @@ ], "doc": "top level method", "operation": { - "$id": "603", + "$id": "601", "name": "topAction", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -8332,17 +8305,17 @@ "accessibility": "public", "parameters": [ { - "$id": "604", + "$id": "602", "kind": "path", "name": "action", "serializedName": "action", "type": { - "$id": "605", + "$id": "603", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "606", + "$id": "604", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8363,17 +8336,17 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction.action", "methodParameterSegments": [ { - "$id": "607", + "$id": "605", "kind": "method", "name": "action", "serializedName": "action", "type": { - "$id": "608", + "$id": "606", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "609", + "$id": "607", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8396,7 +8369,7 @@ "isExactName": false }, { - "$id": "610", + "$id": "608", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8412,7 +8385,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction.accept", "methodParameterSegments": [ { - "$id": "611", + "$id": "609", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8465,10 +8438,10 @@ }, "parameters": [ { - "$ref": "607" + "$ref": "605" }, { - "$ref": "611" + "$ref": "609" } ], "response": { @@ -8482,7 +8455,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction" }, { - "$id": "612", + "$id": "610", "kind": "basic", "name": "topAction2", "isExactName": false, @@ -8493,7 +8466,7 @@ ], "doc": "top level method2", "operation": { - "$id": "613", + "$id": "611", "name": "topAction2", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -8501,7 +8474,7 @@ "accessibility": "public", "parameters": [ { - "$id": "614", + "$id": "612", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8517,7 +8490,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction2.accept", "methodParameterSegments": [ { - "$id": "615", + "$id": "613", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8570,7 +8543,7 @@ }, "parameters": [ { - "$ref": "615" + "$ref": "613" } ], "response": { @@ -8584,7 +8557,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.topAction2" }, { - "$id": "616", + "$id": "614", "kind": "basic", "name": "patchAction", "isExactName": false, @@ -8595,7 +8568,7 @@ ], "doc": "top level patch", "operation": { - "$id": "617", + "$id": "615", "name": "patchAction", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -8603,7 +8576,7 @@ "accessibility": "public", "parameters": [ { - "$id": "618", + "$id": "616", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -8620,7 +8593,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.contentType", "methodParameterSegments": [ { - "$id": "619", + "$id": "617", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -8642,7 +8615,7 @@ "isExactName": false }, { - "$id": "620", + "$id": "618", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8658,7 +8631,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.accept", "methodParameterSegments": [ { - "$id": "621", + "$id": "619", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8679,7 +8652,7 @@ "isExactName": false }, { - "$id": "622", + "$id": "620", "kind": "body", "name": "body", "serializedName": "body", @@ -8698,7 +8671,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction.body", "methodParameterSegments": [ { - "$id": "623", + "$id": "621", "kind": "method", "name": "body", "serializedName": "body", @@ -8759,13 +8732,13 @@ }, "parameters": [ { - "$ref": "623" + "$ref": "621" }, { - "$ref": "619" + "$ref": "617" }, { - "$ref": "621" + "$ref": "619" } ], "response": { @@ -8779,7 +8752,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.patchAction" }, { - "$id": "624", + "$id": "622", "kind": "basic", "name": "anonymousBody", "isExactName": false, @@ -8790,7 +8763,7 @@ ], "doc": "body parameter without body decorator", "operation": { - "$id": "625", + "$id": "623", "name": "anonymousBody", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -8798,7 +8771,7 @@ "accessibility": "public", "parameters": [ { - "$id": "626", + "$id": "624", "kind": "query", "name": "requiredQueryParam", "serializedName": "requiredQueryParam", @@ -8814,7 +8787,7 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "627", + "$id": "625", "kind": "method", "name": "requiredQueryParam", "serializedName": "requiredQueryParam", @@ -8835,7 +8808,7 @@ "isExactName": false }, { - "$id": "628", + "$id": "626", "kind": "header", "name": "requiredHeader", "serializedName": "required-header", @@ -8851,7 +8824,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.requiredHeader", "methodParameterSegments": [ { - "$id": "629", + "$id": "627", "kind": "method", "name": "requiredHeader", "serializedName": "required-header", @@ -8872,7 +8845,7 @@ "isExactName": false }, { - "$id": "630", + "$id": "628", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -8889,7 +8862,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.contentType", "methodParameterSegments": [ { - "$id": "631", + "$id": "629", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -8911,7 +8884,7 @@ "isExactName": false }, { - "$id": "632", + "$id": "630", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8927,7 +8900,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.accept", "methodParameterSegments": [ { - "$id": "633", + "$id": "631", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8948,7 +8921,7 @@ "isExactName": false }, { - "$id": "634", + "$id": "632", "kind": "body", "name": "thing", "serializedName": "thing", @@ -8967,13 +8940,13 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody.body", "methodParameterSegments": [ { - "$id": "635", + "$id": "633", "kind": "method", "name": "name", "serializedName": "name", "doc": "name of the Thing", "type": { - "$id": "636", + "$id": "634", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9033,10 +9006,10 @@ }, "parameters": [ { - "$ref": "635" + "$ref": "633" }, { - "$id": "637", + "$id": "635", "kind": "method", "name": "requiredUnion", "serializedName": "requiredUnion", @@ -9055,7 +9028,7 @@ "isExactName": false }, { - "$id": "638", + "$id": "636", "kind": "method", "name": "requiredLiteralString", "serializedName": "requiredLiteralString", @@ -9074,7 +9047,7 @@ "isExactName": false }, { - "$id": "639", + "$id": "637", "kind": "method", "name": "requiredNullableString", "serializedName": "requiredNullableString", @@ -9093,7 +9066,7 @@ "isExactName": false }, { - "$id": "640", + "$id": "638", "kind": "method", "name": "optionalNullableString", "serializedName": "optionalNullableString", @@ -9112,7 +9085,7 @@ "isExactName": false }, { - "$id": "641", + "$id": "639", "kind": "method", "name": "requiredLiteralInt", "serializedName": "requiredLiteralInt", @@ -9131,7 +9104,7 @@ "isExactName": false }, { - "$id": "642", + "$id": "640", "kind": "method", "name": "requiredLiteralFloat", "serializedName": "requiredLiteralFloat", @@ -9150,7 +9123,7 @@ "isExactName": false }, { - "$id": "643", + "$id": "641", "kind": "method", "name": "requiredLiteralBool", "serializedName": "requiredLiteralBool", @@ -9169,18 +9142,18 @@ "isExactName": false }, { - "$id": "644", + "$id": "642", "kind": "method", "name": "optionalLiteralString", "serializedName": "optionalLiteralString", "doc": "optional literal string", "type": { - "$id": "645", + "$id": "643", "kind": "enum", "name": "ThingOptionalLiteralString", "crossLanguageDefinitionId": "", "valueType": { - "$id": "646", + "$id": "644", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9188,12 +9161,12 @@ }, "values": [ { - "$id": "647", + "$id": "645", "kind": "enumvalue", "name": "reject", "value": "reject", "valueType": { - "$id": "648", + "$id": "646", "kind": "string", "decorators": [], "doc": "A sequence of textual characters.", @@ -9201,7 +9174,7 @@ "crossLanguageDefinitionId": "TypeSpec.string" }, "enumType": { - "$ref": "645" + "$ref": "643" }, "decorators": [], "isExactName": false @@ -9225,7 +9198,7 @@ "isExactName": false }, { - "$id": "649", + "$id": "647", "kind": "method", "name": "requiredNullableLiteralString", "serializedName": "requiredNullableLiteralString", @@ -9244,18 +9217,18 @@ "isExactName": false }, { - "$id": "650", + "$id": "648", "kind": "method", "name": "optionalLiteralInt", "serializedName": "optionalLiteralInt", "doc": "optional literal int", "type": { - "$id": "651", + "$id": "649", "kind": "enum", "name": "ThingOptionalLiteralInt", "crossLanguageDefinitionId": "", "valueType": { - "$id": "652", + "$id": "650", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -9263,12 +9236,12 @@ }, "values": [ { - "$id": "653", + "$id": "651", "kind": "enumvalue", "name": "456", "value": 456, "valueType": { - "$id": "654", + "$id": "652", "kind": "int32", "decorators": [], "doc": "A 32-bit integer. (`-2,147,483,648` to `2,147,483,647`)", @@ -9276,7 +9249,7 @@ "crossLanguageDefinitionId": "TypeSpec.int32" }, "enumType": { - "$ref": "651" + "$ref": "649" }, "decorators": [], "isExactName": false @@ -9300,18 +9273,18 @@ "isExactName": false }, { - "$id": "655", + "$id": "653", "kind": "method", "name": "optionalLiteralFloat", "serializedName": "optionalLiteralFloat", "doc": "optional literal float", "type": { - "$id": "656", + "$id": "654", "kind": "enum", "name": "ThingOptionalLiteralFloat", "crossLanguageDefinitionId": "", "valueType": { - "$id": "657", + "$id": "655", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -9319,12 +9292,12 @@ }, "values": [ { - "$id": "658", + "$id": "656", "kind": "enumvalue", "name": "4.56", "value": 4.56, "valueType": { - "$id": "659", + "$id": "657", "kind": "float32", "decorators": [], "doc": "A 32 bit floating point number. (`±1.5 x 10^−45` to `±3.4 x 10^38`)", @@ -9332,7 +9305,7 @@ "crossLanguageDefinitionId": "TypeSpec.float32" }, "enumType": { - "$ref": "656" + "$ref": "654" }, "decorators": [], "isExactName": false @@ -9356,7 +9329,7 @@ "isExactName": false }, { - "$id": "660", + "$id": "658", "kind": "method", "name": "optionalLiteralBool", "serializedName": "optionalLiteralBool", @@ -9375,13 +9348,13 @@ "isExactName": false }, { - "$id": "661", + "$id": "659", "kind": "method", "name": "requiredBadDescription", "serializedName": "requiredBadDescription", "doc": "description with xml <|endoftext|>", "type": { - "$id": "662", + "$id": "660", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9398,7 +9371,7 @@ "isExactName": false }, { - "$id": "663", + "$id": "661", "kind": "method", "name": "optionalNullableList", "serializedName": "optionalNullableList", @@ -9417,7 +9390,7 @@ "isExactName": false }, { - "$id": "664", + "$id": "662", "kind": "method", "name": "requiredNullableList", "serializedName": "requiredNullableList", @@ -9436,13 +9409,13 @@ "isExactName": false }, { - "$id": "665", + "$id": "663", "kind": "method", "name": "propertyWithSpecialDocs", "serializedName": "propertyWithSpecialDocs", "doc": "This tests:\n- Simple bullet point. This bullet point is going to be very long to test how text wrapping is handled in bullet points within documentation comments. It should properly indent the wrapped lines.\n- Another bullet point with **bold text**. This bullet point is also intentionally long to see how the formatting is preserved when the text wraps onto multiple lines in the generated documentation.\n- Third bullet point with *italic text*. Similar to the previous points, this one is extended to ensure that the wrapping and formatting are correctly applied in the output.\n- Complex bullet point with **bold** and *italic* combined. This bullet point combines both bold and italic formatting and is long enough to test the wrapping behavior in such cases.\n- **Bold bullet point**: A bullet point that is entirely bolded. This point is also made lengthy to observe how the bold formatting is maintained across wrapped lines.\n- *Italic bullet point*: A bullet point that is entirely italicized. This final point is extended to verify that italic formatting is correctly applied even when the text spans multiple lines.", "type": { - "$id": "666", + "$id": "664", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9458,6 +9431,9 @@ "decorators": [], "isExactName": false }, + { + "$ref": "625" + }, { "$ref": "627" }, @@ -9466,9 +9442,6 @@ }, { "$ref": "631" - }, - { - "$ref": "633" } ], "response": { @@ -9482,7 +9455,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.anonymousBody" }, { - "$id": "667", + "$id": "665", "kind": "basic", "name": "friendlyModel", "isExactName": false, @@ -9493,7 +9466,7 @@ ], "doc": "Model can have its friendly name", "operation": { - "$id": "668", + "$id": "666", "name": "friendlyModel", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -9501,7 +9474,7 @@ "accessibility": "public", "parameters": [ { - "$id": "669", + "$id": "667", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -9518,7 +9491,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.contentType", "methodParameterSegments": [ { - "$id": "670", + "$id": "668", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -9540,7 +9513,7 @@ "isExactName": false }, { - "$id": "671", + "$id": "669", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9556,7 +9529,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.accept", "methodParameterSegments": [ { - "$id": "672", + "$id": "670", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9577,12 +9550,12 @@ "isExactName": false }, { - "$id": "673", + "$id": "671", "kind": "body", "name": "friend", "serializedName": "friend", "type": { - "$ref": "329" + "$ref": "327" }, "isApiVersion": false, "contentTypes": [ @@ -9596,13 +9569,13 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel.body", "methodParameterSegments": [ { - "$id": "674", + "$id": "672", "kind": "method", "name": "name", "serializedName": "name", "doc": "name of the NotFriend", "type": { - "$id": "675", + "$id": "673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9633,7 +9606,7 @@ 200 ], "bodyType": { - "$ref": "329" + "$ref": "327" }, "headers": [], "isErrorResponse": false, @@ -9662,18 +9635,18 @@ }, "parameters": [ { - "$ref": "674" + "$ref": "672" }, { - "$ref": "670" + "$ref": "668" }, { - "$ref": "672" + "$ref": "670" } ], "response": { "type": { - "$ref": "329" + "$ref": "327" } }, "isOverride": false, @@ -9682,7 +9655,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.friendlyModel" }, { - "$id": "676", + "$id": "674", "kind": "basic", "name": "addTimeHeader", "isExactName": false, @@ -9692,24 +9665,24 @@ "2024-08-16-preview" ], "operation": { - "$id": "677", + "$id": "675", "name": "addTimeHeader", "isExactName": false, "resourceName": "SampleTypeSpec", "accessibility": "public", "parameters": [ { - "$id": "678", + "$id": "676", "kind": "header", "name": "repeatabilityFirstSent", "serializedName": "Repeatability-First-Sent", "type": { - "$id": "679", + "$id": "677", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "680", + "$id": "678", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9727,17 +9700,17 @@ "crossLanguageDefinitionId": "SampleTypeSpec.addTimeHeader.repeatabilityFirstSent", "methodParameterSegments": [ { - "$id": "681", + "$id": "679", "kind": "method", "name": "repeatabilityFirstSent", "serializedName": "Repeatability-First-Sent", "type": { - "$id": "682", + "$id": "680", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc7231", "wireType": { - "$id": "683", + "$id": "681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9782,7 +9755,7 @@ }, "parameters": [ { - "$ref": "681" + "$ref": "679" } ], "response": {}, @@ -9792,7 +9765,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.addTimeHeader" }, { - "$id": "684", + "$id": "682", "kind": "basic", "name": "projectedNameModel", "isExactName": false, @@ -9803,7 +9776,7 @@ ], "doc": "Model can have its projected name", "operation": { - "$id": "685", + "$id": "683", "name": "projectedNameModel", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -9811,7 +9784,7 @@ "accessibility": "public", "parameters": [ { - "$id": "686", + "$id": "684", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -9828,7 +9801,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.contentType", "methodParameterSegments": [ { - "$id": "687", + "$id": "685", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -9850,7 +9823,7 @@ "isExactName": false }, { - "$id": "688", + "$id": "686", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9866,7 +9839,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.accept", "methodParameterSegments": [ { - "$id": "689", + "$id": "687", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9887,12 +9860,12 @@ "isExactName": false }, { - "$id": "690", + "$id": "688", "kind": "body", "name": "renamedModel", "serializedName": "renamedModel", "type": { - "$ref": "332" + "$ref": "330" }, "isApiVersion": false, "contentTypes": [ @@ -9906,13 +9879,13 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel.body", "methodParameterSegments": [ { - "$id": "691", + "$id": "689", "kind": "method", "name": "otherName", "serializedName": "otherName", "doc": "name of the ModelWithClientName", "type": { - "$id": "692", + "$id": "690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9943,7 +9916,7 @@ 200 ], "bodyType": { - "$ref": "332" + "$ref": "330" }, "headers": [], "isErrorResponse": false, @@ -9972,18 +9945,18 @@ }, "parameters": [ { - "$ref": "691" + "$ref": "689" }, { - "$ref": "687" + "$ref": "685" }, { - "$ref": "689" + "$ref": "687" } ], "response": { "type": { - "$ref": "332" + "$ref": "330" } }, "isOverride": false, @@ -9992,7 +9965,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.projectedNameModel" }, { - "$id": "693", + "$id": "691", "kind": "basic", "name": "returnsAnonymousModel", "isExactName": false, @@ -10003,7 +9976,7 @@ ], "doc": "return anonymous model", "operation": { - "$id": "694", + "$id": "692", "name": "returnsAnonymousModel", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10011,7 +9984,7 @@ "accessibility": "public", "parameters": [ { - "$id": "695", + "$id": "693", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10027,7 +10000,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.returnsAnonymousModel.accept", "methodParameterSegments": [ { - "$id": "696", + "$id": "694", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10054,7 +10027,7 @@ 200 ], "bodyType": { - "$ref": "335" + "$ref": "333" }, "headers": [], "isErrorResponse": false, @@ -10080,12 +10053,12 @@ }, "parameters": [ { - "$ref": "696" + "$ref": "694" } ], "response": { "type": { - "$ref": "335" + "$ref": "333" } }, "isOverride": false, @@ -10094,7 +10067,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.returnsAnonymousModel" }, { - "$id": "697", + "$id": "695", "kind": "basic", "name": "getUnknownValue", "isExactName": false, @@ -10105,7 +10078,7 @@ ], "doc": "get extensible enum", "operation": { - "$id": "698", + "$id": "696", "name": "getUnknownValue", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10113,7 +10086,7 @@ "accessibility": "public", "parameters": [ { - "$id": "699", + "$id": "697", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10129,7 +10102,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue.accept", "methodParameterSegments": [ { - "$id": "700", + "$id": "698", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10178,7 +10151,7 @@ }, "parameters": [ { - "$ref": "700" + "$ref": "698" } ], "response": { @@ -10192,7 +10165,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.getUnknownValue" }, { - "$id": "701", + "$id": "699", "kind": "basic", "name": "internalProtocol", "isExactName": false, @@ -10203,7 +10176,7 @@ ], "doc": "When set protocol false and convenient true, then the protocol method should be internal", "operation": { - "$id": "702", + "$id": "700", "name": "internalProtocol", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10211,7 +10184,7 @@ "accessibility": "public", "parameters": [ { - "$id": "703", + "$id": "701", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -10228,7 +10201,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.contentType", "methodParameterSegments": [ { - "$id": "704", + "$id": "702", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -10250,7 +10223,7 @@ "isExactName": false }, { - "$id": "705", + "$id": "703", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10266,7 +10239,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.accept", "methodParameterSegments": [ { - "$id": "706", + "$id": "704", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10287,7 +10260,7 @@ "isExactName": false }, { - "$id": "707", + "$id": "705", "kind": "body", "name": "body", "serializedName": "body", @@ -10306,7 +10279,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol.body", "methodParameterSegments": [ { - "$id": "708", + "$id": "706", "kind": "method", "name": "body", "serializedName": "body", @@ -10367,13 +10340,13 @@ }, "parameters": [ { - "$ref": "708" + "$ref": "706" }, { - "$ref": "704" + "$ref": "702" }, { - "$ref": "706" + "$ref": "704" } ], "response": { @@ -10387,7 +10360,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.internalProtocol" }, { - "$id": "709", + "$id": "707", "kind": "basic", "name": "stillConvenient", "isExactName": false, @@ -10398,7 +10371,7 @@ ], "doc": "When set protocol false and convenient true, the convenient method should be generated even it has the same signature as protocol one", "operation": { - "$id": "710", + "$id": "708", "name": "stillConvenient", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10433,7 +10406,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.stillConvenient" }, { - "$id": "711", + "$id": "709", "kind": "basic", "name": "headAsBoolean", "isExactName": false, @@ -10444,7 +10417,7 @@ ], "doc": "head as boolean.", "operation": { - "$id": "712", + "$id": "710", "name": "headAsBoolean", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10452,12 +10425,12 @@ "accessibility": "public", "parameters": [ { - "$id": "713", + "$id": "711", "kind": "path", "name": "id", "serializedName": "id", "type": { - "$id": "714", + "$id": "712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10475,12 +10448,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.headAsBoolean.id", "methodParameterSegments": [ { - "$id": "715", + "$id": "713", "kind": "method", "name": "id", "serializedName": "id", "type": { - "$id": "716", + "$id": "714", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10522,7 +10495,7 @@ }, "parameters": [ { - "$ref": "715" + "$ref": "713" } ], "response": {}, @@ -10532,7 +10505,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.headAsBoolean" }, { - "$id": "717", + "$id": "715", "kind": "basic", "name": "WithApiVersion", "isExactName": false, @@ -10543,7 +10516,7 @@ ], "doc": "Return hi again", "operation": { - "$id": "718", + "$id": "716", "name": "WithApiVersion", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10551,12 +10524,12 @@ "accessibility": "public", "parameters": [ { - "$id": "719", + "$id": "717", "kind": "header", "name": "p1", "serializedName": "p1", "type": { - "$id": "720", + "$id": "718", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10571,12 +10544,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion.p1", "methodParameterSegments": [ { - "$id": "721", + "$id": "719", "kind": "method", "name": "p1", "serializedName": "p1", "type": { - "$id": "722", + "$id": "720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10596,12 +10569,12 @@ "isExactName": false }, { - "$id": "723", + "$id": "721", "kind": "query", "name": "apiVersion", "serializedName": "apiVersion", "type": { - "$id": "724", + "$id": "722", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10611,7 +10584,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "725", + "$id": "723", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10625,12 +10598,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "726", + "$id": "724", "kind": "method", "name": "apiVersion", "serializedName": "apiVersion", "type": { - "$id": "727", + "$id": "725", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10640,7 +10613,7 @@ "isApiVersion": true, "defaultValue": { "type": { - "$id": "728", + "$id": "726", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10681,7 +10654,7 @@ }, "parameters": [ { - "$ref": "721" + "$ref": "719" } ], "response": {}, @@ -10691,7 +10664,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.WithApiVersion" }, { - "$id": "729", + "$id": "727", "kind": "paging", "name": "ListWithNextLink", "isExactName": false, @@ -10702,7 +10675,7 @@ ], "doc": "List things with nextlink", "operation": { - "$id": "730", + "$id": "728", "name": "ListWithNextLink", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10710,7 +10683,7 @@ "accessibility": "public", "parameters": [ { - "$id": "731", + "$id": "729", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10726,7 +10699,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithNextLink.accept", "methodParameterSegments": [ { - "$id": "732", + "$id": "730", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10753,7 +10726,7 @@ 200 ], "bodyType": { - "$ref": "336" + "$ref": "334" }, "headers": [], "isErrorResponse": false, @@ -10779,12 +10752,12 @@ }, "parameters": [ { - "$ref": "732" + "$ref": "730" } ], "response": { "type": { - "$ref": "338" + "$ref": "336" }, "resultSegments": [ "things" @@ -10808,7 +10781,7 @@ } }, { - "$id": "733", + "$id": "731", "kind": "paging", "name": "ListWithStringNextLink", "isExactName": false, @@ -10819,7 +10792,7 @@ ], "doc": "List things with nextlink", "operation": { - "$id": "734", + "$id": "732", "name": "ListWithStringNextLink", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10827,7 +10800,7 @@ "accessibility": "public", "parameters": [ { - "$id": "735", + "$id": "733", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10843,7 +10816,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithStringNextLink.accept", "methodParameterSegments": [ { - "$id": "736", + "$id": "734", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10870,7 +10843,7 @@ 200 ], "bodyType": { - "$ref": "341" + "$ref": "339" }, "headers": [], "isErrorResponse": false, @@ -10896,12 +10869,12 @@ }, "parameters": [ { - "$ref": "736" + "$ref": "734" } ], "response": { "type": { - "$ref": "338" + "$ref": "336" }, "resultSegments": [ "things" @@ -10925,7 +10898,7 @@ } }, { - "$id": "737", + "$id": "735", "kind": "paging", "name": "ListWithContinuationToken", "isExactName": false, @@ -10936,7 +10909,7 @@ ], "doc": "List things with continuation token", "operation": { - "$id": "738", + "$id": "736", "name": "ListWithContinuationToken", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -10944,12 +10917,12 @@ "accessibility": "public", "parameters": [ { - "$id": "739", + "$id": "737", "kind": "query", "name": "token", "serializedName": "token", "type": { - "$id": "740", + "$id": "738", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10964,12 +10937,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "741", + "$id": "739", "kind": "method", "name": "token", "serializedName": "token", "type": { - "$id": "742", + "$id": "740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10989,7 +10962,7 @@ "isExactName": false }, { - "$id": "743", + "$id": "741", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11005,7 +10978,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationToken.accept", "methodParameterSegments": [ { - "$id": "744", + "$id": "742", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11032,7 +11005,7 @@ 200 ], "bodyType": { - "$ref": "345" + "$ref": "343" }, "headers": [], "isErrorResponse": false, @@ -11058,15 +11031,15 @@ }, "parameters": [ { - "$ref": "741" + "$ref": "739" }, { - "$ref": "744" + "$ref": "742" } ], "response": { "type": { - "$ref": "338" + "$ref": "336" }, "resultSegments": [ "things" @@ -11082,7 +11055,7 @@ ], "continuationToken": { "parameter": { - "$ref": "739" + "$ref": "737" }, "responseSegments": [ "nextToken" @@ -11093,7 +11066,7 @@ } }, { - "$id": "745", + "$id": "743", "kind": "paging", "name": "ListWithContinuationTokenHeaderResponse", "isExactName": false, @@ -11104,7 +11077,7 @@ ], "doc": "List things with continuation token header response", "operation": { - "$id": "746", + "$id": "744", "name": "ListWithContinuationTokenHeaderResponse", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -11112,12 +11085,12 @@ "accessibility": "public", "parameters": [ { - "$id": "747", + "$id": "745", "kind": "query", "name": "token", "serializedName": "token", "type": { - "$id": "748", + "$id": "746", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11132,12 +11105,12 @@ "readOnly": false, "methodParameterSegments": [ { - "$id": "749", + "$id": "747", "kind": "method", "name": "token", "serializedName": "token", "type": { - "$id": "750", + "$id": "748", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11157,7 +11130,7 @@ "isExactName": false }, { - "$id": "751", + "$id": "749", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11173,7 +11146,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithContinuationTokenHeaderResponse.accept", "methodParameterSegments": [ { - "$id": "752", + "$id": "750", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11200,14 +11173,14 @@ 200 ], "bodyType": { - "$ref": "349" + "$ref": "347" }, "headers": [ { "name": "nextToken", "nameInResponse": "next-token", "type": { - "$id": "753", + "$id": "751", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11238,15 +11211,15 @@ }, "parameters": [ { - "$ref": "749" + "$ref": "747" }, { - "$ref": "752" + "$ref": "750" } ], "response": { "type": { - "$ref": "338" + "$ref": "336" }, "resultSegments": [ "things" @@ -11262,7 +11235,7 @@ ], "continuationToken": { "parameter": { - "$ref": "747" + "$ref": "745" }, "responseSegments": [ "next-token" @@ -11273,7 +11246,7 @@ } }, { - "$id": "754", + "$id": "752", "kind": "paging", "name": "ListWithPaging", "isExactName": false, @@ -11284,7 +11257,7 @@ ], "doc": "List things with paging", "operation": { - "$id": "755", + "$id": "753", "name": "ListWithPaging", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -11292,7 +11265,7 @@ "accessibility": "public", "parameters": [ { - "$id": "756", + "$id": "754", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11308,7 +11281,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ListWithPaging.accept", "methodParameterSegments": [ { - "$id": "757", + "$id": "755", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11335,7 +11308,7 @@ 200 ], "bodyType": { - "$ref": "351" + "$ref": "349" }, "headers": [], "isErrorResponse": false, @@ -11361,12 +11334,12 @@ }, "parameters": [ { - "$ref": "757" + "$ref": "755" } ], "response": { "type": { - "$ref": "338" + "$ref": "336" }, "resultSegments": [ "items" @@ -11384,7 +11357,7 @@ } }, { - "$id": "758", + "$id": "756", "kind": "basic", "name": "EmbeddedParameters", "isExactName": false, @@ -11395,7 +11368,7 @@ ], "doc": "An operation with embedded parameters within the body", "operation": { - "$id": "759", + "$id": "757", "name": "EmbeddedParameters", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -11403,13 +11376,13 @@ "accessibility": "public", "parameters": [ { - "$id": "760", + "$id": "758", "kind": "header", "name": "requiredHeader", "serializedName": "required-header", "doc": "required header parameter", "type": { - "$id": "761", + "$id": "759", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11424,12 +11397,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.requiredHeader", "methodParameterSegments": [ { - "$id": "762", + "$id": "760", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "353" + "$ref": "351" }, "location": "Body", "isApiVersion": false, @@ -11442,13 +11415,13 @@ "isExactName": false }, { - "$id": "763", + "$id": "761", "kind": "method", "name": "requiredHeader", "serializedName": "requiredHeader", "doc": "required header parameter", "type": { - "$ref": "357" + "$ref": "355" }, "location": "", "isApiVersion": false, @@ -11464,13 +11437,13 @@ "isExactName": false }, { - "$id": "764", + "$id": "762", "kind": "header", "name": "optionalHeader", "serializedName": "optional-header", "doc": "optional header parameter", "type": { - "$id": "765", + "$id": "763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11485,16 +11458,16 @@ "crossLanguageDefinitionId": "SampleTypeSpec.ModelWithEmbeddedNonBodyParameters.optionalHeader", "methodParameterSegments": [ { - "$ref": "762" + "$ref": "760" }, { - "$id": "766", + "$id": "764", "kind": "method", "name": "optionalHeader", "serializedName": "optionalHeader", "doc": "optional header parameter", "type": { - "$ref": "359" + "$ref": "357" }, "location": "", "isApiVersion": false, @@ -11510,13 +11483,13 @@ "isExactName": false }, { - "$id": "767", + "$id": "765", "kind": "query", "name": "requiredQuery", "serializedName": "requiredQuery", "doc": "required query parameter", "type": { - "$id": "768", + "$id": "766", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11531,16 +11504,16 @@ "readOnly": false, "methodParameterSegments": [ { - "$ref": "762" + "$ref": "760" }, { - "$id": "769", + "$id": "767", "kind": "method", "name": "requiredQuery", "serializedName": "requiredQuery", "doc": "required query parameter", "type": { - "$ref": "361" + "$ref": "359" }, "location": "", "isApiVersion": false, @@ -11556,13 +11529,13 @@ "isExactName": false }, { - "$id": "770", + "$id": "768", "kind": "query", "name": "optionalQuery", "serializedName": "optionalQuery", "doc": "optional query parameter", "type": { - "$id": "771", + "$id": "769", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11577,16 +11550,16 @@ "readOnly": false, "methodParameterSegments": [ { - "$ref": "762" + "$ref": "760" }, { - "$id": "772", + "$id": "770", "kind": "method", "name": "optionalQuery", "serializedName": "optionalQuery", "doc": "optional query parameter", "type": { - "$ref": "363" + "$ref": "361" }, "location": "", "isApiVersion": false, @@ -11602,7 +11575,7 @@ "isExactName": false }, { - "$id": "773", + "$id": "771", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11619,7 +11592,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.contentType", "methodParameterSegments": [ { - "$id": "774", + "$id": "772", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11641,12 +11614,12 @@ "isExactName": false }, { - "$id": "775", + "$id": "773", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "353" + "$ref": "351" }, "isApiVersion": false, "contentTypes": [ @@ -11660,7 +11633,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters.body", "methodParameterSegments": [ { - "$ref": "762" + "$ref": "760" } ], "isExactName": false, @@ -11696,10 +11669,10 @@ }, "parameters": [ { - "$ref": "762" + "$ref": "760" }, { - "$ref": "774" + "$ref": "772" } ], "response": {}, @@ -11709,7 +11682,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.EmbeddedParameters" }, { - "$id": "776", + "$id": "774", "kind": "basic", "name": "DynamicModelOperation", "isExactName": false, @@ -11720,7 +11693,7 @@ ], "doc": "An operation with a dynamic model", "operation": { - "$id": "777", + "$id": "775", "name": "DynamicModelOperation", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -11728,7 +11701,7 @@ "accessibility": "public", "parameters": [ { - "$id": "778", + "$id": "776", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11745,7 +11718,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.contentType", "methodParameterSegments": [ { - "$id": "779", + "$id": "777", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11767,12 +11740,12 @@ "isExactName": false }, { - "$id": "780", + "$id": "778", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "364" + "$ref": "362" }, "isApiVersion": false, "contentTypes": [ @@ -11786,12 +11759,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation.body", "methodParameterSegments": [ { - "$id": "781", + "$id": "779", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "364" + "$ref": "362" }, "location": "Body", "isApiVersion": false, @@ -11837,10 +11810,10 @@ }, "parameters": [ { - "$ref": "781" + "$ref": "779" }, { - "$ref": "779" + "$ref": "777" } ], "response": {}, @@ -11850,7 +11823,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DynamicModelOperation" }, { - "$id": "782", + "$id": "780", "kind": "basic", "name": "GetXmlAdvancedModel", "isExactName": false, @@ -11861,7 +11834,7 @@ ], "doc": "Get an advanced XML model with various property types", "operation": { - "$id": "783", + "$id": "781", "name": "GetXmlAdvancedModel", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -11869,7 +11842,7 @@ "accessibility": "public", "parameters": [ { - "$id": "784", + "$id": "782", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11885,7 +11858,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.GetXmlAdvancedModel.accept", "methodParameterSegments": [ { - "$id": "785", + "$id": "783", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11912,7 +11885,7 @@ 200 ], "bodyType": { - "$ref": "402" + "$ref": "400" }, "headers": [ { @@ -11946,12 +11919,12 @@ }, "parameters": [ { - "$ref": "785" + "$ref": "783" } ], "response": { "type": { - "$ref": "402" + "$ref": "400" } }, "isOverride": false, @@ -11960,7 +11933,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.GetXmlAdvancedModel" }, { - "$id": "786", + "$id": "784", "kind": "basic", "name": "UpdateXmlAdvancedModel", "isExactName": false, @@ -11971,7 +11944,7 @@ ], "doc": "Update an advanced XML model with various property types", "operation": { - "$id": "787", + "$id": "785", "name": "UpdateXmlAdvancedModel", "isExactName": false, "resourceName": "SampleTypeSpec", @@ -11979,7 +11952,7 @@ "accessibility": "public", "parameters": [ { - "$id": "788", + "$id": "786", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11995,7 +11968,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.contentType", "methodParameterSegments": [ { - "$id": "789", + "$id": "787", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12016,7 +11989,7 @@ "isExactName": false }, { - "$id": "790", + "$id": "788", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12032,7 +12005,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.accept", "methodParameterSegments": [ { - "$id": "791", + "$id": "789", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12053,12 +12026,12 @@ "isExactName": false }, { - "$id": "792", + "$id": "790", "kind": "body", "name": "body", "serializedName": "body", "type": { - "$ref": "402" + "$ref": "400" }, "isApiVersion": false, "contentTypes": [ @@ -12072,12 +12045,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.UpdateXmlAdvancedModel.body", "methodParameterSegments": [ { - "$id": "793", + "$id": "791", "kind": "method", "name": "body", "serializedName": "body", "type": { - "$ref": "402" + "$ref": "400" }, "location": "Body", "isApiVersion": false, @@ -12104,7 +12077,7 @@ 200 ], "bodyType": { - "$ref": "402" + "$ref": "400" }, "headers": [ { @@ -12141,18 +12114,18 @@ }, "parameters": [ { - "$ref": "793" + "$ref": "791" }, { - "$ref": "789" + "$ref": "787" }, { - "$ref": "791" + "$ref": "789" } ], "response": { "type": { - "$ref": "402" + "$ref": "400" } }, "isOverride": false, @@ -12163,12 +12136,12 @@ ], "parameters": [ { - "$id": "794", + "$id": "792", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "795", + "$id": "793", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12184,7 +12157,7 @@ "isExactName": false }, { - "$ref": "726" + "$ref": "724" } ], "initializedBy": 1, @@ -12196,14 +12169,14 @@ ], "children": [ { - "$id": "796", + "$id": "794", "kind": "client", "name": "AnimalOperations", "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { - "$id": "797", + "$id": "795", "kind": "basic", "name": "updatePetAsAnimal", "isExactName": false, @@ -12214,7 +12187,7 @@ ], "doc": "Update a pet as an animal", "operation": { - "$id": "798", + "$id": "796", "name": "updatePetAsAnimal", "isExactName": false, "resourceName": "AnimalOperations", @@ -12222,7 +12195,7 @@ "accessibility": "public", "parameters": [ { - "$id": "799", + "$id": "797", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12239,7 +12212,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.contentType", "methodParameterSegments": [ { - "$id": "800", + "$id": "798", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12261,7 +12234,7 @@ "isExactName": false }, { - "$id": "801", + "$id": "799", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12277,7 +12250,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.accept", "methodParameterSegments": [ { - "$id": "802", + "$id": "800", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12298,12 +12271,12 @@ "isExactName": false }, { - "$id": "803", + "$id": "801", "kind": "body", "name": "animal", "serializedName": "animal", "type": { - "$ref": "498" + "$ref": "496" }, "isApiVersion": false, "contentTypes": [ @@ -12317,12 +12290,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal.animal", "methodParameterSegments": [ { - "$id": "804", + "$id": "802", "kind": "method", "name": "animal", "serializedName": "animal", "type": { - "$ref": "498" + "$ref": "496" }, "location": "Body", "isApiVersion": false, @@ -12349,7 +12322,7 @@ 200 ], "bodyType": { - "$ref": "498" + "$ref": "496" }, "headers": [], "isErrorResponse": false, @@ -12378,18 +12351,18 @@ }, "parameters": [ { - "$ref": "804" + "$ref": "802" }, { - "$ref": "800" + "$ref": "798" }, { - "$ref": "802" + "$ref": "800" } ], "response": { "type": { - "$ref": "498" + "$ref": "496" } }, "isOverride": false, @@ -12398,7 +12371,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updatePetAsAnimal" }, { - "$id": "805", + "$id": "803", "kind": "basic", "name": "updateDogAsAnimal", "isExactName": false, @@ -12409,7 +12382,7 @@ ], "doc": "Update a dog as an animal", "operation": { - "$id": "806", + "$id": "804", "name": "updateDogAsAnimal", "isExactName": false, "resourceName": "AnimalOperations", @@ -12417,7 +12390,7 @@ "accessibility": "public", "parameters": [ { - "$id": "807", + "$id": "805", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12434,7 +12407,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.contentType", "methodParameterSegments": [ { - "$id": "808", + "$id": "806", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12456,7 +12429,7 @@ "isExactName": false }, { - "$id": "809", + "$id": "807", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12472,7 +12445,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.accept", "methodParameterSegments": [ { - "$id": "810", + "$id": "808", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12493,12 +12466,12 @@ "isExactName": false }, { - "$id": "811", + "$id": "809", "kind": "body", "name": "animal", "serializedName": "animal", "type": { - "$ref": "498" + "$ref": "496" }, "isApiVersion": false, "contentTypes": [ @@ -12512,12 +12485,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.AnimalOperations.updateDogAsAnimal.animal", "methodParameterSegments": [ { - "$id": "812", + "$id": "810", "kind": "method", "name": "animal", "serializedName": "animal", "type": { - "$ref": "498" + "$ref": "496" }, "location": "Body", "isApiVersion": false, @@ -12544,7 +12517,7 @@ 200 ], "bodyType": { - "$ref": "498" + "$ref": "496" }, "headers": [], "isErrorResponse": false, @@ -12573,18 +12546,18 @@ }, "parameters": [ { - "$ref": "812" + "$ref": "810" }, { - "$ref": "808" + "$ref": "806" }, { - "$ref": "810" + "$ref": "808" } ], "response": { "type": { - "$ref": "498" + "$ref": "496" } }, "isOverride": false, @@ -12595,12 +12568,12 @@ ], "parameters": [ { - "$id": "813", + "$id": "811", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "814", + "$id": "812", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12624,19 +12597,19 @@ "2024-08-16-preview" ], "parent": { - "$ref": "532" + "$ref": "530" }, "isMultiServiceClient": false }, { - "$id": "815", + "$id": "813", "kind": "client", "name": "PetOperations", "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { - "$id": "816", + "$id": "814", "kind": "basic", "name": "updatePetAsPet", "isExactName": false, @@ -12647,7 +12620,7 @@ ], "doc": "Update a pet as a pet", "operation": { - "$id": "817", + "$id": "815", "name": "updatePetAsPet", "isExactName": false, "resourceName": "PetOperations", @@ -12655,7 +12628,7 @@ "accessibility": "public", "parameters": [ { - "$id": "818", + "$id": "816", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12672,7 +12645,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.contentType", "methodParameterSegments": [ { - "$id": "819", + "$id": "817", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12694,7 +12667,7 @@ "isExactName": false }, { - "$id": "820", + "$id": "818", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12710,7 +12683,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.accept", "methodParameterSegments": [ { - "$id": "821", + "$id": "819", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12731,12 +12704,12 @@ "isExactName": false }, { - "$id": "822", + "$id": "820", "kind": "body", "name": "pet", "serializedName": "pet", "type": { - "$ref": "503" + "$ref": "501" }, "isApiVersion": false, "contentTypes": [ @@ -12750,12 +12723,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet.pet", "methodParameterSegments": [ { - "$id": "823", + "$id": "821", "kind": "method", "name": "pet", "serializedName": "pet", "type": { - "$ref": "503" + "$ref": "501" }, "location": "Body", "isApiVersion": false, @@ -12782,7 +12755,7 @@ 200 ], "bodyType": { - "$ref": "503" + "$ref": "501" }, "headers": [], "isErrorResponse": false, @@ -12811,18 +12784,18 @@ }, "parameters": [ { - "$ref": "823" + "$ref": "821" }, { - "$ref": "819" + "$ref": "817" }, { - "$ref": "821" + "$ref": "819" } ], "response": { "type": { - "$ref": "503" + "$ref": "501" } }, "isOverride": false, @@ -12831,7 +12804,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updatePetAsPet" }, { - "$id": "824", + "$id": "822", "kind": "basic", "name": "updateDogAsPet", "isExactName": false, @@ -12842,7 +12815,7 @@ ], "doc": "Update a dog as a pet", "operation": { - "$id": "825", + "$id": "823", "name": "updateDogAsPet", "isExactName": false, "resourceName": "PetOperations", @@ -12850,7 +12823,7 @@ "accessibility": "public", "parameters": [ { - "$id": "826", + "$id": "824", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12867,7 +12840,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.contentType", "methodParameterSegments": [ { - "$id": "827", + "$id": "825", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12889,7 +12862,7 @@ "isExactName": false }, { - "$id": "828", + "$id": "826", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12905,7 +12878,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.accept", "methodParameterSegments": [ { - "$id": "829", + "$id": "827", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12926,12 +12899,12 @@ "isExactName": false }, { - "$id": "830", + "$id": "828", "kind": "body", "name": "pet", "serializedName": "pet", "type": { - "$ref": "503" + "$ref": "501" }, "isApiVersion": false, "contentTypes": [ @@ -12945,12 +12918,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PetOperations.updateDogAsPet.pet", "methodParameterSegments": [ { - "$id": "831", + "$id": "829", "kind": "method", "name": "pet", "serializedName": "pet", "type": { - "$ref": "503" + "$ref": "501" }, "location": "Body", "isApiVersion": false, @@ -12977,7 +12950,7 @@ 200 ], "bodyType": { - "$ref": "503" + "$ref": "501" }, "headers": [], "isErrorResponse": false, @@ -13006,18 +12979,18 @@ }, "parameters": [ { - "$ref": "831" + "$ref": "829" }, { - "$ref": "827" + "$ref": "825" }, { - "$ref": "829" + "$ref": "827" } ], "response": { "type": { - "$ref": "503" + "$ref": "501" } }, "isOverride": false, @@ -13028,12 +13001,12 @@ ], "parameters": [ { - "$id": "832", + "$id": "830", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "833", + "$id": "831", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13057,19 +13030,19 @@ "2024-08-16-preview" ], "parent": { - "$ref": "532" + "$ref": "530" }, "isMultiServiceClient": false }, { - "$id": "834", + "$id": "832", "kind": "client", "name": "DogOperations", "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { - "$id": "835", + "$id": "833", "kind": "basic", "name": "updateDogAsDog", "isExactName": false, @@ -13080,7 +13053,7 @@ ], "doc": "Update a dog as a dog", "operation": { - "$id": "836", + "$id": "834", "name": "updateDogAsDog", "isExactName": false, "resourceName": "DogOperations", @@ -13088,7 +13061,7 @@ "accessibility": "public", "parameters": [ { - "$id": "837", + "$id": "835", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -13105,7 +13078,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.contentType", "methodParameterSegments": [ { - "$id": "838", + "$id": "836", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -13127,7 +13100,7 @@ "isExactName": false }, { - "$id": "839", + "$id": "837", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13143,7 +13116,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.accept", "methodParameterSegments": [ { - "$id": "840", + "$id": "838", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13164,12 +13137,12 @@ "isExactName": false }, { - "$id": "841", + "$id": "839", "kind": "body", "name": "dog", "serializedName": "dog", "type": { - "$ref": "507" + "$ref": "505" }, "isApiVersion": false, "contentTypes": [ @@ -13183,12 +13156,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.DogOperations.updateDogAsDog.dog", "methodParameterSegments": [ { - "$id": "842", + "$id": "840", "kind": "method", "name": "dog", "serializedName": "dog", "type": { - "$ref": "507" + "$ref": "505" }, "location": "Body", "isApiVersion": false, @@ -13215,7 +13188,7 @@ 200 ], "bodyType": { - "$ref": "507" + "$ref": "505" }, "headers": [], "isErrorResponse": false, @@ -13244,18 +13217,18 @@ }, "parameters": [ { - "$ref": "842" + "$ref": "840" }, { - "$ref": "838" + "$ref": "836" }, { - "$ref": "840" + "$ref": "838" } ], "response": { "type": { - "$ref": "507" + "$ref": "505" } }, "isOverride": false, @@ -13266,12 +13239,12 @@ ], "parameters": [ { - "$id": "843", + "$id": "841", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "844", + "$id": "842", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13295,19 +13268,19 @@ "2024-08-16-preview" ], "parent": { - "$ref": "532" + "$ref": "530" }, "isMultiServiceClient": false }, { - "$id": "845", + "$id": "843", "kind": "client", "name": "PlantOperations", "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { - "$id": "846", + "$id": "844", "kind": "basic", "name": "getTree", "isExactName": false, @@ -13318,7 +13291,7 @@ ], "doc": "Get a tree as a plant", "operation": { - "$id": "847", + "$id": "845", "name": "getTree", "isExactName": false, "resourceName": "PlantOperations", @@ -13326,7 +13299,7 @@ "accessibility": "public", "parameters": [ { - "$id": "848", + "$id": "846", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13342,7 +13315,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTree.accept", "methodParameterSegments": [ { - "$id": "849", + "$id": "847", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13369,7 +13342,7 @@ 200 ], "bodyType": { - "$ref": "511" + "$ref": "509" }, "headers": [ { @@ -13403,12 +13376,12 @@ }, "parameters": [ { - "$ref": "849" + "$ref": "847" } ], "response": { "type": { - "$ref": "511" + "$ref": "509" } }, "isOverride": false, @@ -13417,7 +13390,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTree" }, { - "$id": "850", + "$id": "848", "kind": "basic", "name": "getTreeAsJson", "isExactName": false, @@ -13428,7 +13401,7 @@ ], "doc": "Get a tree as a plant", "operation": { - "$id": "851", + "$id": "849", "name": "getTreeAsJson", "isExactName": false, "resourceName": "PlantOperations", @@ -13436,7 +13409,7 @@ "accessibility": "public", "parameters": [ { - "$id": "852", + "$id": "850", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13452,7 +13425,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTreeAsJson.accept", "methodParameterSegments": [ { - "$id": "853", + "$id": "851", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13479,7 +13452,7 @@ 200 ], "bodyType": { - "$ref": "511" + "$ref": "509" }, "headers": [ { @@ -13513,12 +13486,12 @@ }, "parameters": [ { - "$ref": "853" + "$ref": "851" } ], "response": { "type": { - "$ref": "511" + "$ref": "509" } }, "isOverride": false, @@ -13527,7 +13500,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.getTreeAsJson" }, { - "$id": "854", + "$id": "852", "kind": "basic", "name": "updateTree", "isExactName": false, @@ -13538,7 +13511,7 @@ ], "doc": "Update a tree as a plant", "operation": { - "$id": "855", + "$id": "853", "name": "updateTree", "isExactName": false, "resourceName": "PlantOperations", @@ -13546,7 +13519,7 @@ "accessibility": "public", "parameters": [ { - "$id": "856", + "$id": "854", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -13562,7 +13535,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.contentType", "methodParameterSegments": [ { - "$id": "857", + "$id": "855", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -13583,7 +13556,7 @@ "isExactName": false }, { - "$id": "858", + "$id": "856", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13599,7 +13572,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.accept", "methodParameterSegments": [ { - "$id": "859", + "$id": "857", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13620,12 +13593,12 @@ "isExactName": false }, { - "$id": "860", + "$id": "858", "kind": "body", "name": "tree", "serializedName": "tree", "type": { - "$ref": "511" + "$ref": "509" }, "isApiVersion": false, "contentTypes": [ @@ -13639,12 +13612,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree.tree", "methodParameterSegments": [ { - "$id": "861", + "$id": "859", "kind": "method", "name": "tree", "serializedName": "tree", "type": { - "$ref": "511" + "$ref": "509" }, "location": "Body", "isApiVersion": false, @@ -13671,7 +13644,7 @@ 200 ], "bodyType": { - "$ref": "511" + "$ref": "509" }, "headers": [ { @@ -13708,18 +13681,18 @@ }, "parameters": [ { - "$ref": "861" + "$ref": "859" }, { - "$ref": "857" + "$ref": "855" }, { - "$ref": "859" + "$ref": "857" } ], "response": { "type": { - "$ref": "511" + "$ref": "509" } }, "isOverride": false, @@ -13728,7 +13701,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTree" }, { - "$id": "862", + "$id": "860", "kind": "basic", "name": "updateTreeAsJson", "isExactName": false, @@ -13739,7 +13712,7 @@ ], "doc": "Update a tree as a plant", "operation": { - "$id": "863", + "$id": "861", "name": "updateTreeAsJson", "isExactName": false, "resourceName": "PlantOperations", @@ -13747,7 +13720,7 @@ "accessibility": "public", "parameters": [ { - "$id": "864", + "$id": "862", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -13763,7 +13736,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.contentType", "methodParameterSegments": [ { - "$id": "865", + "$id": "863", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -13784,7 +13757,7 @@ "isExactName": false }, { - "$id": "866", + "$id": "864", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13800,7 +13773,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.accept", "methodParameterSegments": [ { - "$id": "867", + "$id": "865", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13821,12 +13794,12 @@ "isExactName": false }, { - "$id": "868", + "$id": "866", "kind": "body", "name": "tree", "serializedName": "tree", "type": { - "$ref": "511" + "$ref": "509" }, "isApiVersion": false, "contentTypes": [ @@ -13840,12 +13813,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.PlantOperations.updateTreeAsJson.tree", "methodParameterSegments": [ { - "$id": "869", + "$id": "867", "kind": "method", "name": "tree", "serializedName": "tree", "type": { - "$ref": "511" + "$ref": "509" }, "location": "Body", "isApiVersion": false, @@ -13872,7 +13845,7 @@ 200 ], "bodyType": { - "$ref": "511" + "$ref": "509" }, "headers": [ { @@ -13909,18 +13882,18 @@ }, "parameters": [ { - "$ref": "869" + "$ref": "867" }, { - "$ref": "865" + "$ref": "863" }, { - "$ref": "867" + "$ref": "865" } ], "response": { "type": { - "$ref": "511" + "$ref": "509" } }, "isOverride": false, @@ -13931,12 +13904,12 @@ ], "parameters": [ { - "$id": "870", + "$id": "868", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "871", + "$id": "869", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -13960,19 +13933,19 @@ "2024-08-16-preview" ], "parent": { - "$ref": "532" + "$ref": "530" }, "isMultiServiceClient": false }, { - "$id": "872", + "$id": "870", "kind": "client", "name": "Metrics", "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { - "$id": "873", + "$id": "871", "kind": "basic", "name": "getWidgetMetrics", "isExactName": false, @@ -13983,7 +13956,7 @@ ], "doc": "Get Widget metrics for given day of week", "operation": { - "$id": "874", + "$id": "872", "name": "getWidgetMetrics", "isExactName": false, "resourceName": "Metrics", @@ -13991,12 +13964,12 @@ "accessibility": "public", "parameters": [ { - "$id": "875", + "$id": "873", "kind": "path", "name": "metricsNamespace", "serializedName": "metricsNamespace", "type": { - "$id": "876", + "$id": "874", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14014,12 +13987,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.metricsNamespace", "methodParameterSegments": [ { - "$id": "877", + "$id": "875", "kind": "method", "name": "metricsNamespace", "serializedName": "metricsNamespace", "type": { - "$id": "878", + "$id": "876", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14039,7 +14012,7 @@ "isExactName": false }, { - "$id": "879", + "$id": "877", "kind": "path", "name": "day", "serializedName": "day", @@ -14058,7 +14031,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.day", "methodParameterSegments": [ { - "$id": "880", + "$id": "878", "kind": "method", "name": "day", "serializedName": "day", @@ -14079,7 +14052,7 @@ "isExactName": false }, { - "$id": "881", + "$id": "879", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -14095,7 +14068,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Metrics.getWidgetMetrics.accept", "methodParameterSegments": [ { - "$id": "882", + "$id": "880", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -14122,7 +14095,7 @@ 200 ], "bodyType": { - "$ref": "522" + "$ref": "520" }, "headers": [], "isErrorResponse": false, @@ -14148,15 +14121,15 @@ }, "parameters": [ { - "$ref": "880" + "$ref": "878" }, { - "$ref": "882" + "$ref": "880" } ], "response": { "type": { - "$ref": "522" + "$ref": "520" } }, "isOverride": false, @@ -14167,12 +14140,12 @@ ], "parameters": [ { - "$id": "883", + "$id": "881", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "884", + "$id": "882", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -14188,7 +14161,7 @@ "isExactName": false }, { - "$ref": "877" + "$ref": "875" } ], "initializedBy": 3, @@ -14199,19 +14172,19 @@ "2024-08-16-preview" ], "parent": { - "$ref": "532" + "$ref": "530" }, "isMultiServiceClient": false }, { - "$id": "885", + "$id": "883", "kind": "client", "name": "Notebooks", "isExactName": false, "namespace": "SampleTypeSpec", "methods": [ { - "$id": "886", + "$id": "884", "kind": "basic", "name": "getNotebook", "isExactName": false, @@ -14222,7 +14195,7 @@ ], "doc": "Get a notebook by name", "operation": { - "$id": "887", + "$id": "885", "name": "getNotebook", "isExactName": false, "resourceName": "Notebooks", @@ -14230,12 +14203,12 @@ "accessibility": "public", "parameters": [ { - "$id": "888", + "$id": "886", "kind": "path", "name": "notebookName", "serializedName": "notebookName", "type": { - "$id": "889", + "$id": "887", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14253,12 +14226,12 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.getNotebook.notebookName", "methodParameterSegments": [ { - "$id": "890", + "$id": "888", "kind": "method", "name": "notebook", "serializedName": "notebook", "type": { - "$id": "891", + "$id": "889", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14279,7 +14252,7 @@ "isExactName": false }, { - "$id": "892", + "$id": "890", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -14295,7 +14268,7 @@ "crossLanguageDefinitionId": "SampleTypeSpec.Notebooks.getNotebook.accept", "methodParameterSegments": [ { - "$id": "893", + "$id": "891", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -14322,7 +14295,7 @@ 200 ], "bodyType": { - "$ref": "527" + "$ref": "525" }, "headers": [], "isErrorResponse": false, @@ -14348,12 +14321,12 @@ }, "parameters": [ { - "$ref": "893" + "$ref": "891" } ], "response": { "type": { - "$ref": "527" + "$ref": "525" } }, "isOverride": false, @@ -14364,12 +14337,12 @@ ], "parameters": [ { - "$id": "894", + "$id": "892", "kind": "endpoint", "name": "sampleTypeSpecUrl", "serializedName": "sampleTypeSpecUrl", "type": { - "$id": "895", + "$id": "893", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -14385,7 +14358,7 @@ "isExactName": false }, { - "$ref": "890" + "$ref": "888" } ], "initializedBy": 3, @@ -14396,7 +14369,7 @@ "2024-08-16-preview" ], "parent": { - "$ref": "532" + "$ref": "530" }, "isMultiServiceClient": false } From b6b4d38cdcf04a6f414dfb7fd35e3a8d096a2e05 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 21:05:36 +0000 Subject: [PATCH 14/15] Preserve exact C# parameter name when InputParameter.IsExactName is true Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../ExactNameMethodParameterPreservedInRestClient.cs | 4 ++-- .../src/Providers/ParameterProvider.cs | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs index 2603184c66e..cdfa273b355 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator.ClientModel/test/Providers/RestClientProviders/TestData/RestClientProviderTests/ExactNameMethodParameterPreservedInRestClient.cs @@ -8,11 +8,11 @@ namespace Sample { public partial class TestClient { - internal global::System.ClientModel.Primitives.PipelineMessage CreateGetSomethingRequest(string apiKey, global::System.ClientModel.Primitives.RequestOptions options) + internal global::System.ClientModel.Primitives.PipelineMessage CreateGetSomethingRequest(string api_key, global::System.ClientModel.Primitives.RequestOptions options) { global::Sample.ClientUriBuilder uri = new global::Sample.ClientUriBuilder(); uri.Reset(_endpoint); - uri.AppendQuery("api_key", apiKey, true); + uri.AppendQuery("api_key", api_key, true); global::System.ClientModel.Primitives.PipelineMessage message = Pipeline.CreateMessage(uri.ToUri(), "GET", PipelineMessageClassifier200); global::System.ClientModel.Primitives.PipelineRequest request = message.Request; message.Apply(options); diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs index 21e6f9c1adf..1d7a425498e 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs @@ -197,6 +197,12 @@ internal static VariableExpression GetVariableExpression(ParameterProvider param { CodeWriterDeclaration? declaration = parameter._asVariable?.Declaration ?? parameter._asArgument?.Declaration; + // When the underlying input parameter is marked exact, preserve the spec name verbatim + // instead of camelCasing it via ToVariableName. + var variableName = parameter.InputParameter?.IsExactName == true + ? parameter.Name + : parameter.Name.ToVariableName(); + if (includeModifiers) { if (parameter._asArgument == null) @@ -213,7 +219,7 @@ internal static VariableExpression GetVariableExpression(ParameterProvider param { parameter._asArgument = new VariableExpression( parameter.Type, - parameter.Name.ToVariableName(), + variableName, parameter.IsRef, parameter.IsOut); } @@ -235,7 +241,7 @@ internal static VariableExpression GetVariableExpression(ParameterProvider param { parameter._asVariable = new VariableExpression( parameter.Type, - parameter.Name.ToVariableName(), + variableName, includeModifiers && parameter.IsRef, includeModifiers && parameter.IsOut); } From 7fb0773a90bff971879df8f349e1afa9bf984c2a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 21:08:52 +0000 Subject: [PATCH 15/15] Remove explanatory comment in ParameterProvider.GetVariableExpression Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com> --- .../src/Providers/ParameterProvider.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs index 1d7a425498e..e8387fc0be3 100644 --- a/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs +++ b/packages/http-client-csharp/generator/Microsoft.TypeSpec.Generator/src/Providers/ParameterProvider.cs @@ -197,8 +197,6 @@ internal static VariableExpression GetVariableExpression(ParameterProvider param { CodeWriterDeclaration? declaration = parameter._asVariable?.Declaration ?? parameter._asArgument?.Declaration; - // When the underlying input parameter is marked exact, preserve the spec name verbatim - // instead of camelCasing it via ToVariableName. var variableName = parameter.InputParameter?.IsExactName == true ? parameter.Name : parameter.Name.ToVariableName();