diff --git a/packages/http-client-java/emitter/src/code-model-builder.ts b/packages/http-client-java/emitter/src/code-model-builder.ts index 7aeee04156..5743cfb15f 100644 --- a/packages/http-client-java/emitter/src/code-model-builder.ts +++ b/packages/http-client-java/emitter/src/code-model-builder.ts @@ -111,11 +111,7 @@ import { getSegment } from "@typespec/rest"; import { getAddedOnVersions } from "@typespec/versioning"; import { fail } from "assert"; import pkg from "lodash"; -import { - Client as CodeModelClient, - CrossLanguageDefinition, - EncodedSchema, -} from "./common/client.js"; +import { Client as CodeModelClient, EncodedSchema } from "./common/client.js"; import { CodeModel } from "./common/code-model.js"; import { LongRunningMetadata } from "./common/long-running-metadata.js"; import { Operation as CodeModelOperation, ConvenienceApi, Request } from "./common/operation.js"; @@ -549,7 +545,7 @@ export class CodeModelBuilder { // at present, use global security definition security: this.codeModel.security, }); - codeModelClient.crossLanguageDefinitionId = client.crossLanguageDefinitionId; + codeModelClient.language.default.crossLanguageDefinitionId = client.crossLanguageDefinitionId; // versioning const versions = client.apiVersions; @@ -616,6 +612,7 @@ export class CodeModelBuilder { // operations without operation group const serviceMethodsWithoutSubClient = this.listServiceMethodsUnderClient(client); let codeModelGroup = new OperationGroup(""); + codeModelGroup.language.default.crossLanguageDefinitionId = client.crossLanguageDefinitionId; for (const serviceMethod of serviceMethodsWithoutSubClient) { if (!this.needToSkipProcessingOperation(serviceMethod.__raw, clientContext)) { codeModelGroup.addOperation(this.processOperation(serviceMethod, clientContext, "")); @@ -639,6 +636,8 @@ export class CodeModelBuilder { // operation group with no operation is skipped if (serviceMethods.length > 0) { codeModelGroup = new OperationGroup(subClient.name); + codeModelGroup.language.default.crossLanguageDefinitionId = + subClient.crossLanguageDefinitionId; for (const serviceMethod of serviceMethods) { if (!this.needToSkipProcessingOperation(serviceMethod.__raw, clientContext)) { codeModelGroup.addOperation( @@ -817,7 +816,7 @@ export class CodeModelBuilder { }, }); - (codeModelOperation as CrossLanguageDefinition).crossLanguageDefinitionId = + codeModelOperation.language.default.crossLanguageDefinitionId = sdkMethod.crossLanguageDefintionId; codeModelOperation.internalApi = sdkMethod.access === "internal"; @@ -2017,7 +2016,7 @@ export class CodeModelBuilder { }, }, }); - schema.crossLanguageDefinitionId = type.crossLanguageDefinitionId; + schema.language.default.crossLanguageDefinitionId = type.crossLanguageDefinitionId; return this.codeModel.schemas.add(schema); } @@ -2117,8 +2116,7 @@ export class CodeModelBuilder { }, }, }); - (objectSchema as CrossLanguageDefinition).crossLanguageDefinitionId = - type.crossLanguageDefinitionId; + objectSchema.language.default.crossLanguageDefinitionId = type.crossLanguageDefinitionId; this.codeModel.schemas.add(objectSchema); // cache this now before we accidentally recurse on this type. @@ -2541,17 +2539,18 @@ export class CodeModelBuilder { const clientNamespace: string | undefined = type?.clientNamespace; if (type) { + const crossLanguageDefinitionId = type.crossLanguageDefinitionId; if (this.isBranded()) { // special handling for namespace of model that cannot be mapped to azure-core - if (type.crossLanguageDefinitionId === "TypeSpec.Http.File") { + if (crossLanguageDefinitionId === "TypeSpec.Http.File") { // TypeSpec.Http.File return this.baseJavaNamespace; - } else if (type.crossLanguageDefinitionId === "Azure.Core.Foundations.OperationState") { + } else if (crossLanguageDefinitionId === "Azure.Core.Foundations.OperationState") { // Azure.Core.OperationState return this.baseJavaNamespace; } else if ( - type.crossLanguageDefinitionId === "Azure.Core.ResourceOperationStatus" || - type.crossLanguageDefinitionId === "Azure.Core.Foundations.OperationStatus" + crossLanguageDefinitionId === "Azure.Core.ResourceOperationStatus" || + crossLanguageDefinitionId === "Azure.Core.Foundations.OperationStatus" ) { // Azure.Core.ResourceOperationStatus<> // Azure.Core.Foundations.OperationStatus<> @@ -2563,10 +2562,10 @@ export class CodeModelBuilder { } } else { // special handling for namespace of model in TypeSpec - if (type.crossLanguageDefinitionId === "TypeSpec.Http.File") { + if (crossLanguageDefinitionId === "TypeSpec.Http.File") { // TypeSpec.Http.File return this.baseJavaNamespace; - } else if (type.crossLanguageDefinitionId.startsWith("TypeSpec.Rest.Resource.")) { + } else if (crossLanguageDefinitionId.startsWith("TypeSpec.Rest.Resource.")) { // models in TypeSpec.Rest.Resource return this.baseJavaNamespace; } diff --git a/packages/http-client-java/emitter/src/common/client.ts b/packages/http-client-java/emitter/src/common/client.ts index 99487286a3..8962e4cca4 100644 --- a/packages/http-client-java/emitter/src/common/client.ts +++ b/packages/http-client-java/emitter/src/common/client.ts @@ -2,7 +2,7 @@ import { Aspect, Metadata, OperationGroup, Parameter, Security } from "@autorest/codemodel"; import { DeepPartial } from "@azure-tools/codegen"; -export interface Client extends Aspect, CrossLanguageDefinition { +export interface Client extends Aspect { /** All operations */ operationGroups: Array; @@ -67,10 +67,6 @@ export class ServiceVersion extends Metadata { } } -export interface CrossLanguageDefinition { - crossLanguageDefinitionId?: string; -} - export interface EncodedSchema { encode?: string; } diff --git a/packages/http-client-java/emitter/src/common/operation.ts b/packages/http-client-java/emitter/src/common/operation.ts index b22a48090d..d79710b261 100644 --- a/packages/http-client-java/emitter/src/common/operation.ts +++ b/packages/http-client-java/emitter/src/common/operation.ts @@ -9,11 +9,10 @@ import { SchemaType, } from "@autorest/codemodel"; import { DeepPartial } from "@azure-tools/codegen"; -import { CrossLanguageDefinition } from "./client.js"; import { LongRunningMetadata } from "./long-running-metadata.js"; /** represents a single callable endpoint with a discrete set of inputs, and any number of output possibilities (responses or exceptions) */ -export interface Operation extends Aspect, CrossLanguageDefinition { +export interface Operation extends Aspect { /** * Original Operation ID if present. * This can be used to identify the original id of an operation before it is styled. diff --git a/packages/http-client-java/emitter/src/external-schemas.ts b/packages/http-client-java/emitter/src/external-schemas.ts index 448f420b66..18c18efea3 100644 --- a/packages/http-client-java/emitter/src/external-schemas.ts +++ b/packages/http-client-java/emitter/src/external-schemas.ts @@ -14,7 +14,6 @@ import { SdkModelType, SdkType, } from "@azure-tools/typespec-client-generator-core"; -import { CrossLanguageDefinition } from "./common/client.js"; import { getNamespace, pascalCase } from "./utils.js"; /* @@ -36,8 +35,7 @@ export function createResponseErrorSchema( }, }, }); - (responseErrorSchema as CrossLanguageDefinition).crossLanguageDefinitionId = - "Azure.Core.Foundations.Error"; + responseErrorSchema.language.default.crossLanguageDefinitionId = "Azure.Core.Foundations.Error"; schemas.add(responseErrorSchema); responseErrorSchema.addProperty( @@ -117,7 +115,7 @@ export function createResponseInnerErrorSchema( }, }, ); - (responseInnerErrorSchema as CrossLanguageDefinition).crossLanguageDefinitionId = + responseInnerErrorSchema.language.default.crossLanguageDefinitionId = "Azure.Core.Foundations.InnerError"; schemas.add(responseInnerErrorSchema); @@ -341,7 +339,7 @@ export function getFileDetailsSchema( fileDetailsSchema.language.default.description = fileSdkType.doc; } // crossLanguageDefinitionId - (fileDetailsSchema as CrossLanguageDefinition).crossLanguageDefinitionId = + fileDetailsSchema.language.default.crossLanguageDefinitionId = fileSdkType.crossLanguageDefinitionId; let contentTypeProperty; diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ChoiceSchema.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ChoiceSchema.java index 4efc30b1c3..e4a6652fab 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ChoiceSchema.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ChoiceSchema.java @@ -18,7 +18,6 @@ public class ChoiceSchema extends ValueSchema { private Schema choiceType; private List choices = new ArrayList<>(); private String summary; - private String crossLanguageDefinitionId; /** * Creates a new instance of the ChoiceSchema class. @@ -73,24 +72,6 @@ public void setSummary(String summary) { this.summary = summary; } - /** - * Gets the cross-language definition id. - * - * @return The cross-language definition id. - */ - public String getCrossLanguageDefinitionId() { - return crossLanguageDefinitionId; - } - - /** - * Sets the cross-language definition id. - * - * @param crossLanguageDefinitionId The cross-language definition id. - */ - public void setCrossLanguageDefinitionId(String crossLanguageDefinitionId) { - this.crossLanguageDefinitionId = crossLanguageDefinitionId; - } - @Override public String toString() { return sharedToString(this, ChoiceSchema.class.getName()); @@ -137,8 +118,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { JsonWriter writeParentProperties(JsonWriter jsonWriter) throws IOException { return super.writeParentProperties(jsonWriter).writeJsonField("choiceType", choiceType) .writeArrayField("choices", choices, JsonWriter::writeJson) - .writeStringField("summary", summary) - .writeStringField("crossLanguageDefinitionId", crossLanguageDefinitionId); + .writeStringField("summary", summary); } /** @@ -168,9 +148,6 @@ boolean tryConsumeParentProperties(ChoiceSchema schema, String fieldName, JsonRe } else if ("summary".equals(fieldName)) { schema.summary = reader.getString(); return true; - } else if ("crossLanguageDefinitionId".equals(fieldName)) { - schema.crossLanguageDefinitionId = reader.getString(); - return true; } return false; diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Client.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Client.java index d4a750a3b5..cdb10bb9f7 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Client.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Client.java @@ -21,7 +21,6 @@ public class Client extends Metadata { private Security security; private List apiVersions = new ArrayList<>(); private ServiceVersion serviceVersion; - private String crossLanguageDefinitionId; private Client parent; private List subClients = Collections.emptyList(); private boolean buildMethodPublic = true; @@ -142,24 +141,6 @@ public void setServiceVersion(ServiceVersion serviceVersion) { this.serviceVersion = serviceVersion; } - /** - * Gets the cross-language definition id of the client. - * - * @return The cross-language definition id of the client. - */ - public String getCrossLanguageDefinitionId() { - return crossLanguageDefinitionId; - } - - /** - * Sets the cross-language definition id of the client. - * - * @param crossLanguageDefinitionId The cross-language definition id of the client. - */ - public void setCrossLanguageDefinitionId(String crossLanguageDefinitionId) { - this.crossLanguageDefinitionId = crossLanguageDefinitionId; - } - public Client getParent() { return parent; } @@ -204,7 +185,6 @@ JsonWriter writeParentProperties(JsonWriter jsonWriter) throws IOException { .writeJsonField("security", security) .writeArrayField("apiVersions", apiVersions, JsonWriter::writeJson) .writeJsonField("serviceVersion", serviceVersion) - .writeStringField("crossLanguageDefinitionId", crossLanguageDefinitionId) .writeJsonField("parent", parent) .writeArrayField("subClients", subClients, JsonWriter::writeJson) .writeBooleanField("buildMethodPublic", buildMethodPublic) @@ -247,9 +227,6 @@ boolean tryConsumeParentProperties(Client client, String fieldName, JsonReader r } else if ("serviceVersion".equals(fieldName)) { client.serviceVersion = ServiceVersion.fromJson(reader); return true; - } else if ("crossLanguageDefinitionId".equals(fieldName)) { - client.crossLanguageDefinitionId = reader.getString(); - return true; } else if ("parent".equals(fieldName)) { client.parent = Client.fromJson(reader); return true; diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Language.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Language.java index 9c9b676907..4fd53f7981 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Language.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Language.java @@ -19,6 +19,7 @@ public class Language implements JsonSerializable { private String description; private String summary; private String namespace; + private String crossLanguageDefinitionId; private String comment; /** @@ -135,6 +136,24 @@ public void setComment(String comment) { this.comment = comment; } + /** + * Gets the crossLanguageDefinitionId. + * + * @return The crossLanguageDefinitionId. + */ + public String getCrossLanguageDefinitionId() { + return crossLanguageDefinitionId; + } + + /** + * Sets the crossLanguageDefinitionId. + * + * @param crossLanguageDefinitionId The crossLanguageDefinitionId. + */ + public void setCrossLanguageDefinitionId(String crossLanguageDefinitionId) { + this.crossLanguageDefinitionId = crossLanguageDefinitionId; + } + @Override public String toString() { return "Language{name='" + name + "', serializedName='" + serializedName + "'}"; @@ -148,6 +167,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { .writeStringField("description", description) .writeStringField("summary", summary) .writeStringField("namespace", namespace) + .writeStringField("crossLanguageDefinitionId", crossLanguageDefinitionId) .writeStringField("comment", comment) .writeEndObject(); } @@ -171,6 +191,8 @@ public static Language fromJson(JsonReader jsonReader) throws IOException { language.summary = reader.getString(); } else if ("namespace".equals(fieldName)) { language.namespace = reader.getString(); + } else if ("crossLanguageDefinitionId".equals(fieldName)) { + language.crossLanguageDefinitionId = reader.getString(); } else if ("comment".equals(fieldName)) { language.comment = reader.getString(); } else { diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ObjectSchema.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ObjectSchema.java index 1166cc5d35..53cf421b18 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ObjectSchema.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/ObjectSchema.java @@ -25,7 +25,6 @@ public class ObjectSchema extends ComplexSchema { private boolean flattenedSchema; // internal use, not from modelerfour private boolean stronglyTypedHeader; - private String crossLanguageDefinitionId; /** * Creates a new instance of the ObjectSchema class. @@ -195,24 +194,6 @@ public void setStronglyTypedHeader(boolean stronglyTypedHeader) { this.stronglyTypedHeader = stronglyTypedHeader; } - /** - * Gets the cross-language definition ID for this object. - * - * @return The cross-language definition ID for this object. - */ - public String getCrossLanguageDefinitionId() { - return crossLanguageDefinitionId; - } - - /** - * Sets the cross-language definition ID for this object. - * - * @param crossLanguageDefinitionId The cross-language definition ID for this object. - */ - public void setCrossLanguageDefinitionId(String crossLanguageDefinitionId) { - this.crossLanguageDefinitionId = crossLanguageDefinitionId; - } - @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { return super.writeParentProperties(jsonWriter.writeStartObject()).writeJsonField("discriminator", discriminator) @@ -256,8 +237,6 @@ public static ObjectSchema fromJson(JsonReader jsonReader) throws IOException { schema.flattenedSchema = reader.getBoolean(); } else if ("stronglyTypedHeader".equals(fieldName)) { schema.stronglyTypedHeader = reader.getBoolean(); - } else if ("crossLanguageDefinitionId".equals(fieldName)) { - schema.crossLanguageDefinitionId = reader.getString(); } else { reader.skipChildren(); } diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Operation.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Operation.java index 31856669f5..0f4a077ecc 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Operation.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/extension/model/codemodel/Operation.java @@ -34,7 +34,6 @@ public class Operation extends Metadata { private ConvenienceApi convenienceApi; private Boolean generateProtocolApi; private Boolean internalApi; - private String crossLanguageDefinitionId; // internal private OperationGroup operationGroup; @@ -404,24 +403,6 @@ public void setInternalApi(Boolean internalApi) { this.internalApi = internalApi; } - /** - * Gets the cross-language definition ID. - * - * @return The cross-language definition ID. - */ - public String getCrossLanguageDefinitionId() { - return crossLanguageDefinitionId; - } - - /** - * Sets the cross-language definition ID. - * - * @param crossLanguageDefinitionId The cross-language definition ID. - */ - public void setCrossLanguageDefinitionId(String crossLanguageDefinitionId) { - this.crossLanguageDefinitionId = crossLanguageDefinitionId; - } - @Override public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { return super.writeParentProperties(jsonWriter.writeStartObject()).writeStringField("operationId", operationId) @@ -443,7 +424,6 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { .writeJsonField("convenienceApi", convenienceApi) .writeBooleanField("generateProtocolApi", generateProtocolApi) .writeBooleanField("internalApi", internalApi) - .writeStringField("crossLanguageDefinitionId", crossLanguageDefinitionId) .writeEndObject(); } @@ -498,8 +478,6 @@ public static Operation fromJson(JsonReader jsonReader) throws IOException { operation.generateProtocolApi = reader.getBoolean(); } else if ("internalApi".equals(fieldName)) { operation.internalApi = reader.getBoolean(); - } else if ("crossLanguageDefinitionId".equals(fieldName)) { - operation.crossLanguageDefinitionId = reader.getString(); } else { reader.skipChildren(); } diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java index cfab551578..a3a51cb81e 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ClientMethodMapper.java @@ -167,7 +167,7 @@ private List createClientMethods(Operation operation, boolean isPr ClientMethod.Builder builder = getClientMethodBuilder() .clientReference((operation.getOperationGroup() == null || operation.getOperationGroup().getLanguage().getJava().getName().isEmpty()) ? "this" : "this.client") - .setCrossLanguageDefinitionId(operation.getCrossLanguageDefinitionId()); + .setCrossLanguageDefinitionId(SchemaUtil.getCrossLanguageDefinitionId(operation)); // merge summary and description String summary = operation.getSummary(); diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MapperUtils.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MapperUtils.java index 1f758a58d4..431a820b35 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MapperUtils.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MapperUtils.java @@ -120,7 +120,7 @@ public static IType createEnumType(ChoiceSchema enumType, boolean expandable, bo .implementationDetails( new ImplementationDetails.Builder().usages(SchemaUtil.mapSchemaContext(enumType.getUsage())) .build()) - .crossLanguageDefinitionId(enumType.getCrossLanguageDefinitionId()) + .crossLanguageDefinitionId(SchemaUtil.getCrossLanguageDefinitionId(enumType)) .fromMethodName(deserializationMethodName) .toMethodName(serializationMethodName) .build(); diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MethodGroupMapper.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MethodGroupMapper.java index d1b1b413a8..3341e5e594 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MethodGroupMapper.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/MethodGroupMapper.java @@ -17,6 +17,7 @@ import com.microsoft.typespec.http.client.generator.core.util.ClientModelUtil; import com.microsoft.typespec.http.client.generator.core.util.CodeNamer; import com.microsoft.typespec.http.client.generator.core.util.MethodUtil; +import com.microsoft.typespec.http.client.generator.core.util.SchemaUtil; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; @@ -165,6 +166,8 @@ private MethodGroupClient createMethodGroupClient(OperationGroup methodGroup, .collect(Collectors.toList())); } + builder.crossLanguageDefinitionId(SchemaUtil.getCrossLanguageDefinitionId(methodGroup)); + return builder.build(); } diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ModelMapper.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ModelMapper.java index e9388bf6bd..0e966316d1 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ModelMapper.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/mapper/ModelMapper.java @@ -350,7 +350,7 @@ public ClientModel map(ObjectSchema compositeType) { builder.properties(properties); builder.propertyReferences(propertyReferences); - builder.crossLanguageDefinitionId(compositeType.getCrossLanguageDefinitionId()); + builder.crossLanguageDefinitionId(SchemaUtil.getCrossLanguageDefinitionId(compositeType)); result = builder.build(); diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/MethodGroupClient.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/MethodGroupClient.java index 7a814474d3..7fadde87dd 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/MethodGroupClient.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/MethodGroupClient.java @@ -58,6 +58,8 @@ public class MethodGroupClient { private List properties; + private String crossLanguageDefinitionId; + /** * Create a new MethodGroupClient with the provided properties. * @@ -74,7 +76,7 @@ public class MethodGroupClient { protected MethodGroupClient(String packageKeyword, String className, String interfaceName, List implementedInterfaces, Proxy proxy, String serviceClientName, String variableType, String variableName, List clientMethods, List supportedInterfaces, String classBaseName, - List properties) { + List properties, String crossLanguageDefinitionId) { packageName = packageKeyword; this.className = className; this.interfaceName = interfaceName; @@ -89,6 +91,7 @@ protected MethodGroupClient(String packageKeyword, String className, String inte ? classBaseName : (className.endsWith("Impl") ? className.substring(0, className.length() - 4) : className); this.properties = properties; + this.crossLanguageDefinitionId = crossLanguageDefinitionId; } public final String getPackage() { @@ -139,6 +142,10 @@ public List getProperties() { return properties; } + public String getCrossLanguageDefinitionId() { + return crossLanguageDefinitionId; + } + /** * Add this property's imports to the provided set of imports. * @@ -199,6 +206,7 @@ public static class Builder { protected List supportedInterfaces; protected String classBaseName; private List properties; + private String crossLanguageDefinitionId; /** * Sets the name of the package. @@ -332,10 +340,21 @@ public Builder properties(List properties) { return this; } + /** + * Sets crossLanguageDefinitionId. + * + * @param crossLanguageDefinitionId the crossLanguageDefinitionId. + * @return the Builder itself + */ + public Builder crossLanguageDefinitionId(String crossLanguageDefinitionId) { + this.crossLanguageDefinitionId = crossLanguageDefinitionId; + return this; + } + public MethodGroupClient build() { return new MethodGroupClient(packageName, className, interfaceName, implementedInterfaces, proxy, serviceClientName, variableType, variableName, clientMethods, supportedInterfaces, classBaseName, - properties); + properties, crossLanguageDefinitionId); } } } diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/android/AndroidMethodGroupClient.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/android/AndroidMethodGroupClient.java index 64f817f79c..1e13fba4f3 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/android/AndroidMethodGroupClient.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/model/clientmodel/android/AndroidMethodGroupClient.java @@ -19,7 +19,7 @@ protected AndroidMethodGroupClient(String packageKeyword, String className, Stri classBaseName != null ? classBaseName : (className.endsWith("Impl") ? className.substring(0, className.length() - 4) : className), - null); + null, null); } @Override diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/ClientModelUtil.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/ClientModelUtil.java index db879063ea..67e3d06442 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/ClientModelUtil.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/ClientModelUtil.java @@ -86,7 +86,7 @@ public static void getAsyncSyncClients(Client client, ServiceClient serviceClien AsyncSyncClient.Builder builder = new AsyncSyncClient.Builder().packageName(packageName) .serviceClient(serviceClient) - .crossLanguageDefinitionId(client.getCrossLanguageDefinitionId()); + .crossLanguageDefinitionId(SchemaUtil.getCrossLanguageDefinitionId(client)); final List convenienceMethods = client.getOperationGroups() .stream() @@ -117,7 +117,8 @@ public static void getAsyncSyncClients(Client client, ServiceClient serviceClien for (MethodGroupClient methodGroupClient : serviceClient.getMethodGroupClients()) { AsyncSyncClient.Builder builder = new AsyncSyncClient.Builder().packageName(packageName) .serviceClient(serviceClient) - .methodGroupClient(methodGroupClient); + .methodGroupClient(methodGroupClient) + .crossLanguageDefinitionId(methodGroupClient.getCrossLanguageDefinitionId()); final List convenienceMethods = client.getOperationGroups() .stream() diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/SchemaUtil.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/SchemaUtil.java index ac43672eb2..20375efa6c 100644 --- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/SchemaUtil.java +++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/util/SchemaUtil.java @@ -271,11 +271,11 @@ public static ClassType mapExternalModel(ObjectSchema compositeType) { if (Objects.equals(namespace, "Azure.Core.Foundations")) { // https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core/src/main/java/com/azure/core/models/ResponseError.java if (Objects.equals(name, "Error") - || (Objects.equals(compositeType.getCrossLanguageDefinitionId(), + || (Objects.equals(SchemaUtil.getCrossLanguageDefinitionId(compositeType), "Azure.Core.Foundations.Error"))) { classType = ClassType.RESPONSE_ERROR; } else if (Objects.equals(name, "InnerError") - || (Objects.equals(compositeType.getCrossLanguageDefinitionId(), + || (Objects.equals(SchemaUtil.getCrossLanguageDefinitionId(compositeType), "Azure.Core.Foundations.InnerError"))) { // InnerError is not public, but usually it is only referenced from Error classType = ClassType.RESPONSE_INNER_ERROR; @@ -343,6 +343,13 @@ public static String getDefaultName(Metadata m) { return m.getLanguage().getDefault().getName(); } + public static String getCrossLanguageDefinitionId(Metadata m) { + if (m.getLanguage() == null || m.getLanguage().getDefault() == null) { + return null; + } + return m.getLanguage().getDefault().getCrossLanguageDefinitionId(); + } + public static String getJavaName(Metadata m) { if (m.getLanguage() == null || m.getLanguage().getJava() == null) { return null; diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-access_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-access_apiview_properties.json index a91fd1f11d..74869b336a 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-access_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-access_apiview_properties.json @@ -2,46 +2,46 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "_specs_.azure.clientgenerator.core.access.AccessClientBuilder": "_Specs_.Azure.ClientGenerator.Core.Access", - "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient": "null", + "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation", "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient.internalDecoratorInInternal": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.internalDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient.internalDecoratorInInternalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.internalDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient.noDecoratorInInternal": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.noDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient.noDecoratorInInternalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.noDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient.publicDecoratorInInternal": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.publicDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationAsyncClient.publicDecoratorInInternalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.publicDecoratorInInternal", - "_specs_.azure.clientgenerator.core.access.InternalOperationClient": "null", + "_specs_.azure.clientgenerator.core.access.InternalOperationClient": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation", "_specs_.azure.clientgenerator.core.access.InternalOperationClient.internalDecoratorInInternal": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.internalDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationClient.internalDecoratorInInternalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.internalDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationClient.noDecoratorInInternal": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.noDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationClient.noDecoratorInInternalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.noDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationClient.publicDecoratorInInternal": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.publicDecoratorInInternal", "_specs_.azure.clientgenerator.core.access.InternalOperationClient.publicDecoratorInInternalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.InternalOperation.publicDecoratorInInternal", - "_specs_.azure.clientgenerator.core.access.PublicOperationAsyncClient": "null", + "_specs_.azure.clientgenerator.core.access.PublicOperationAsyncClient": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation", "_specs_.azure.clientgenerator.core.access.PublicOperationAsyncClient.noDecoratorInPublic": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.noDecoratorInPublic", "_specs_.azure.clientgenerator.core.access.PublicOperationAsyncClient.noDecoratorInPublicWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.noDecoratorInPublic", "_specs_.azure.clientgenerator.core.access.PublicOperationAsyncClient.publicDecoratorInPublic": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.publicDecoratorInPublic", "_specs_.azure.clientgenerator.core.access.PublicOperationAsyncClient.publicDecoratorInPublicWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.publicDecoratorInPublic", - "_specs_.azure.clientgenerator.core.access.PublicOperationClient": "null", + "_specs_.azure.clientgenerator.core.access.PublicOperationClient": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation", "_specs_.azure.clientgenerator.core.access.PublicOperationClient.noDecoratorInPublic": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.noDecoratorInPublic", "_specs_.azure.clientgenerator.core.access.PublicOperationClient.noDecoratorInPublicWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.noDecoratorInPublic", "_specs_.azure.clientgenerator.core.access.PublicOperationClient.publicDecoratorInPublic": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.publicDecoratorInPublic", "_specs_.azure.clientgenerator.core.access.PublicOperationClient.publicDecoratorInPublicWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.PublicOperation.publicDecoratorInPublic", - "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationAsyncClient": "null", + "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationAsyncClient": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationAsyncClient.discriminator": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.discriminator", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationAsyncClient.discriminatorWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.discriminator", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationAsyncClient.operation": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.operation", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationAsyncClient.operationWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.operation", - "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationClient": "null", + "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationClient": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationClient.discriminator": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.discriminator", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationClient.discriminatorWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.discriminator", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationClient.operation": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.operation", "_specs_.azure.clientgenerator.core.access.RelativeModelInOperationClient.operationWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.RelativeModelInOperation.operation", - "_specs_.azure.clientgenerator.core.access.SharedModelInOperationAsyncClient": "null", + "_specs_.azure.clientgenerator.core.access.SharedModelInOperationAsyncClient": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation", "_specs_.azure.clientgenerator.core.access.SharedModelInOperationAsyncClient.internal": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.internal", "_specs_.azure.clientgenerator.core.access.SharedModelInOperationAsyncClient.internalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.internal", "_specs_.azure.clientgenerator.core.access.SharedModelInOperationAsyncClient.publicMethod": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.public", "_specs_.azure.clientgenerator.core.access.SharedModelInOperationAsyncClient.publicMethodWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.public", - "_specs_.azure.clientgenerator.core.access.SharedModelInOperationClient": "null", + "_specs_.azure.clientgenerator.core.access.SharedModelInOperationClient": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation", "_specs_.azure.clientgenerator.core.access.SharedModelInOperationClient.internal": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.internal", "_specs_.azure.clientgenerator.core.access.SharedModelInOperationClient.internalWithResponse": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.internal", "_specs_.azure.clientgenerator.core.access.SharedModelInOperationClient.publicMethod": "_Specs_.Azure.ClientGenerator.Core.Access.SharedModelInOperation.public", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-usage_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-usage_apiview_properties.json index d0c8e68c67..19958bf53b 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-usage_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-clientgenerator-core-usage_apiview_properties.json @@ -1,14 +1,14 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient": "null", + "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient.inputToInputOutput": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.inputToInputOutput", "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient.inputToInputOutputWithResponse": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.inputToInputOutput", "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient.modelInReadOnlyProperty": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.modelInReadOnlyProperty", "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient.modelInReadOnlyPropertyWithResponse": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.modelInReadOnlyProperty", "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient.outputToInputOutput": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.outputToInputOutput", "_specs_.azure.clientgenerator.core.usage.UsageAsyncClient.outputToInputOutputWithResponse": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.outputToInputOutput", - "_specs_.azure.clientgenerator.core.usage.UsageClient": "null", + "_specs_.azure.clientgenerator.core.usage.UsageClient": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation", "_specs_.azure.clientgenerator.core.usage.UsageClient.inputToInputOutput": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.inputToInputOutput", "_specs_.azure.clientgenerator.core.usage.UsageClient.inputToInputOutputWithResponse": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.inputToInputOutput", "_specs_.azure.clientgenerator.core.usage.UsageClient.modelInReadOnlyProperty": "_Specs_.Azure.ClientGenerator.Core.Usage.ModelInOperation.modelInReadOnlyProperty", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-model_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-model_apiview_properties.json index 7fcc97580d..9c8f321c9c 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-model_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-model_apiview_properties.json @@ -1,14 +1,14 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "_specs_.azure.core.model.ModelAsyncClient": "null", + "_specs_.azure.core.model.ModelAsyncClient": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector", "_specs_.azure.core.model.ModelAsyncClient.get": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.get", "_specs_.azure.core.model.ModelAsyncClient.getWithResponse": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.get", "_specs_.azure.core.model.ModelAsyncClient.post": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.post", "_specs_.azure.core.model.ModelAsyncClient.postWithResponse": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.post", "_specs_.azure.core.model.ModelAsyncClient.put": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.put", "_specs_.azure.core.model.ModelAsyncClient.putWithResponse": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.put", - "_specs_.azure.core.model.ModelClient": "null", + "_specs_.azure.core.model.ModelClient": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector", "_specs_.azure.core.model.ModelClient.get": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.get", "_specs_.azure.core.model.ModelClient.getWithResponse": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.get", "_specs_.azure.core.model.ModelClient.post": "_Specs_.Azure.Core.Model.AzureCoreEmbeddingVector.post", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-page_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-page_apiview_properties.json index 88ea367b81..971f4357e8 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-page_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-page_apiview_properties.json @@ -10,10 +10,10 @@ "_specs_.azure.core.page.PageClient.listWithPage": "_Specs_.Azure.Core.Page.listWithPage", "_specs_.azure.core.page.PageClient.listWithParameters": "_Specs_.Azure.Core.Page.listWithParameters", "_specs_.azure.core.page.PageClientBuilder": "_Specs_.Azure.Core.Page", - "_specs_.azure.core.page.TwoModelsAsPageItemAsyncClient": "null", + "_specs_.azure.core.page.TwoModelsAsPageItemAsyncClient": "_Specs_.Azure.Core.Page.TwoModelsAsPageItem", "_specs_.azure.core.page.TwoModelsAsPageItemAsyncClient.listFirstItem": "_Specs_.Azure.Core.Page.TwoModelsAsPageItem.listFirstItem", "_specs_.azure.core.page.TwoModelsAsPageItemAsyncClient.listSecondItem": "_Specs_.Azure.Core.Page.TwoModelsAsPageItem.listSecondItem", - "_specs_.azure.core.page.TwoModelsAsPageItemClient": "null", + "_specs_.azure.core.page.TwoModelsAsPageItemClient": "_Specs_.Azure.Core.Page.TwoModelsAsPageItem", "_specs_.azure.core.page.TwoModelsAsPageItemClient.listFirstItem": "_Specs_.Azure.Core.Page.TwoModelsAsPageItem.listFirstItem", "_specs_.azure.core.page.TwoModelsAsPageItemClient.listSecondItem": "_Specs_.Azure.Core.Page.TwoModelsAsPageItem.listSecondItem", "_specs_.azure.core.page.models.FirstItem": "_Specs_.Azure.Core.Page.FirstItem", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-scalar_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-scalar_apiview_properties.json index efe82a1565..736ca5068d 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-scalar_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/_specs_-azure-core-scalar_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "_specs_.azure.core.scalar.ScalarAsyncClient": "null", + "_specs_.azure.core.scalar.ScalarAsyncClient": "_Specs_.Azure.Core.Scalar.AzureLocationScalar", "_specs_.azure.core.scalar.ScalarAsyncClient.get": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.get", "_specs_.azure.core.scalar.ScalarAsyncClient.getWithResponse": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.get", "_specs_.azure.core.scalar.ScalarAsyncClient.headerMethod": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.header", @@ -12,7 +12,7 @@ "_specs_.azure.core.scalar.ScalarAsyncClient.putWithResponse": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.put", "_specs_.azure.core.scalar.ScalarAsyncClient.query": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.query", "_specs_.azure.core.scalar.ScalarAsyncClient.queryWithResponse": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.query", - "_specs_.azure.core.scalar.ScalarClient": "null", + "_specs_.azure.core.scalar.ScalarClient": "_Specs_.Azure.Core.Scalar.AzureLocationScalar", "_specs_.azure.core.scalar.ScalarClient.get": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.get", "_specs_.azure.core.scalar.ScalarClient.getWithResponse": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.get", "_specs_.azure.core.scalar.ScalarClient.headerMethod": "_Specs_.Azure.Core.Scalar.AzureLocationScalar.header", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-naming_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-naming_apiview_properties.json index 202689ae0f..31b883fce9 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-naming_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-naming_apiview_properties.json @@ -1,12 +1,12 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "client.naming.ClientModelAsyncClient": "null", + "client.naming.ClientModelAsyncClient": "Client.Naming.Model", "client.naming.ClientModelAsyncClient.client": "Client.Naming.Model.client", "client.naming.ClientModelAsyncClient.clientWithResponse": "Client.Naming.Model.client", "client.naming.ClientModelAsyncClient.language": "Client.Naming.Model.language", "client.naming.ClientModelAsyncClient.languageWithResponse": "Client.Naming.Model.language", - "client.naming.ClientModelClient": "null", + "client.naming.ClientModelClient": "Client.Naming.Model", "client.naming.ClientModelClient.client": "Client.Naming.Model.client", "client.naming.ClientModelClient.clientWithResponse": "Client.Naming.Model.client", "client.naming.ClientModelClient.language": "Client.Naming.Model.language", @@ -42,12 +42,12 @@ "client.naming.NamingClient.response": "Client.Naming.Header.response", "client.naming.NamingClient.responseWithResponse": "Client.Naming.Header.response", "client.naming.NamingClientBuilder": "Client.Naming", - "client.naming.UnionEnumAsyncClient": "null", + "client.naming.UnionEnumAsyncClient": "Client.Naming.UnionEnum", "client.naming.UnionEnumAsyncClient.unionEnumMemberName": "Client.Naming.UnionEnum.unionEnumMemberName", "client.naming.UnionEnumAsyncClient.unionEnumMemberNameWithResponse": "Client.Naming.UnionEnum.unionEnumMemberName", "client.naming.UnionEnumAsyncClient.unionEnumName": "Client.Naming.UnionEnum.unionEnumName", "client.naming.UnionEnumAsyncClient.unionEnumNameWithResponse": "Client.Naming.UnionEnum.unionEnumName", - "client.naming.UnionEnumClient": "null", + "client.naming.UnionEnumClient": "Client.Naming.UnionEnum", "client.naming.UnionEnumClient.unionEnumMemberName": "Client.Naming.UnionEnum.unionEnumMemberName", "client.naming.UnionEnumClient.unionEnumMemberNameWithResponse": "Client.Naming.UnionEnum.unionEnumMemberName", "client.naming.UnionEnumClient.unionEnumName": "Client.Naming.UnionEnum.unionEnumName", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-clientoperationgroup_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-clientoperationgroup_apiview_properties.json index 6a3a00d689..190ae590fa 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-clientoperationgroup_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-clientoperationgroup_apiview_properties.json @@ -1,10 +1,10 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "client.structure.anotherclientoperationgroup.subnamespace.Group5AsyncClient": "null", + "client.structure.anotherclientoperationgroup.subnamespace.Group5AsyncClient": "Client.Structure.AnotherClientOperationGroup.Group5", "client.structure.anotherclientoperationgroup.subnamespace.Group5AsyncClient.six": "Client.Structure.AnotherClientOperationGroup.Group5.six", "client.structure.anotherclientoperationgroup.subnamespace.Group5AsyncClient.sixWithResponse": "Client.Structure.AnotherClientOperationGroup.Group5.six", - "client.structure.anotherclientoperationgroup.subnamespace.Group5Client": "null", + "client.structure.anotherclientoperationgroup.subnamespace.Group5Client": "Client.Structure.AnotherClientOperationGroup.Group5", "client.structure.anotherclientoperationgroup.subnamespace.Group5Client.six": "Client.Structure.AnotherClientOperationGroup.Group5.six", "client.structure.anotherclientoperationgroup.subnamespace.Group5Client.sixWithResponse": "Client.Structure.AnotherClientOperationGroup.Group5.six", "client.structure.anotherclientoperationgroup.subnamespace.SecondAsyncClient": "Client.Structure.AnotherClientOperationGroup", @@ -21,20 +21,20 @@ "client.structure.clientoperationgroup.FirstClient.one": "Client.Structure.ClientOperationGroup.one", "client.structure.clientoperationgroup.FirstClient.oneWithResponse": "Client.Structure.ClientOperationGroup.one", "client.structure.clientoperationgroup.FirstClientBuilder": "Client.Structure.ClientOperationGroup", - "client.structure.clientoperationgroup.Group3AsyncClient": "null", + "client.structure.clientoperationgroup.Group3AsyncClient": "Client.Structure.ClientOperationGroup.Group3", "client.structure.clientoperationgroup.Group3AsyncClient.three": "Client.Structure.ClientOperationGroup.Group3.three", "client.structure.clientoperationgroup.Group3AsyncClient.threeWithResponse": "Client.Structure.ClientOperationGroup.Group3.three", "client.structure.clientoperationgroup.Group3AsyncClient.two": "Client.Structure.ClientOperationGroup.Group3.two", "client.structure.clientoperationgroup.Group3AsyncClient.twoWithResponse": "Client.Structure.ClientOperationGroup.Group3.two", - "client.structure.clientoperationgroup.Group3Client": "null", + "client.structure.clientoperationgroup.Group3Client": "Client.Structure.ClientOperationGroup.Group3", "client.structure.clientoperationgroup.Group3Client.three": "Client.Structure.ClientOperationGroup.Group3.three", "client.structure.clientoperationgroup.Group3Client.threeWithResponse": "Client.Structure.ClientOperationGroup.Group3.three", "client.structure.clientoperationgroup.Group3Client.two": "Client.Structure.ClientOperationGroup.Group3.two", "client.structure.clientoperationgroup.Group3Client.twoWithResponse": "Client.Structure.ClientOperationGroup.Group3.two", - "client.structure.clientoperationgroup.Group4AsyncClient": "null", + "client.structure.clientoperationgroup.Group4AsyncClient": "Client.Structure.ClientOperationGroup.Group4", "client.structure.clientoperationgroup.Group4AsyncClient.four": "Client.Structure.ClientOperationGroup.Group4.four", "client.structure.clientoperationgroup.Group4AsyncClient.fourWithResponse": "Client.Structure.ClientOperationGroup.Group4.four", - "client.structure.clientoperationgroup.Group4Client": "null", + "client.structure.clientoperationgroup.Group4Client": "Client.Structure.ClientOperationGroup.Group4", "client.structure.clientoperationgroup.Group4Client.four": "Client.Structure.ClientOperationGroup.Group4.four", "client.structure.clientoperationgroup.Group4Client.fourWithResponse": "Client.Structure.ClientOperationGroup.Group4.four", "client.structure.service.models.ClientType": "Client.Structure.Service.ClientType" diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-renamedoperation_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-renamedoperation_apiview_properties.json index 2e8b5f4e14..c3b9269942 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-renamedoperation_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-renamedoperation_apiview_properties.json @@ -1,14 +1,14 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "client.structure.renamedoperation.GroupAsyncClient": "null", + "client.structure.renamedoperation.GroupAsyncClient": "Client.Structure.RenamedOperation.Group", "client.structure.renamedoperation.GroupAsyncClient.renamedFour": "Client.Structure.RenamedOperation.Group.renamedFour", "client.structure.renamedoperation.GroupAsyncClient.renamedFourWithResponse": "Client.Structure.RenamedOperation.Group.renamedFour", "client.structure.renamedoperation.GroupAsyncClient.renamedSix": "Client.Structure.RenamedOperation.Group.renamedSix", "client.structure.renamedoperation.GroupAsyncClient.renamedSixWithResponse": "Client.Structure.RenamedOperation.Group.renamedSix", "client.structure.renamedoperation.GroupAsyncClient.renamedTwo": "Client.Structure.RenamedOperation.Group.renamedTwo", "client.structure.renamedoperation.GroupAsyncClient.renamedTwoWithResponse": "Client.Structure.RenamedOperation.Group.renamedTwo", - "client.structure.renamedoperation.GroupClient": "null", + "client.structure.renamedoperation.GroupClient": "Client.Structure.RenamedOperation.Group", "client.structure.renamedoperation.GroupClient.renamedFour": "Client.Structure.RenamedOperation.Group.renamedFour", "client.structure.renamedoperation.GroupClient.renamedFourWithResponse": "Client.Structure.RenamedOperation.Group.renamedFour", "client.structure.renamedoperation.GroupClient.renamedSix": "Client.Structure.RenamedOperation.Group.renamedSix", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-twooperationgroup_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-twooperationgroup_apiview_properties.json index 4569151296..4e8b278c51 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-twooperationgroup_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/client-structure-twooperationgroup_apiview_properties.json @@ -2,28 +2,28 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "client.structure.service.models.ClientType": "Client.Structure.Service.ClientType", - "client.structure.twooperationgroup.Group1AsyncClient": "null", + "client.structure.twooperationgroup.Group1AsyncClient": "Client.Structure.TwoOperationGroup.Group1", "client.structure.twooperationgroup.Group1AsyncClient.four": "Client.Structure.TwoOperationGroup.Group1.four", "client.structure.twooperationgroup.Group1AsyncClient.fourWithResponse": "Client.Structure.TwoOperationGroup.Group1.four", "client.structure.twooperationgroup.Group1AsyncClient.one": "Client.Structure.TwoOperationGroup.Group1.one", "client.structure.twooperationgroup.Group1AsyncClient.oneWithResponse": "Client.Structure.TwoOperationGroup.Group1.one", "client.structure.twooperationgroup.Group1AsyncClient.three": "Client.Structure.TwoOperationGroup.Group1.three", "client.structure.twooperationgroup.Group1AsyncClient.threeWithResponse": "Client.Structure.TwoOperationGroup.Group1.three", - "client.structure.twooperationgroup.Group1Client": "null", + "client.structure.twooperationgroup.Group1Client": "Client.Structure.TwoOperationGroup.Group1", "client.structure.twooperationgroup.Group1Client.four": "Client.Structure.TwoOperationGroup.Group1.four", "client.structure.twooperationgroup.Group1Client.fourWithResponse": "Client.Structure.TwoOperationGroup.Group1.four", "client.structure.twooperationgroup.Group1Client.one": "Client.Structure.TwoOperationGroup.Group1.one", "client.structure.twooperationgroup.Group1Client.oneWithResponse": "Client.Structure.TwoOperationGroup.Group1.one", "client.structure.twooperationgroup.Group1Client.three": "Client.Structure.TwoOperationGroup.Group1.three", "client.structure.twooperationgroup.Group1Client.threeWithResponse": "Client.Structure.TwoOperationGroup.Group1.three", - "client.structure.twooperationgroup.Group2AsyncClient": "null", + "client.structure.twooperationgroup.Group2AsyncClient": "Client.Structure.TwoOperationGroup.Group2", "client.structure.twooperationgroup.Group2AsyncClient.five": "Client.Structure.TwoOperationGroup.Group2.five", "client.structure.twooperationgroup.Group2AsyncClient.fiveWithResponse": "Client.Structure.TwoOperationGroup.Group2.five", "client.structure.twooperationgroup.Group2AsyncClient.six": "Client.Structure.TwoOperationGroup.Group2.six", "client.structure.twooperationgroup.Group2AsyncClient.sixWithResponse": "Client.Structure.TwoOperationGroup.Group2.six", "client.structure.twooperationgroup.Group2AsyncClient.two": "Client.Structure.TwoOperationGroup.Group2.two", "client.structure.twooperationgroup.Group2AsyncClient.twoWithResponse": "Client.Structure.TwoOperationGroup.Group2.two", - "client.structure.twooperationgroup.Group2Client": "null", + "client.structure.twooperationgroup.Group2Client": "Client.Structure.TwoOperationGroup.Group2", "client.structure.twooperationgroup.Group2Client.five": "Client.Structure.TwoOperationGroup.Group2.five", "client.structure.twooperationgroup.Group2Client.fiveWithResponse": "Client.Structure.TwoOperationGroup.Group2.five", "client.structure.twooperationgroup.Group2Client.six": "Client.Structure.TwoOperationGroup.Group2.six", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-bytes_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-bytes_apiview_properties.json index 8af82e7398..1497454c2d 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-bytes_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-bytes_apiview_properties.json @@ -2,7 +2,7 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "encode.bytes.BytesClientBuilder": "Encode.Bytes", - "encode.bytes.HeaderAsyncClient": "null", + "encode.bytes.HeaderAsyncClient": "Encode.Bytes.Header", "encode.bytes.HeaderAsyncClient.base64": "Encode.Bytes.Header.base64", "encode.bytes.HeaderAsyncClient.base64WithResponse": "Encode.Bytes.Header.base64", "encode.bytes.HeaderAsyncClient.base64url": "Encode.Bytes.Header.base64url", @@ -11,7 +11,7 @@ "encode.bytes.HeaderAsyncClient.base64urlWithResponse": "Encode.Bytes.Header.base64url", "encode.bytes.HeaderAsyncClient.defaultMethod": "Encode.Bytes.Header.default", "encode.bytes.HeaderAsyncClient.defaultMethodWithResponse": "Encode.Bytes.Header.default", - "encode.bytes.HeaderClient": "null", + "encode.bytes.HeaderClient": "Encode.Bytes.Header", "encode.bytes.HeaderClient.base64": "Encode.Bytes.Header.base64", "encode.bytes.HeaderClient.base64WithResponse": "Encode.Bytes.Header.base64", "encode.bytes.HeaderClient.base64url": "Encode.Bytes.Header.base64url", @@ -20,7 +20,7 @@ "encode.bytes.HeaderClient.base64urlWithResponse": "Encode.Bytes.Header.base64url", "encode.bytes.HeaderClient.defaultMethod": "Encode.Bytes.Header.default", "encode.bytes.HeaderClient.defaultMethodWithResponse": "Encode.Bytes.Header.default", - "encode.bytes.PropertyAsyncClient": "null", + "encode.bytes.PropertyAsyncClient": "Encode.Bytes.Property", "encode.bytes.PropertyAsyncClient.base64": "Encode.Bytes.Property.base64", "encode.bytes.PropertyAsyncClient.base64WithResponse": "Encode.Bytes.Property.base64", "encode.bytes.PropertyAsyncClient.base64url": "Encode.Bytes.Property.base64url", @@ -29,7 +29,7 @@ "encode.bytes.PropertyAsyncClient.base64urlWithResponse": "Encode.Bytes.Property.base64url", "encode.bytes.PropertyAsyncClient.defaultMethod": "Encode.Bytes.Property.default", "encode.bytes.PropertyAsyncClient.defaultMethodWithResponse": "Encode.Bytes.Property.default", - "encode.bytes.PropertyClient": "null", + "encode.bytes.PropertyClient": "Encode.Bytes.Property", "encode.bytes.PropertyClient.base64": "Encode.Bytes.Property.base64", "encode.bytes.PropertyClient.base64WithResponse": "Encode.Bytes.Property.base64", "encode.bytes.PropertyClient.base64url": "Encode.Bytes.Property.base64url", @@ -38,7 +38,7 @@ "encode.bytes.PropertyClient.base64urlWithResponse": "Encode.Bytes.Property.base64url", "encode.bytes.PropertyClient.defaultMethod": "Encode.Bytes.Property.default", "encode.bytes.PropertyClient.defaultMethodWithResponse": "Encode.Bytes.Property.default", - "encode.bytes.QueryAsyncClient": "null", + "encode.bytes.QueryAsyncClient": "Encode.Bytes.Query", "encode.bytes.QueryAsyncClient.base64": "Encode.Bytes.Query.base64", "encode.bytes.QueryAsyncClient.base64WithResponse": "Encode.Bytes.Query.base64", "encode.bytes.QueryAsyncClient.base64url": "Encode.Bytes.Query.base64url", @@ -47,7 +47,7 @@ "encode.bytes.QueryAsyncClient.base64urlWithResponse": "Encode.Bytes.Query.base64url", "encode.bytes.QueryAsyncClient.defaultMethod": "Encode.Bytes.Query.default", "encode.bytes.QueryAsyncClient.defaultMethodWithResponse": "Encode.Bytes.Query.default", - "encode.bytes.QueryClient": "null", + "encode.bytes.QueryClient": "Encode.Bytes.Query", "encode.bytes.QueryClient.base64": "Encode.Bytes.Query.base64", "encode.bytes.QueryClient.base64WithResponse": "Encode.Bytes.Query.base64", "encode.bytes.QueryClient.base64url": "Encode.Bytes.Query.base64url", @@ -56,7 +56,7 @@ "encode.bytes.QueryClient.base64urlWithResponse": "Encode.Bytes.Query.base64url", "encode.bytes.QueryClient.defaultMethod": "Encode.Bytes.Query.default", "encode.bytes.QueryClient.defaultMethodWithResponse": "Encode.Bytes.Query.default", - "encode.bytes.RequestBodyAsyncClient": "null", + "encode.bytes.RequestBodyAsyncClient": "Encode.Bytes.RequestBody", "encode.bytes.RequestBodyAsyncClient.base64": "Encode.Bytes.RequestBody.base64", "encode.bytes.RequestBodyAsyncClient.base64WithResponse": "Encode.Bytes.RequestBody.base64", "encode.bytes.RequestBodyAsyncClient.base64url": "Encode.Bytes.RequestBody.base64url", @@ -67,7 +67,7 @@ "encode.bytes.RequestBodyAsyncClient.defaultMethodWithResponse": "Encode.Bytes.RequestBody.default", "encode.bytes.RequestBodyAsyncClient.octetStream": "Encode.Bytes.RequestBody.octetStream", "encode.bytes.RequestBodyAsyncClient.octetStreamWithResponse": "Encode.Bytes.RequestBody.octetStream", - "encode.bytes.RequestBodyClient": "null", + "encode.bytes.RequestBodyClient": "Encode.Bytes.RequestBody", "encode.bytes.RequestBodyClient.base64": "Encode.Bytes.RequestBody.base64", "encode.bytes.RequestBodyClient.base64WithResponse": "Encode.Bytes.RequestBody.base64", "encode.bytes.RequestBodyClient.base64url": "Encode.Bytes.RequestBody.base64url", @@ -78,7 +78,7 @@ "encode.bytes.RequestBodyClient.defaultMethodWithResponse": "Encode.Bytes.RequestBody.default", "encode.bytes.RequestBodyClient.octetStream": "Encode.Bytes.RequestBody.octetStream", "encode.bytes.RequestBodyClient.octetStreamWithResponse": "Encode.Bytes.RequestBody.octetStream", - "encode.bytes.ResponseBodyAsyncClient": "null", + "encode.bytes.ResponseBodyAsyncClient": "Encode.Bytes.ResponseBody", "encode.bytes.ResponseBodyAsyncClient.base64": "Encode.Bytes.ResponseBody.base64", "encode.bytes.ResponseBodyAsyncClient.base64WithResponse": "Encode.Bytes.ResponseBody.base64", "encode.bytes.ResponseBodyAsyncClient.base64url": "Encode.Bytes.ResponseBody.base64url", @@ -89,7 +89,7 @@ "encode.bytes.ResponseBodyAsyncClient.defaultMethodWithResponse": "Encode.Bytes.ResponseBody.default", "encode.bytes.ResponseBodyAsyncClient.octetStream": "Encode.Bytes.ResponseBody.octetStream", "encode.bytes.ResponseBodyAsyncClient.octetStreamWithResponse": "Encode.Bytes.ResponseBody.octetStream", - "encode.bytes.ResponseBodyClient": "null", + "encode.bytes.ResponseBodyClient": "Encode.Bytes.ResponseBody", "encode.bytes.ResponseBodyClient.base64": "Encode.Bytes.ResponseBody.base64", "encode.bytes.ResponseBodyClient.base64WithResponse": "Encode.Bytes.ResponseBody.base64", "encode.bytes.ResponseBodyClient.base64url": "Encode.Bytes.ResponseBody.base64url", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-datetime_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-datetime_apiview_properties.json index 7e4e0b1345..0ccdfc5597 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-datetime_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-datetime_apiview_properties.json @@ -2,7 +2,7 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "encode.datetime.DatetimeClientBuilder": "Encode.Datetime", - "encode.datetime.HeaderAsyncClient": "null", + "encode.datetime.HeaderAsyncClient": "Encode.Datetime.Header", "encode.datetime.HeaderAsyncClient.defaultMethod": "Encode.Datetime.Header.default", "encode.datetime.HeaderAsyncClient.defaultMethodWithResponse": "Encode.Datetime.Header.default", "encode.datetime.HeaderAsyncClient.rfc3339": "Encode.Datetime.Header.rfc3339", @@ -13,7 +13,7 @@ "encode.datetime.HeaderAsyncClient.unixTimestampArray": "Encode.Datetime.Header.unixTimestampArray", "encode.datetime.HeaderAsyncClient.unixTimestampArrayWithResponse": "Encode.Datetime.Header.unixTimestampArray", "encode.datetime.HeaderAsyncClient.unixTimestampWithResponse": "Encode.Datetime.Header.unixTimestamp", - "encode.datetime.HeaderClient": "null", + "encode.datetime.HeaderClient": "Encode.Datetime.Header", "encode.datetime.HeaderClient.defaultMethod": "Encode.Datetime.Header.default", "encode.datetime.HeaderClient.defaultMethodWithResponse": "Encode.Datetime.Header.default", "encode.datetime.HeaderClient.rfc3339": "Encode.Datetime.Header.rfc3339", @@ -24,7 +24,7 @@ "encode.datetime.HeaderClient.unixTimestampArray": "Encode.Datetime.Header.unixTimestampArray", "encode.datetime.HeaderClient.unixTimestampArrayWithResponse": "Encode.Datetime.Header.unixTimestampArray", "encode.datetime.HeaderClient.unixTimestampWithResponse": "Encode.Datetime.Header.unixTimestamp", - "encode.datetime.PropertyAsyncClient": "null", + "encode.datetime.PropertyAsyncClient": "Encode.Datetime.Property", "encode.datetime.PropertyAsyncClient.defaultMethod": "Encode.Datetime.Property.default", "encode.datetime.PropertyAsyncClient.defaultMethodWithResponse": "Encode.Datetime.Property.default", "encode.datetime.PropertyAsyncClient.rfc3339": "Encode.Datetime.Property.rfc3339", @@ -35,7 +35,7 @@ "encode.datetime.PropertyAsyncClient.unixTimestampArray": "Encode.Datetime.Property.unixTimestampArray", "encode.datetime.PropertyAsyncClient.unixTimestampArrayWithResponse": "Encode.Datetime.Property.unixTimestampArray", "encode.datetime.PropertyAsyncClient.unixTimestampWithResponse": "Encode.Datetime.Property.unixTimestamp", - "encode.datetime.PropertyClient": "null", + "encode.datetime.PropertyClient": "Encode.Datetime.Property", "encode.datetime.PropertyClient.defaultMethod": "Encode.Datetime.Property.default", "encode.datetime.PropertyClient.defaultMethodWithResponse": "Encode.Datetime.Property.default", "encode.datetime.PropertyClient.rfc3339": "Encode.Datetime.Property.rfc3339", @@ -46,7 +46,7 @@ "encode.datetime.PropertyClient.unixTimestampArray": "Encode.Datetime.Property.unixTimestampArray", "encode.datetime.PropertyClient.unixTimestampArrayWithResponse": "Encode.Datetime.Property.unixTimestampArray", "encode.datetime.PropertyClient.unixTimestampWithResponse": "Encode.Datetime.Property.unixTimestamp", - "encode.datetime.QueryAsyncClient": "null", + "encode.datetime.QueryAsyncClient": "Encode.Datetime.Query", "encode.datetime.QueryAsyncClient.defaultMethod": "Encode.Datetime.Query.default", "encode.datetime.QueryAsyncClient.defaultMethodWithResponse": "Encode.Datetime.Query.default", "encode.datetime.QueryAsyncClient.rfc3339": "Encode.Datetime.Query.rfc3339", @@ -57,7 +57,7 @@ "encode.datetime.QueryAsyncClient.unixTimestampArray": "Encode.Datetime.Query.unixTimestampArray", "encode.datetime.QueryAsyncClient.unixTimestampArrayWithResponse": "Encode.Datetime.Query.unixTimestampArray", "encode.datetime.QueryAsyncClient.unixTimestampWithResponse": "Encode.Datetime.Query.unixTimestamp", - "encode.datetime.QueryClient": "null", + "encode.datetime.QueryClient": "Encode.Datetime.Query", "encode.datetime.QueryClient.defaultMethod": "Encode.Datetime.Query.default", "encode.datetime.QueryClient.defaultMethodWithResponse": "Encode.Datetime.Query.default", "encode.datetime.QueryClient.rfc3339": "Encode.Datetime.Query.rfc3339", @@ -68,7 +68,7 @@ "encode.datetime.QueryClient.unixTimestampArray": "Encode.Datetime.Query.unixTimestampArray", "encode.datetime.QueryClient.unixTimestampArrayWithResponse": "Encode.Datetime.Query.unixTimestampArray", "encode.datetime.QueryClient.unixTimestampWithResponse": "Encode.Datetime.Query.unixTimestamp", - "encode.datetime.ResponseHeaderAsyncClient": "null", + "encode.datetime.ResponseHeaderAsyncClient": "Encode.Datetime.ResponseHeader", "encode.datetime.ResponseHeaderAsyncClient.defaultMethod": "Encode.Datetime.ResponseHeader.default", "encode.datetime.ResponseHeaderAsyncClient.defaultMethodWithResponse": "Encode.Datetime.ResponseHeader.default", "encode.datetime.ResponseHeaderAsyncClient.rfc3339": "Encode.Datetime.ResponseHeader.rfc3339", @@ -77,7 +77,7 @@ "encode.datetime.ResponseHeaderAsyncClient.rfc7231WithResponse": "Encode.Datetime.ResponseHeader.rfc7231", "encode.datetime.ResponseHeaderAsyncClient.unixTimestamp": "Encode.Datetime.ResponseHeader.unixTimestamp", "encode.datetime.ResponseHeaderAsyncClient.unixTimestampWithResponse": "Encode.Datetime.ResponseHeader.unixTimestamp", - "encode.datetime.ResponseHeaderClient": "null", + "encode.datetime.ResponseHeaderClient": "Encode.Datetime.ResponseHeader", "encode.datetime.ResponseHeaderClient.defaultMethod": "Encode.Datetime.ResponseHeader.default", "encode.datetime.ResponseHeaderClient.defaultMethodWithResponse": "Encode.Datetime.ResponseHeader.default", "encode.datetime.ResponseHeaderClient.rfc3339": "Encode.Datetime.ResponseHeader.rfc3339", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-duration_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-duration_apiview_properties.json index d1124f7438..e8a30a3d9b 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-duration_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-duration_apiview_properties.json @@ -2,7 +2,7 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "encode.duration.DurationClientBuilder": "Encode.Duration", - "encode.duration.HeaderAsyncClient": "null", + "encode.duration.HeaderAsyncClient": "Encode.Duration.Header", "encode.duration.HeaderAsyncClient.defaultMethod": "Encode.Duration.Header.default", "encode.duration.HeaderAsyncClient.defaultMethodWithResponse": "Encode.Duration.Header.default", "encode.duration.HeaderAsyncClient.float64Seconds": "Encode.Duration.Header.float64Seconds", @@ -15,7 +15,7 @@ "encode.duration.HeaderAsyncClient.iso8601Array": "Encode.Duration.Header.iso8601Array", "encode.duration.HeaderAsyncClient.iso8601ArrayWithResponse": "Encode.Duration.Header.iso8601Array", "encode.duration.HeaderAsyncClient.iso8601WithResponse": "Encode.Duration.Header.iso8601", - "encode.duration.HeaderClient": "null", + "encode.duration.HeaderClient": "Encode.Duration.Header", "encode.duration.HeaderClient.defaultMethod": "Encode.Duration.Header.default", "encode.duration.HeaderClient.defaultMethodWithResponse": "Encode.Duration.Header.default", "encode.duration.HeaderClient.float64Seconds": "Encode.Duration.Header.float64Seconds", @@ -28,7 +28,7 @@ "encode.duration.HeaderClient.iso8601Array": "Encode.Duration.Header.iso8601Array", "encode.duration.HeaderClient.iso8601ArrayWithResponse": "Encode.Duration.Header.iso8601Array", "encode.duration.HeaderClient.iso8601WithResponse": "Encode.Duration.Header.iso8601", - "encode.duration.PropertyAsyncClient": "null", + "encode.duration.PropertyAsyncClient": "Encode.Duration.Property", "encode.duration.PropertyAsyncClient.defaultMethod": "Encode.Duration.Property.default", "encode.duration.PropertyAsyncClient.defaultMethodWithResponse": "Encode.Duration.Property.default", "encode.duration.PropertyAsyncClient.float64Seconds": "Encode.Duration.Property.float64Seconds", @@ -41,7 +41,7 @@ "encode.duration.PropertyAsyncClient.int32SecondsWithResponse": "Encode.Duration.Property.int32Seconds", "encode.duration.PropertyAsyncClient.iso8601": "Encode.Duration.Property.iso8601", "encode.duration.PropertyAsyncClient.iso8601WithResponse": "Encode.Duration.Property.iso8601", - "encode.duration.PropertyClient": "null", + "encode.duration.PropertyClient": "Encode.Duration.Property", "encode.duration.PropertyClient.defaultMethod": "Encode.Duration.Property.default", "encode.duration.PropertyClient.defaultMethodWithResponse": "Encode.Duration.Property.default", "encode.duration.PropertyClient.float64Seconds": "Encode.Duration.Property.float64Seconds", @@ -54,7 +54,7 @@ "encode.duration.PropertyClient.int32SecondsWithResponse": "Encode.Duration.Property.int32Seconds", "encode.duration.PropertyClient.iso8601": "Encode.Duration.Property.iso8601", "encode.duration.PropertyClient.iso8601WithResponse": "Encode.Duration.Property.iso8601", - "encode.duration.QueryAsyncClient": "null", + "encode.duration.QueryAsyncClient": "Encode.Duration.Query", "encode.duration.QueryAsyncClient.defaultMethod": "Encode.Duration.Query.default", "encode.duration.QueryAsyncClient.defaultMethodWithResponse": "Encode.Duration.Query.default", "encode.duration.QueryAsyncClient.float64Seconds": "Encode.Duration.Query.float64Seconds", @@ -67,7 +67,7 @@ "encode.duration.QueryAsyncClient.int32SecondsWithResponse": "Encode.Duration.Query.int32Seconds", "encode.duration.QueryAsyncClient.iso8601": "Encode.Duration.Query.iso8601", "encode.duration.QueryAsyncClient.iso8601WithResponse": "Encode.Duration.Query.iso8601", - "encode.duration.QueryClient": "null", + "encode.duration.QueryClient": "Encode.Duration.Query", "encode.duration.QueryClient.defaultMethod": "Encode.Duration.Query.default", "encode.duration.QueryClient.defaultMethodWithResponse": "Encode.Duration.Query.default", "encode.duration.QueryClient.float64Seconds": "Encode.Duration.Query.float64Seconds", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-numeric_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-numeric_apiview_properties.json index 92e6b5bf35..33f149d361 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-numeric_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/encode-numeric_apiview_properties.json @@ -1,14 +1,14 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "encode.numeric.NumericAsyncClient": "null", + "encode.numeric.NumericAsyncClient": "Encode.Numeric.Property", "encode.numeric.NumericAsyncClient.safeintAsString": "Encode.Numeric.Property.safeintAsString", "encode.numeric.NumericAsyncClient.safeintAsStringWithResponse": "Encode.Numeric.Property.safeintAsString", "encode.numeric.NumericAsyncClient.uint32AsStringOptional": "Encode.Numeric.Property.uint32AsStringOptional", "encode.numeric.NumericAsyncClient.uint32AsStringOptionalWithResponse": "Encode.Numeric.Property.uint32AsStringOptional", "encode.numeric.NumericAsyncClient.uint8AsString": "Encode.Numeric.Property.uint8AsString", "encode.numeric.NumericAsyncClient.uint8AsStringWithResponse": "Encode.Numeric.Property.uint8AsString", - "encode.numeric.NumericClient": "null", + "encode.numeric.NumericClient": "Encode.Numeric.Property", "encode.numeric.NumericClient.safeintAsString": "Encode.Numeric.Property.safeintAsString", "encode.numeric.NumericClient.safeintAsStringWithResponse": "Encode.Numeric.Property.safeintAsString", "encode.numeric.NumericClient.uint32AsStringOptional": "Encode.Numeric.Property.uint32AsStringOptional", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-basic_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-basic_apiview_properties.json index 5c4786620a..f6f9142402 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-basic_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-basic_apiview_properties.json @@ -2,16 +2,16 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "parameters.basic.BasicClientBuilder": "Parameters.Basic", - "parameters.basic.ExplicitBodyAsyncClient": "null", + "parameters.basic.ExplicitBodyAsyncClient": "Parameters.Basic.ExplicitBody", "parameters.basic.ExplicitBodyAsyncClient.simple": "Parameters.Basic.ExplicitBody.simple", "parameters.basic.ExplicitBodyAsyncClient.simpleWithResponse": "Parameters.Basic.ExplicitBody.simple", - "parameters.basic.ExplicitBodyClient": "null", + "parameters.basic.ExplicitBodyClient": "Parameters.Basic.ExplicitBody", "parameters.basic.ExplicitBodyClient.simple": "Parameters.Basic.ExplicitBody.simple", "parameters.basic.ExplicitBodyClient.simpleWithResponse": "Parameters.Basic.ExplicitBody.simple", - "parameters.basic.ImplicitBodyAsyncClient": "null", + "parameters.basic.ImplicitBodyAsyncClient": "Parameters.Basic.ImplicitBody", "parameters.basic.ImplicitBodyAsyncClient.simple": "Parameters.Basic.ImplicitBody.simple", "parameters.basic.ImplicitBodyAsyncClient.simpleWithResponse": "Parameters.Basic.ImplicitBody.simple", - "parameters.basic.ImplicitBodyClient": "null", + "parameters.basic.ImplicitBodyClient": "Parameters.Basic.ImplicitBody", "parameters.basic.ImplicitBodyClient.simple": "Parameters.Basic.ImplicitBody.simple", "parameters.basic.ImplicitBodyClient.simpleWithResponse": "Parameters.Basic.ImplicitBody.simple", "parameters.basic.explicitbody.models.User": "Parameters.Basic.ExplicitBody.User", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-bodyoptionality_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-bodyoptionality_apiview_properties.json index d62ec95a62..36ee4a5133 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-bodyoptionality_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-bodyoptionality_apiview_properties.json @@ -12,12 +12,12 @@ "parameters.bodyoptionality.BodyOptionalityClient.requiredImplicit": "Parameters.BodyOptionality.requiredImplicit", "parameters.bodyoptionality.BodyOptionalityClient.requiredImplicitWithResponse": "Parameters.BodyOptionality.requiredImplicit", "parameters.bodyoptionality.BodyOptionalityClientBuilder": "Parameters.BodyOptionality", - "parameters.bodyoptionality.OptionalExplicitAsyncClient": "null", + "parameters.bodyoptionality.OptionalExplicitAsyncClient": "Parameters.BodyOptionality.OptionalExplicit", "parameters.bodyoptionality.OptionalExplicitAsyncClient.omit": "Parameters.BodyOptionality.OptionalExplicit.omit", "parameters.bodyoptionality.OptionalExplicitAsyncClient.omitWithResponse": "Parameters.BodyOptionality.OptionalExplicit.omit", "parameters.bodyoptionality.OptionalExplicitAsyncClient.set": "Parameters.BodyOptionality.OptionalExplicit.set", "parameters.bodyoptionality.OptionalExplicitAsyncClient.setWithResponse": "Parameters.BodyOptionality.OptionalExplicit.set", - "parameters.bodyoptionality.OptionalExplicitClient": "null", + "parameters.bodyoptionality.OptionalExplicitClient": "Parameters.BodyOptionality.OptionalExplicit", "parameters.bodyoptionality.OptionalExplicitClient.omit": "Parameters.BodyOptionality.OptionalExplicit.omit", "parameters.bodyoptionality.OptionalExplicitClient.omitWithResponse": "Parameters.BodyOptionality.OptionalExplicit.omit", "parameters.bodyoptionality.OptionalExplicitClient.set": "Parameters.BodyOptionality.OptionalExplicit.set", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-collectionformat_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-collectionformat_apiview_properties.json index 7de9e983a4..1ee04d2b1c 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-collectionformat_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-collectionformat_apiview_properties.json @@ -2,13 +2,13 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "parameters.collectionformat.CollectionFormatClientBuilder": "Parameters.CollectionFormat", - "parameters.collectionformat.HeaderAsyncClient": "null", + "parameters.collectionformat.HeaderAsyncClient": "Parameters.CollectionFormat.Header", "parameters.collectionformat.HeaderAsyncClient.csv": "Parameters.CollectionFormat.Header.csv", "parameters.collectionformat.HeaderAsyncClient.csvWithResponse": "Parameters.CollectionFormat.Header.csv", - "parameters.collectionformat.HeaderClient": "null", + "parameters.collectionformat.HeaderClient": "Parameters.CollectionFormat.Header", "parameters.collectionformat.HeaderClient.csv": "Parameters.CollectionFormat.Header.csv", "parameters.collectionformat.HeaderClient.csvWithResponse": "Parameters.CollectionFormat.Header.csv", - "parameters.collectionformat.QueryAsyncClient": "null", + "parameters.collectionformat.QueryAsyncClient": "Parameters.CollectionFormat.Query", "parameters.collectionformat.QueryAsyncClient.csv": "Parameters.CollectionFormat.Query.csv", "parameters.collectionformat.QueryAsyncClient.csvWithResponse": "Parameters.CollectionFormat.Query.csv", "parameters.collectionformat.QueryAsyncClient.multi": "Parameters.CollectionFormat.Query.multi", @@ -19,7 +19,7 @@ "parameters.collectionformat.QueryAsyncClient.ssvWithResponse": "Parameters.CollectionFormat.Query.ssv", "parameters.collectionformat.QueryAsyncClient.tsv": "Parameters.CollectionFormat.Query.tsv", "parameters.collectionformat.QueryAsyncClient.tsvWithResponse": "Parameters.CollectionFormat.Query.tsv", - "parameters.collectionformat.QueryClient": "null", + "parameters.collectionformat.QueryClient": "Parameters.CollectionFormat.Query", "parameters.collectionformat.QueryClient.csv": "Parameters.CollectionFormat.Query.csv", "parameters.collectionformat.QueryClient.csvWithResponse": "Parameters.CollectionFormat.Query.csv", "parameters.collectionformat.QueryClient.multi": "Parameters.CollectionFormat.Query.multi", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-spread_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-spread_apiview_properties.json index 0ccd25e790..49f4a0f227 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-spread_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/parameters-spread_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "parameters.spread.AliasAsyncClient": "null", + "parameters.spread.AliasAsyncClient": "Parameters.Spread.Alias", "parameters.spread.AliasAsyncClient.spreadAsRequestBody": "Parameters.Spread.Alias.spreadAsRequestBody", "parameters.spread.AliasAsyncClient.spreadAsRequestBodyWithResponse": "Parameters.Spread.Alias.spreadAsRequestBody", "parameters.spread.AliasAsyncClient.spreadAsRequestParameter": "Parameters.Spread.Alias.spreadAsRequestParameter", @@ -12,7 +12,7 @@ "parameters.spread.AliasAsyncClient.spreadParameterWithInnerModelWithResponse": "Parameters.Spread.Alias.spreadParameterWithInnerModel", "parameters.spread.AliasAsyncClient.spreadWithMultipleParameters": "Parameters.Spread.Alias.spreadWithMultipleParameters", "parameters.spread.AliasAsyncClient.spreadWithMultipleParametersWithResponse": "Parameters.Spread.Alias.spreadWithMultipleParameters", - "parameters.spread.AliasClient": "null", + "parameters.spread.AliasClient": "Parameters.Spread.Alias", "parameters.spread.AliasClient.spreadAsRequestBody": "Parameters.Spread.Alias.spreadAsRequestBody", "parameters.spread.AliasClient.spreadAsRequestBodyWithResponse": "Parameters.Spread.Alias.spreadAsRequestBody", "parameters.spread.AliasClient.spreadAsRequestParameter": "Parameters.Spread.Alias.spreadAsRequestParameter", @@ -23,7 +23,7 @@ "parameters.spread.AliasClient.spreadParameterWithInnerModelWithResponse": "Parameters.Spread.Alias.spreadParameterWithInnerModel", "parameters.spread.AliasClient.spreadWithMultipleParameters": "Parameters.Spread.Alias.spreadWithMultipleParameters", "parameters.spread.AliasClient.spreadWithMultipleParametersWithResponse": "Parameters.Spread.Alias.spreadWithMultipleParameters", - "parameters.spread.ModelAsyncClient": "null", + "parameters.spread.ModelAsyncClient": "Parameters.Spread.Model", "parameters.spread.ModelAsyncClient.spreadAsRequestBody": "Parameters.Spread.Model.spreadAsRequestBody", "parameters.spread.ModelAsyncClient.spreadAsRequestBodyWithResponse": "Parameters.Spread.Model.spreadAsRequestBody", "parameters.spread.ModelAsyncClient.spreadCompositeRequest": "Parameters.Spread.Model.spreadCompositeRequest", @@ -34,7 +34,7 @@ "parameters.spread.ModelAsyncClient.spreadCompositeRequestWithResponse": "Parameters.Spread.Model.spreadCompositeRequest", "parameters.spread.ModelAsyncClient.spreadCompositeRequestWithoutBody": "Parameters.Spread.Model.spreadCompositeRequestWithoutBody", "parameters.spread.ModelAsyncClient.spreadCompositeRequestWithoutBodyWithResponse": "Parameters.Spread.Model.spreadCompositeRequestWithoutBody", - "parameters.spread.ModelClient": "null", + "parameters.spread.ModelClient": "Parameters.Spread.Model", "parameters.spread.ModelClient.spreadAsRequestBody": "Parameters.Spread.Model.spreadAsRequestBody", "parameters.spread.ModelClient.spreadAsRequestBodyWithResponse": "Parameters.Spread.Model.spreadAsRequestBody", "parameters.spread.ModelClient.spreadCompositeRequest": "Parameters.Spread.Model.spreadCompositeRequest", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-contentnegotiation_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-contentnegotiation_apiview_properties.json index f7523a5a34..a545c0caa9 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-contentnegotiation_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-contentnegotiation_apiview_properties.json @@ -2,22 +2,22 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "payload.contentnegotiation.ContentNegotiationClientBuilder": "Payload.ContentNegotiation", - "payload.contentnegotiation.DifferentBodyAsyncClient": "null", + "payload.contentnegotiation.DifferentBodyAsyncClient": "Payload.ContentNegotiation.DifferentBody", "payload.contentnegotiation.DifferentBodyAsyncClient.getAvatarAsJson": "Payload.ContentNegotiation.DifferentBody.getAvatarAsJson", "payload.contentnegotiation.DifferentBodyAsyncClient.getAvatarAsJsonWithResponse": "Payload.ContentNegotiation.DifferentBody.getAvatarAsJson", "payload.contentnegotiation.DifferentBodyAsyncClient.getAvatarAsPng": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng", "payload.contentnegotiation.DifferentBodyAsyncClient.getAvatarAsPngWithResponse": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng", - "payload.contentnegotiation.DifferentBodyClient": "null", + "payload.contentnegotiation.DifferentBodyClient": "Payload.ContentNegotiation.DifferentBody", "payload.contentnegotiation.DifferentBodyClient.getAvatarAsJson": "Payload.ContentNegotiation.DifferentBody.getAvatarAsJson", "payload.contentnegotiation.DifferentBodyClient.getAvatarAsJsonWithResponse": "Payload.ContentNegotiation.DifferentBody.getAvatarAsJson", "payload.contentnegotiation.DifferentBodyClient.getAvatarAsPng": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng", "payload.contentnegotiation.DifferentBodyClient.getAvatarAsPngWithResponse": "Payload.ContentNegotiation.DifferentBody.getAvatarAsPng", - "payload.contentnegotiation.SameBodyAsyncClient": "null", + "payload.contentnegotiation.SameBodyAsyncClient": "Payload.ContentNegotiation.SameBody", "payload.contentnegotiation.SameBodyAsyncClient.getAvatarAsJpeg": "Payload.ContentNegotiation.SameBody.getAvatarAsJpeg", "payload.contentnegotiation.SameBodyAsyncClient.getAvatarAsJpegWithResponse": "Payload.ContentNegotiation.SameBody.getAvatarAsJpeg", "payload.contentnegotiation.SameBodyAsyncClient.getAvatarAsPng": "Payload.ContentNegotiation.SameBody.getAvatarAsPng", "payload.contentnegotiation.SameBodyAsyncClient.getAvatarAsPngWithResponse": "Payload.ContentNegotiation.SameBody.getAvatarAsPng", - "payload.contentnegotiation.SameBodyClient": "null", + "payload.contentnegotiation.SameBodyClient": "Payload.ContentNegotiation.SameBody", "payload.contentnegotiation.SameBodyClient.getAvatarAsJpeg": "Payload.ContentNegotiation.SameBody.getAvatarAsJpeg", "payload.contentnegotiation.SameBodyClient.getAvatarAsJpegWithResponse": "Payload.ContentNegotiation.SameBody.getAvatarAsJpeg", "payload.contentnegotiation.SameBodyClient.getAvatarAsPng": "Payload.ContentNegotiation.SameBody.getAvatarAsPng", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-mediatype_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-mediatype_apiview_properties.json index 1affa815de..6e003b50b5 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-mediatype_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-mediatype_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "payload.mediatype.MediaTypeAsyncClient": "null", + "payload.mediatype.MediaTypeAsyncClient": "Payload.MediaType.StringBody", "payload.mediatype.MediaTypeAsyncClient.getAsJson": "Payload.MediaType.StringBody.getAsJson", "payload.mediatype.MediaTypeAsyncClient.getAsJsonWithResponse": "Payload.MediaType.StringBody.getAsJson", "payload.mediatype.MediaTypeAsyncClient.getAsText": "Payload.MediaType.StringBody.getAsText", @@ -10,7 +10,7 @@ "payload.mediatype.MediaTypeAsyncClient.sendAsJsonWithResponse": "Payload.MediaType.StringBody.sendAsJson", "payload.mediatype.MediaTypeAsyncClient.sendAsText": "Payload.MediaType.StringBody.sendAsText", "payload.mediatype.MediaTypeAsyncClient.sendAsTextWithResponse": "Payload.MediaType.StringBody.sendAsText", - "payload.mediatype.MediaTypeClient": "null", + "payload.mediatype.MediaTypeClient": "Payload.MediaType.StringBody", "payload.mediatype.MediaTypeClient.getAsJson": "Payload.MediaType.StringBody.getAsJson", "payload.mediatype.MediaTypeClient.getAsJsonWithResponse": "Payload.MediaType.StringBody.getAsJson", "payload.mediatype.MediaTypeClient.getAsText": "Payload.MediaType.StringBody.getAsText", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-multipart_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-multipart_apiview_properties.json index 4b82a8e8fc..5bf40d7ba0 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-multipart_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-multipart_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "payload.multipart.FormDataAsyncClient": "null", + "payload.multipart.FormDataAsyncClient": "Payload.MultiPart.FormData", "payload.multipart.FormDataAsyncClient.anonymousModel": "Payload.MultiPart.FormData.anonymousModel", "payload.multipart.FormDataAsyncClient.anonymousModelWithResponse": "Payload.MultiPart.FormData.anonymousModel", "payload.multipart.FormDataAsyncClient.basic": "Payload.MultiPart.FormData.basic", @@ -16,7 +16,7 @@ "payload.multipart.FormDataAsyncClient.jsonPartWithResponse": "Payload.MultiPart.FormData.jsonPart", "payload.multipart.FormDataAsyncClient.multiBinaryParts": "Payload.MultiPart.FormData.multiBinaryParts", "payload.multipart.FormDataAsyncClient.multiBinaryPartsWithResponse": "Payload.MultiPart.FormData.multiBinaryParts", - "payload.multipart.FormDataClient": "null", + "payload.multipart.FormDataClient": "Payload.MultiPart.FormData", "payload.multipart.FormDataClient.anonymousModel": "Payload.MultiPart.FormData.anonymousModel", "payload.multipart.FormDataClient.anonymousModelWithResponse": "Payload.MultiPart.FormData.anonymousModel", "payload.multipart.FormDataClient.basic": "Payload.MultiPart.FormData.basic", @@ -31,30 +31,30 @@ "payload.multipart.FormDataClient.jsonPartWithResponse": "Payload.MultiPart.FormData.jsonPart", "payload.multipart.FormDataClient.multiBinaryParts": "Payload.MultiPart.FormData.multiBinaryParts", "payload.multipart.FormDataClient.multiBinaryPartsWithResponse": "Payload.MultiPart.FormData.multiBinaryParts", - "payload.multipart.FormDataHttpPartsAsyncClient": "null", + "payload.multipart.FormDataHttpPartsAsyncClient": "Payload.MultiPart.FormData.HttpParts", "payload.multipart.FormDataHttpPartsAsyncClient.jsonArrayAndFileArray": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray", "payload.multipart.FormDataHttpPartsAsyncClient.jsonArrayAndFileArrayWithResponse": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray", - "payload.multipart.FormDataHttpPartsClient": "null", + "payload.multipart.FormDataHttpPartsClient": "Payload.MultiPart.FormData.HttpParts", "payload.multipart.FormDataHttpPartsClient.jsonArrayAndFileArray": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray", "payload.multipart.FormDataHttpPartsClient.jsonArrayAndFileArrayWithResponse": "Payload.MultiPart.FormData.HttpParts.jsonArrayAndFileArray", - "payload.multipart.FormDataHttpPartsContentTypeAsyncClient": "null", + "payload.multipart.FormDataHttpPartsContentTypeAsyncClient": "Payload.MultiPart.FormData.HttpParts.ContentType", "payload.multipart.FormDataHttpPartsContentTypeAsyncClient.imageJpegContentType": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType", "payload.multipart.FormDataHttpPartsContentTypeAsyncClient.imageJpegContentTypeWithResponse": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType", "payload.multipart.FormDataHttpPartsContentTypeAsyncClient.optionalContentType": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType", "payload.multipart.FormDataHttpPartsContentTypeAsyncClient.optionalContentTypeWithResponse": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType", "payload.multipart.FormDataHttpPartsContentTypeAsyncClient.requiredContentType": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType", "payload.multipart.FormDataHttpPartsContentTypeAsyncClient.requiredContentTypeWithResponse": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType", - "payload.multipart.FormDataHttpPartsContentTypeClient": "null", + "payload.multipart.FormDataHttpPartsContentTypeClient": "Payload.MultiPart.FormData.HttpParts.ContentType", "payload.multipart.FormDataHttpPartsContentTypeClient.imageJpegContentType": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType", "payload.multipart.FormDataHttpPartsContentTypeClient.imageJpegContentTypeWithResponse": "Payload.MultiPart.FormData.HttpParts.ContentType.imageJpegContentType", "payload.multipart.FormDataHttpPartsContentTypeClient.optionalContentType": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType", "payload.multipart.FormDataHttpPartsContentTypeClient.optionalContentTypeWithResponse": "Payload.MultiPart.FormData.HttpParts.ContentType.optionalContentType", "payload.multipart.FormDataHttpPartsContentTypeClient.requiredContentType": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType", "payload.multipart.FormDataHttpPartsContentTypeClient.requiredContentTypeWithResponse": "Payload.MultiPart.FormData.HttpParts.ContentType.requiredContentType", - "payload.multipart.FormDataHttpPartsNonStringAsyncClient": "null", + "payload.multipart.FormDataHttpPartsNonStringAsyncClient": "Payload.MultiPart.FormData.HttpParts.NonString", "payload.multipart.FormDataHttpPartsNonStringAsyncClient.floatMethod": "Payload.MultiPart.FormData.HttpParts.NonString.float", "payload.multipart.FormDataHttpPartsNonStringAsyncClient.floatMethodWithResponse": "Payload.MultiPart.FormData.HttpParts.NonString.float", - "payload.multipart.FormDataHttpPartsNonStringClient": "null", + "payload.multipart.FormDataHttpPartsNonStringClient": "Payload.MultiPart.FormData.HttpParts.NonString", "payload.multipart.FormDataHttpPartsNonStringClient.floatMethod": "Payload.MultiPart.FormData.HttpParts.NonString.float", "payload.multipart.FormDataHttpPartsNonStringClient.floatMethodWithResponse": "Payload.MultiPart.FormData.HttpParts.NonString.float", "payload.multipart.MultiPartClientBuilder": "Payload.MultiPart", @@ -73,8 +73,8 @@ "payload.multipart.models.JsonPartRequest": "Payload.MultiPart.JsonPartRequest", "payload.multipart.models.MultiBinaryPartsRequest": "Payload.MultiPart.MultiBinaryPartsRequest", "payload.multipart.models.MultiPartRequest": "Payload.MultiPart.MultiPartRequest", - "payload.multipart.models.PictureFileDetails": "null", - "payload.multipart.models.PicturesFileDetails": "null", - "payload.multipart.models.ProfileImageFileDetails": "null" + "payload.multipart.models.PictureFileDetails": null, + "payload.multipart.models.PicturesFileDetails": null, + "payload.multipart.models.ProfileImageFileDetails": null } } diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-pageable_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-pageable_apiview_properties.json index 558c02a0ef..5964fb41f6 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-pageable_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/payload-pageable_apiview_properties.json @@ -1,10 +1,10 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "payload.pageable.PageableAsyncClient": "null", + "payload.pageable.PageableAsyncClient": "Payload.Pageable.ServerDrivenPagination", "payload.pageable.PageableAsyncClient.link": "Payload.Pageable.ServerDrivenPagination.link", "payload.pageable.PageableAsyncClient.linkWithResponse": "Payload.Pageable.ServerDrivenPagination.link", - "payload.pageable.PageableClient": "null", + "payload.pageable.PageableClient": "Payload.Pageable.ServerDrivenPagination", "payload.pageable.PageableClient.link": "Payload.Pageable.ServerDrivenPagination.link", "payload.pageable.PageableClient.linkWithResponse": "Payload.Pageable.ServerDrivenPagination.link", "payload.pageable.PageableClientBuilder": "Payload.Pageable", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/routes_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/routes_apiview_properties.json index 5cd8bc7253..f2c4c80ec0 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/routes_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/routes_apiview_properties.json @@ -1,212 +1,212 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "routes.InInterfaceAsyncClient": "null", + "routes.InInterfaceAsyncClient": "Routes.InInterface", "routes.InInterfaceAsyncClient.fixed": "Routes.InInterface.fixed", "routes.InInterfaceAsyncClient.fixedWithResponse": "Routes.InInterface.fixed", - "routes.InInterfaceClient": "null", + "routes.InInterfaceClient": "Routes.InInterface", "routes.InInterfaceClient.fixed": "Routes.InInterface.fixed", "routes.InInterfaceClient.fixedWithResponse": "Routes.InInterface.fixed", - "routes.PathParametersAsyncClient": "null", + "routes.PathParametersAsyncClient": "Routes.PathParameters", "routes.PathParametersAsyncClient.annotationOnly": "Routes.PathParameters.annotationOnly", "routes.PathParametersAsyncClient.annotationOnlyWithResponse": "Routes.PathParameters.annotationOnly", "routes.PathParametersAsyncClient.explicit": "Routes.PathParameters.explicit", "routes.PathParametersAsyncClient.explicitWithResponse": "Routes.PathParameters.explicit", "routes.PathParametersAsyncClient.templateOnly": "Routes.PathParameters.templateOnly", "routes.PathParametersAsyncClient.templateOnlyWithResponse": "Routes.PathParameters.templateOnly", - "routes.PathParametersClient": "null", + "routes.PathParametersClient": "Routes.PathParameters", "routes.PathParametersClient.annotationOnly": "Routes.PathParameters.annotationOnly", "routes.PathParametersClient.annotationOnlyWithResponse": "Routes.PathParameters.annotationOnly", "routes.PathParametersClient.explicit": "Routes.PathParameters.explicit", "routes.PathParametersClient.explicitWithResponse": "Routes.PathParameters.explicit", "routes.PathParametersClient.templateOnly": "Routes.PathParameters.templateOnly", "routes.PathParametersClient.templateOnlyWithResponse": "Routes.PathParameters.templateOnly", - "routes.PathParametersLabelExpansionExplodeAsyncClient": "null", + "routes.PathParametersLabelExpansionExplodeAsyncClient": "Routes.PathParameters.LabelExpansion.Explode", "routes.PathParametersLabelExpansionExplodeAsyncClient.array": "Routes.PathParameters.LabelExpansion.Explode.array", "routes.PathParametersLabelExpansionExplodeAsyncClient.arrayWithResponse": "Routes.PathParameters.LabelExpansion.Explode.array", "routes.PathParametersLabelExpansionExplodeAsyncClient.primitive": "Routes.PathParameters.LabelExpansion.Explode.primitive", "routes.PathParametersLabelExpansionExplodeAsyncClient.primitiveWithResponse": "Routes.PathParameters.LabelExpansion.Explode.primitive", "routes.PathParametersLabelExpansionExplodeAsyncClient.record": "Routes.PathParameters.LabelExpansion.Explode.record", "routes.PathParametersLabelExpansionExplodeAsyncClient.recordWithResponse": "Routes.PathParameters.LabelExpansion.Explode.record", - "routes.PathParametersLabelExpansionExplodeClient": "null", + "routes.PathParametersLabelExpansionExplodeClient": "Routes.PathParameters.LabelExpansion.Explode", "routes.PathParametersLabelExpansionExplodeClient.array": "Routes.PathParameters.LabelExpansion.Explode.array", "routes.PathParametersLabelExpansionExplodeClient.arrayWithResponse": "Routes.PathParameters.LabelExpansion.Explode.array", "routes.PathParametersLabelExpansionExplodeClient.primitive": "Routes.PathParameters.LabelExpansion.Explode.primitive", "routes.PathParametersLabelExpansionExplodeClient.primitiveWithResponse": "Routes.PathParameters.LabelExpansion.Explode.primitive", "routes.PathParametersLabelExpansionExplodeClient.record": "Routes.PathParameters.LabelExpansion.Explode.record", "routes.PathParametersLabelExpansionExplodeClient.recordWithResponse": "Routes.PathParameters.LabelExpansion.Explode.record", - "routes.PathParametersLabelExpansionStandardAsyncClient": "null", + "routes.PathParametersLabelExpansionStandardAsyncClient": "Routes.PathParameters.LabelExpansion.Standard", "routes.PathParametersLabelExpansionStandardAsyncClient.array": "Routes.PathParameters.LabelExpansion.Standard.array", "routes.PathParametersLabelExpansionStandardAsyncClient.arrayWithResponse": "Routes.PathParameters.LabelExpansion.Standard.array", "routes.PathParametersLabelExpansionStandardAsyncClient.primitive": "Routes.PathParameters.LabelExpansion.Standard.primitive", "routes.PathParametersLabelExpansionStandardAsyncClient.primitiveWithResponse": "Routes.PathParameters.LabelExpansion.Standard.primitive", "routes.PathParametersLabelExpansionStandardAsyncClient.record": "Routes.PathParameters.LabelExpansion.Standard.record", "routes.PathParametersLabelExpansionStandardAsyncClient.recordWithResponse": "Routes.PathParameters.LabelExpansion.Standard.record", - "routes.PathParametersLabelExpansionStandardClient": "null", + "routes.PathParametersLabelExpansionStandardClient": "Routes.PathParameters.LabelExpansion.Standard", "routes.PathParametersLabelExpansionStandardClient.array": "Routes.PathParameters.LabelExpansion.Standard.array", "routes.PathParametersLabelExpansionStandardClient.arrayWithResponse": "Routes.PathParameters.LabelExpansion.Standard.array", "routes.PathParametersLabelExpansionStandardClient.primitive": "Routes.PathParameters.LabelExpansion.Standard.primitive", "routes.PathParametersLabelExpansionStandardClient.primitiveWithResponse": "Routes.PathParameters.LabelExpansion.Standard.primitive", "routes.PathParametersLabelExpansionStandardClient.record": "Routes.PathParameters.LabelExpansion.Standard.record", "routes.PathParametersLabelExpansionStandardClient.recordWithResponse": "Routes.PathParameters.LabelExpansion.Standard.record", - "routes.PathParametersMatrixExpansionExplodeAsyncClient": "null", + "routes.PathParametersMatrixExpansionExplodeAsyncClient": "Routes.PathParameters.MatrixExpansion.Explode", "routes.PathParametersMatrixExpansionExplodeAsyncClient.array": "Routes.PathParameters.MatrixExpansion.Explode.array", "routes.PathParametersMatrixExpansionExplodeAsyncClient.arrayWithResponse": "Routes.PathParameters.MatrixExpansion.Explode.array", "routes.PathParametersMatrixExpansionExplodeAsyncClient.primitive": "Routes.PathParameters.MatrixExpansion.Explode.primitive", "routes.PathParametersMatrixExpansionExplodeAsyncClient.primitiveWithResponse": "Routes.PathParameters.MatrixExpansion.Explode.primitive", "routes.PathParametersMatrixExpansionExplodeAsyncClient.record": "Routes.PathParameters.MatrixExpansion.Explode.record", "routes.PathParametersMatrixExpansionExplodeAsyncClient.recordWithResponse": "Routes.PathParameters.MatrixExpansion.Explode.record", - "routes.PathParametersMatrixExpansionExplodeClient": "null", + "routes.PathParametersMatrixExpansionExplodeClient": "Routes.PathParameters.MatrixExpansion.Explode", "routes.PathParametersMatrixExpansionExplodeClient.array": "Routes.PathParameters.MatrixExpansion.Explode.array", "routes.PathParametersMatrixExpansionExplodeClient.arrayWithResponse": "Routes.PathParameters.MatrixExpansion.Explode.array", "routes.PathParametersMatrixExpansionExplodeClient.primitive": "Routes.PathParameters.MatrixExpansion.Explode.primitive", "routes.PathParametersMatrixExpansionExplodeClient.primitiveWithResponse": "Routes.PathParameters.MatrixExpansion.Explode.primitive", "routes.PathParametersMatrixExpansionExplodeClient.record": "Routes.PathParameters.MatrixExpansion.Explode.record", "routes.PathParametersMatrixExpansionExplodeClient.recordWithResponse": "Routes.PathParameters.MatrixExpansion.Explode.record", - "routes.PathParametersMatrixExpansionStandardAsyncClient": "null", + "routes.PathParametersMatrixExpansionStandardAsyncClient": "Routes.PathParameters.MatrixExpansion.Standard", "routes.PathParametersMatrixExpansionStandardAsyncClient.array": "Routes.PathParameters.MatrixExpansion.Standard.array", "routes.PathParametersMatrixExpansionStandardAsyncClient.arrayWithResponse": "Routes.PathParameters.MatrixExpansion.Standard.array", "routes.PathParametersMatrixExpansionStandardAsyncClient.primitive": "Routes.PathParameters.MatrixExpansion.Standard.primitive", "routes.PathParametersMatrixExpansionStandardAsyncClient.primitiveWithResponse": "Routes.PathParameters.MatrixExpansion.Standard.primitive", "routes.PathParametersMatrixExpansionStandardAsyncClient.record": "Routes.PathParameters.MatrixExpansion.Standard.record", "routes.PathParametersMatrixExpansionStandardAsyncClient.recordWithResponse": "Routes.PathParameters.MatrixExpansion.Standard.record", - "routes.PathParametersMatrixExpansionStandardClient": "null", + "routes.PathParametersMatrixExpansionStandardClient": "Routes.PathParameters.MatrixExpansion.Standard", "routes.PathParametersMatrixExpansionStandardClient.array": "Routes.PathParameters.MatrixExpansion.Standard.array", "routes.PathParametersMatrixExpansionStandardClient.arrayWithResponse": "Routes.PathParameters.MatrixExpansion.Standard.array", "routes.PathParametersMatrixExpansionStandardClient.primitive": "Routes.PathParameters.MatrixExpansion.Standard.primitive", "routes.PathParametersMatrixExpansionStandardClient.primitiveWithResponse": "Routes.PathParameters.MatrixExpansion.Standard.primitive", "routes.PathParametersMatrixExpansionStandardClient.record": "Routes.PathParameters.MatrixExpansion.Standard.record", "routes.PathParametersMatrixExpansionStandardClient.recordWithResponse": "Routes.PathParameters.MatrixExpansion.Standard.record", - "routes.PathParametersPathExpansionExplodeAsyncClient": "null", + "routes.PathParametersPathExpansionExplodeAsyncClient": "Routes.PathParameters.PathExpansion.Explode", "routes.PathParametersPathExpansionExplodeAsyncClient.array": "Routes.PathParameters.PathExpansion.Explode.array", "routes.PathParametersPathExpansionExplodeAsyncClient.arrayWithResponse": "Routes.PathParameters.PathExpansion.Explode.array", "routes.PathParametersPathExpansionExplodeAsyncClient.primitive": "Routes.PathParameters.PathExpansion.Explode.primitive", "routes.PathParametersPathExpansionExplodeAsyncClient.primitiveWithResponse": "Routes.PathParameters.PathExpansion.Explode.primitive", "routes.PathParametersPathExpansionExplodeAsyncClient.record": "Routes.PathParameters.PathExpansion.Explode.record", "routes.PathParametersPathExpansionExplodeAsyncClient.recordWithResponse": "Routes.PathParameters.PathExpansion.Explode.record", - "routes.PathParametersPathExpansionExplodeClient": "null", + "routes.PathParametersPathExpansionExplodeClient": "Routes.PathParameters.PathExpansion.Explode", "routes.PathParametersPathExpansionExplodeClient.array": "Routes.PathParameters.PathExpansion.Explode.array", "routes.PathParametersPathExpansionExplodeClient.arrayWithResponse": "Routes.PathParameters.PathExpansion.Explode.array", "routes.PathParametersPathExpansionExplodeClient.primitive": "Routes.PathParameters.PathExpansion.Explode.primitive", "routes.PathParametersPathExpansionExplodeClient.primitiveWithResponse": "Routes.PathParameters.PathExpansion.Explode.primitive", "routes.PathParametersPathExpansionExplodeClient.record": "Routes.PathParameters.PathExpansion.Explode.record", "routes.PathParametersPathExpansionExplodeClient.recordWithResponse": "Routes.PathParameters.PathExpansion.Explode.record", - "routes.PathParametersPathExpansionStandardAsyncClient": "null", + "routes.PathParametersPathExpansionStandardAsyncClient": "Routes.PathParameters.PathExpansion.Standard", "routes.PathParametersPathExpansionStandardAsyncClient.array": "Routes.PathParameters.PathExpansion.Standard.array", "routes.PathParametersPathExpansionStandardAsyncClient.arrayWithResponse": "Routes.PathParameters.PathExpansion.Standard.array", "routes.PathParametersPathExpansionStandardAsyncClient.primitive": "Routes.PathParameters.PathExpansion.Standard.primitive", "routes.PathParametersPathExpansionStandardAsyncClient.primitiveWithResponse": "Routes.PathParameters.PathExpansion.Standard.primitive", "routes.PathParametersPathExpansionStandardAsyncClient.record": "Routes.PathParameters.PathExpansion.Standard.record", "routes.PathParametersPathExpansionStandardAsyncClient.recordWithResponse": "Routes.PathParameters.PathExpansion.Standard.record", - "routes.PathParametersPathExpansionStandardClient": "null", + "routes.PathParametersPathExpansionStandardClient": "Routes.PathParameters.PathExpansion.Standard", "routes.PathParametersPathExpansionStandardClient.array": "Routes.PathParameters.PathExpansion.Standard.array", "routes.PathParametersPathExpansionStandardClient.arrayWithResponse": "Routes.PathParameters.PathExpansion.Standard.array", "routes.PathParametersPathExpansionStandardClient.primitive": "Routes.PathParameters.PathExpansion.Standard.primitive", "routes.PathParametersPathExpansionStandardClient.primitiveWithResponse": "Routes.PathParameters.PathExpansion.Standard.primitive", "routes.PathParametersPathExpansionStandardClient.record": "Routes.PathParameters.PathExpansion.Standard.record", "routes.PathParametersPathExpansionStandardClient.recordWithResponse": "Routes.PathParameters.PathExpansion.Standard.record", - "routes.PathParametersReservedExpansionAsyncClient": "null", + "routes.PathParametersReservedExpansionAsyncClient": "Routes.PathParameters.ReservedExpansion", "routes.PathParametersReservedExpansionAsyncClient.annotation": "Routes.PathParameters.ReservedExpansion.annotation", "routes.PathParametersReservedExpansionAsyncClient.annotationWithResponse": "Routes.PathParameters.ReservedExpansion.annotation", "routes.PathParametersReservedExpansionAsyncClient.template": "Routes.PathParameters.ReservedExpansion.template", "routes.PathParametersReservedExpansionAsyncClient.templateWithResponse": "Routes.PathParameters.ReservedExpansion.template", - "routes.PathParametersReservedExpansionClient": "null", + "routes.PathParametersReservedExpansionClient": "Routes.PathParameters.ReservedExpansion", "routes.PathParametersReservedExpansionClient.annotation": "Routes.PathParameters.ReservedExpansion.annotation", "routes.PathParametersReservedExpansionClient.annotationWithResponse": "Routes.PathParameters.ReservedExpansion.annotation", "routes.PathParametersReservedExpansionClient.template": "Routes.PathParameters.ReservedExpansion.template", "routes.PathParametersReservedExpansionClient.templateWithResponse": "Routes.PathParameters.ReservedExpansion.template", - "routes.PathParametersSimpleExpansionExplodeAsyncClient": "null", + "routes.PathParametersSimpleExpansionExplodeAsyncClient": "Routes.PathParameters.SimpleExpansion.Explode", "routes.PathParametersSimpleExpansionExplodeAsyncClient.array": "Routes.PathParameters.SimpleExpansion.Explode.array", "routes.PathParametersSimpleExpansionExplodeAsyncClient.arrayWithResponse": "Routes.PathParameters.SimpleExpansion.Explode.array", "routes.PathParametersSimpleExpansionExplodeAsyncClient.primitive": "Routes.PathParameters.SimpleExpansion.Explode.primitive", "routes.PathParametersSimpleExpansionExplodeAsyncClient.primitiveWithResponse": "Routes.PathParameters.SimpleExpansion.Explode.primitive", "routes.PathParametersSimpleExpansionExplodeAsyncClient.record": "Routes.PathParameters.SimpleExpansion.Explode.record", "routes.PathParametersSimpleExpansionExplodeAsyncClient.recordWithResponse": "Routes.PathParameters.SimpleExpansion.Explode.record", - "routes.PathParametersSimpleExpansionExplodeClient": "null", + "routes.PathParametersSimpleExpansionExplodeClient": "Routes.PathParameters.SimpleExpansion.Explode", "routes.PathParametersSimpleExpansionExplodeClient.array": "Routes.PathParameters.SimpleExpansion.Explode.array", "routes.PathParametersSimpleExpansionExplodeClient.arrayWithResponse": "Routes.PathParameters.SimpleExpansion.Explode.array", "routes.PathParametersSimpleExpansionExplodeClient.primitive": "Routes.PathParameters.SimpleExpansion.Explode.primitive", "routes.PathParametersSimpleExpansionExplodeClient.primitiveWithResponse": "Routes.PathParameters.SimpleExpansion.Explode.primitive", "routes.PathParametersSimpleExpansionExplodeClient.record": "Routes.PathParameters.SimpleExpansion.Explode.record", "routes.PathParametersSimpleExpansionExplodeClient.recordWithResponse": "Routes.PathParameters.SimpleExpansion.Explode.record", - "routes.PathParametersSimpleExpansionStandardAsyncClient": "null", + "routes.PathParametersSimpleExpansionStandardAsyncClient": "Routes.PathParameters.SimpleExpansion.Standard", "routes.PathParametersSimpleExpansionStandardAsyncClient.array": "Routes.PathParameters.SimpleExpansion.Standard.array", "routes.PathParametersSimpleExpansionStandardAsyncClient.arrayWithResponse": "Routes.PathParameters.SimpleExpansion.Standard.array", "routes.PathParametersSimpleExpansionStandardAsyncClient.primitive": "Routes.PathParameters.SimpleExpansion.Standard.primitive", "routes.PathParametersSimpleExpansionStandardAsyncClient.primitiveWithResponse": "Routes.PathParameters.SimpleExpansion.Standard.primitive", "routes.PathParametersSimpleExpansionStandardAsyncClient.record": "Routes.PathParameters.SimpleExpansion.Standard.record", "routes.PathParametersSimpleExpansionStandardAsyncClient.recordWithResponse": "Routes.PathParameters.SimpleExpansion.Standard.record", - "routes.PathParametersSimpleExpansionStandardClient": "null", + "routes.PathParametersSimpleExpansionStandardClient": "Routes.PathParameters.SimpleExpansion.Standard", "routes.PathParametersSimpleExpansionStandardClient.array": "Routes.PathParameters.SimpleExpansion.Standard.array", "routes.PathParametersSimpleExpansionStandardClient.arrayWithResponse": "Routes.PathParameters.SimpleExpansion.Standard.array", "routes.PathParametersSimpleExpansionStandardClient.primitive": "Routes.PathParameters.SimpleExpansion.Standard.primitive", "routes.PathParametersSimpleExpansionStandardClient.primitiveWithResponse": "Routes.PathParameters.SimpleExpansion.Standard.primitive", "routes.PathParametersSimpleExpansionStandardClient.record": "Routes.PathParameters.SimpleExpansion.Standard.record", "routes.PathParametersSimpleExpansionStandardClient.recordWithResponse": "Routes.PathParameters.SimpleExpansion.Standard.record", - "routes.QueryParametersAsyncClient": "null", + "routes.QueryParametersAsyncClient": "Routes.QueryParameters", "routes.QueryParametersAsyncClient.annotationOnly": "Routes.QueryParameters.annotationOnly", "routes.QueryParametersAsyncClient.annotationOnlyWithResponse": "Routes.QueryParameters.annotationOnly", "routes.QueryParametersAsyncClient.explicit": "Routes.QueryParameters.explicit", "routes.QueryParametersAsyncClient.explicitWithResponse": "Routes.QueryParameters.explicit", "routes.QueryParametersAsyncClient.templateOnly": "Routes.QueryParameters.templateOnly", "routes.QueryParametersAsyncClient.templateOnlyWithResponse": "Routes.QueryParameters.templateOnly", - "routes.QueryParametersClient": "null", + "routes.QueryParametersClient": "Routes.QueryParameters", "routes.QueryParametersClient.annotationOnly": "Routes.QueryParameters.annotationOnly", "routes.QueryParametersClient.annotationOnlyWithResponse": "Routes.QueryParameters.annotationOnly", "routes.QueryParametersClient.explicit": "Routes.QueryParameters.explicit", "routes.QueryParametersClient.explicitWithResponse": "Routes.QueryParameters.explicit", "routes.QueryParametersClient.templateOnly": "Routes.QueryParameters.templateOnly", "routes.QueryParametersClient.templateOnlyWithResponse": "Routes.QueryParameters.templateOnly", - "routes.QueryParametersQueryContinuationExplodeAsyncClient": "null", + "routes.QueryParametersQueryContinuationExplodeAsyncClient": "Routes.QueryParameters.QueryContinuation.Explode", "routes.QueryParametersQueryContinuationExplodeAsyncClient.array": "Routes.QueryParameters.QueryContinuation.Explode.array", "routes.QueryParametersQueryContinuationExplodeAsyncClient.arrayWithResponse": "Routes.QueryParameters.QueryContinuation.Explode.array", "routes.QueryParametersQueryContinuationExplodeAsyncClient.primitive": "Routes.QueryParameters.QueryContinuation.Explode.primitive", "routes.QueryParametersQueryContinuationExplodeAsyncClient.primitiveWithResponse": "Routes.QueryParameters.QueryContinuation.Explode.primitive", "routes.QueryParametersQueryContinuationExplodeAsyncClient.record": "Routes.QueryParameters.QueryContinuation.Explode.record", "routes.QueryParametersQueryContinuationExplodeAsyncClient.recordWithResponse": "Routes.QueryParameters.QueryContinuation.Explode.record", - "routes.QueryParametersQueryContinuationExplodeClient": "null", + "routes.QueryParametersQueryContinuationExplodeClient": "Routes.QueryParameters.QueryContinuation.Explode", "routes.QueryParametersQueryContinuationExplodeClient.array": "Routes.QueryParameters.QueryContinuation.Explode.array", "routes.QueryParametersQueryContinuationExplodeClient.arrayWithResponse": "Routes.QueryParameters.QueryContinuation.Explode.array", "routes.QueryParametersQueryContinuationExplodeClient.primitive": "Routes.QueryParameters.QueryContinuation.Explode.primitive", "routes.QueryParametersQueryContinuationExplodeClient.primitiveWithResponse": "Routes.QueryParameters.QueryContinuation.Explode.primitive", "routes.QueryParametersQueryContinuationExplodeClient.record": "Routes.QueryParameters.QueryContinuation.Explode.record", "routes.QueryParametersQueryContinuationExplodeClient.recordWithResponse": "Routes.QueryParameters.QueryContinuation.Explode.record", - "routes.QueryParametersQueryContinuationStandardAsyncClient": "null", + "routes.QueryParametersQueryContinuationStandardAsyncClient": "Routes.QueryParameters.QueryContinuation.Standard", "routes.QueryParametersQueryContinuationStandardAsyncClient.array": "Routes.QueryParameters.QueryContinuation.Standard.array", "routes.QueryParametersQueryContinuationStandardAsyncClient.arrayWithResponse": "Routes.QueryParameters.QueryContinuation.Standard.array", "routes.QueryParametersQueryContinuationStandardAsyncClient.primitive": "Routes.QueryParameters.QueryContinuation.Standard.primitive", "routes.QueryParametersQueryContinuationStandardAsyncClient.primitiveWithResponse": "Routes.QueryParameters.QueryContinuation.Standard.primitive", "routes.QueryParametersQueryContinuationStandardAsyncClient.record": "Routes.QueryParameters.QueryContinuation.Standard.record", "routes.QueryParametersQueryContinuationStandardAsyncClient.recordWithResponse": "Routes.QueryParameters.QueryContinuation.Standard.record", - "routes.QueryParametersQueryContinuationStandardClient": "null", + "routes.QueryParametersQueryContinuationStandardClient": "Routes.QueryParameters.QueryContinuation.Standard", "routes.QueryParametersQueryContinuationStandardClient.array": "Routes.QueryParameters.QueryContinuation.Standard.array", "routes.QueryParametersQueryContinuationStandardClient.arrayWithResponse": "Routes.QueryParameters.QueryContinuation.Standard.array", "routes.QueryParametersQueryContinuationStandardClient.primitive": "Routes.QueryParameters.QueryContinuation.Standard.primitive", "routes.QueryParametersQueryContinuationStandardClient.primitiveWithResponse": "Routes.QueryParameters.QueryContinuation.Standard.primitive", "routes.QueryParametersQueryContinuationStandardClient.record": "Routes.QueryParameters.QueryContinuation.Standard.record", "routes.QueryParametersQueryContinuationStandardClient.recordWithResponse": "Routes.QueryParameters.QueryContinuation.Standard.record", - "routes.QueryParametersQueryExpansionExplodeAsyncClient": "null", + "routes.QueryParametersQueryExpansionExplodeAsyncClient": "Routes.QueryParameters.QueryExpansion.Explode", "routes.QueryParametersQueryExpansionExplodeAsyncClient.array": "Routes.QueryParameters.QueryExpansion.Explode.array", "routes.QueryParametersQueryExpansionExplodeAsyncClient.arrayWithResponse": "Routes.QueryParameters.QueryExpansion.Explode.array", "routes.QueryParametersQueryExpansionExplodeAsyncClient.primitive": "Routes.QueryParameters.QueryExpansion.Explode.primitive", "routes.QueryParametersQueryExpansionExplodeAsyncClient.primitiveWithResponse": "Routes.QueryParameters.QueryExpansion.Explode.primitive", "routes.QueryParametersQueryExpansionExplodeAsyncClient.record": "Routes.QueryParameters.QueryExpansion.Explode.record", "routes.QueryParametersQueryExpansionExplodeAsyncClient.recordWithResponse": "Routes.QueryParameters.QueryExpansion.Explode.record", - "routes.QueryParametersQueryExpansionExplodeClient": "null", + "routes.QueryParametersQueryExpansionExplodeClient": "Routes.QueryParameters.QueryExpansion.Explode", "routes.QueryParametersQueryExpansionExplodeClient.array": "Routes.QueryParameters.QueryExpansion.Explode.array", "routes.QueryParametersQueryExpansionExplodeClient.arrayWithResponse": "Routes.QueryParameters.QueryExpansion.Explode.array", "routes.QueryParametersQueryExpansionExplodeClient.primitive": "Routes.QueryParameters.QueryExpansion.Explode.primitive", "routes.QueryParametersQueryExpansionExplodeClient.primitiveWithResponse": "Routes.QueryParameters.QueryExpansion.Explode.primitive", "routes.QueryParametersQueryExpansionExplodeClient.record": "Routes.QueryParameters.QueryExpansion.Explode.record", "routes.QueryParametersQueryExpansionExplodeClient.recordWithResponse": "Routes.QueryParameters.QueryExpansion.Explode.record", - "routes.QueryParametersQueryExpansionStandardAsyncClient": "null", + "routes.QueryParametersQueryExpansionStandardAsyncClient": "Routes.QueryParameters.QueryExpansion.Standard", "routes.QueryParametersQueryExpansionStandardAsyncClient.array": "Routes.QueryParameters.QueryExpansion.Standard.array", "routes.QueryParametersQueryExpansionStandardAsyncClient.arrayWithResponse": "Routes.QueryParameters.QueryExpansion.Standard.array", "routes.QueryParametersQueryExpansionStandardAsyncClient.primitive": "Routes.QueryParameters.QueryExpansion.Standard.primitive", "routes.QueryParametersQueryExpansionStandardAsyncClient.primitiveWithResponse": "Routes.QueryParameters.QueryExpansion.Standard.primitive", "routes.QueryParametersQueryExpansionStandardAsyncClient.record": "Routes.QueryParameters.QueryExpansion.Standard.record", "routes.QueryParametersQueryExpansionStandardAsyncClient.recordWithResponse": "Routes.QueryParameters.QueryExpansion.Standard.record", - "routes.QueryParametersQueryExpansionStandardClient": "null", + "routes.QueryParametersQueryExpansionStandardClient": "Routes.QueryParameters.QueryExpansion.Standard", "routes.QueryParametersQueryExpansionStandardClient.array": "Routes.QueryParameters.QueryExpansion.Standard.array", "routes.QueryParametersQueryExpansionStandardClient.arrayWithResponse": "Routes.QueryParameters.QueryExpansion.Standard.array", "routes.QueryParametersQueryExpansionStandardClient.primitive": "Routes.QueryParameters.QueryExpansion.Standard.primitive", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/serialization-encodedname-json_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/serialization-encodedname-json_apiview_properties.json index 662d1fa390..92d2b38580 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/serialization-encodedname-json_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/serialization-encodedname-json_apiview_properties.json @@ -1,12 +1,12 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "serialization.encodedname.json.JsonAsyncClient": "null", + "serialization.encodedname.json.JsonAsyncClient": "Serialization.EncodedName.Json.Property", "serialization.encodedname.json.JsonAsyncClient.get": "Serialization.EncodedName.Json.Property.get", "serialization.encodedname.json.JsonAsyncClient.getWithResponse": "Serialization.EncodedName.Json.Property.get", "serialization.encodedname.json.JsonAsyncClient.send": "Serialization.EncodedName.Json.Property.send", "serialization.encodedname.json.JsonAsyncClient.sendWithResponse": "Serialization.EncodedName.Json.Property.send", - "serialization.encodedname.json.JsonClient": "null", + "serialization.encodedname.json.JsonClient": "Serialization.EncodedName.Json.Property", "serialization.encodedname.json.JsonClient.get": "Serialization.EncodedName.Json.Property.get", "serialization.encodedname.json.JsonClient.getWithResponse": "Serialization.EncodedName.Json.Property.get", "serialization.encodedname.json.JsonClient.send": "Serialization.EncodedName.Json.Property.send", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/specialwords_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/specialwords_apiview_properties.json index add4824079..b90bd80766 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/specialwords_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/specialwords_apiview_properties.json @@ -1,13 +1,13 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "specialwords.ModelPropertiesAsyncClient": "null", + "specialwords.ModelPropertiesAsyncClient": "SpecialWords.ModelProperties", "specialwords.ModelPropertiesAsyncClient.sameAsModel": "SpecialWords.ModelProperties.sameAsModel", "specialwords.ModelPropertiesAsyncClient.sameAsModelWithResponse": "SpecialWords.ModelProperties.sameAsModel", - "specialwords.ModelPropertiesClient": "null", + "specialwords.ModelPropertiesClient": "SpecialWords.ModelProperties", "specialwords.ModelPropertiesClient.sameAsModel": "SpecialWords.ModelProperties.sameAsModel", "specialwords.ModelPropertiesClient.sameAsModelWithResponse": "SpecialWords.ModelProperties.sameAsModel", - "specialwords.ModelsAsyncClient": "null", + "specialwords.ModelsAsyncClient": "SpecialWords.Models", "specialwords.ModelsAsyncClient.withAnd": "SpecialWords.Models.withAnd", "specialwords.ModelsAsyncClient.withAndWithResponse": "SpecialWords.Models.withAnd", "specialwords.ModelsAsyncClient.withAs": "SpecialWords.Models.withAs", @@ -73,7 +73,7 @@ "specialwords.ModelsAsyncClient.withWithWithResponse": "SpecialWords.Models.withWith", "specialwords.ModelsAsyncClient.withYield": "SpecialWords.Models.withYield", "specialwords.ModelsAsyncClient.withYieldWithResponse": "SpecialWords.Models.withYield", - "specialwords.ModelsClient": "null", + "specialwords.ModelsClient": "SpecialWords.Models", "specialwords.ModelsClient.withAnd": "SpecialWords.Models.withAnd", "specialwords.ModelsClient.withAndWithResponse": "SpecialWords.Models.withAnd", "specialwords.ModelsClient.withAs": "SpecialWords.Models.withAs", @@ -139,7 +139,7 @@ "specialwords.ModelsClient.withWithWithResponse": "SpecialWords.Models.withWith", "specialwords.ModelsClient.withYield": "SpecialWords.Models.withYield", "specialwords.ModelsClient.withYieldWithResponse": "SpecialWords.Models.withYield", - "specialwords.OperationsAsyncClient": "null", + "specialwords.OperationsAsyncClient": "SpecialWords.Operations", "specialwords.OperationsAsyncClient.and": "SpecialWords.Operations.and", "specialwords.OperationsAsyncClient.andWithResponse": "SpecialWords.Operations.and", "specialwords.OperationsAsyncClient.as": "SpecialWords.Operations.as", @@ -206,7 +206,7 @@ "specialwords.OperationsAsyncClient.withWithResponse": "SpecialWords.Operations.with", "specialwords.OperationsAsyncClient.yield": "SpecialWords.Operations.yield", "specialwords.OperationsAsyncClient.yieldWithResponse": "SpecialWords.Operations.yield", - "specialwords.OperationsClient": "null", + "specialwords.OperationsClient": "SpecialWords.Operations", "specialwords.OperationsClient.and": "SpecialWords.Operations.and", "specialwords.OperationsClient.andWithResponse": "SpecialWords.Operations.and", "specialwords.OperationsClient.as": "SpecialWords.Operations.as", @@ -273,7 +273,7 @@ "specialwords.OperationsClient.withWithResponse": "SpecialWords.Operations.with", "specialwords.OperationsClient.yield": "SpecialWords.Operations.yield", "specialwords.OperationsClient.yieldWithResponse": "SpecialWords.Operations.yield", - "specialwords.ParametersAsyncClient": "null", + "specialwords.ParametersAsyncClient": "SpecialWords.Parameters", "specialwords.ParametersAsyncClient.withAnd": "SpecialWords.Parameters.withAnd", "specialwords.ParametersAsyncClient.withAndWithResponse": "SpecialWords.Parameters.withAnd", "specialwords.ParametersAsyncClient.withAs": "SpecialWords.Parameters.withAs", @@ -341,7 +341,7 @@ "specialwords.ParametersAsyncClient.withWithWithResponse": "SpecialWords.Parameters.withWith", "specialwords.ParametersAsyncClient.withYield": "SpecialWords.Parameters.withYield", "specialwords.ParametersAsyncClient.withYieldWithResponse": "SpecialWords.Parameters.withYield", - "specialwords.ParametersClient": "null", + "specialwords.ParametersClient": "SpecialWords.Parameters", "specialwords.ParametersClient.withAnd": "SpecialWords.Parameters.withAnd", "specialwords.ParametersClient.withAndWithResponse": "SpecialWords.Parameters.withAnd", "specialwords.ParametersClient.withAs": "SpecialWords.Parameters.withAs", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-builtin_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-builtin_apiview_properties.json index b76ef08c96..8862773b53 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-builtin_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-builtin_apiview_properties.json @@ -1,10 +1,10 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.builtin.BuiltinAsyncClient": "null", + "tsptest.builtin.BuiltinAsyncClient": "TspTest.Builtin.BuiltinOp", "tsptest.builtin.BuiltinAsyncClient.read": "TspTest.Builtin.BuiltinOp.read", "tsptest.builtin.BuiltinAsyncClient.readWithResponse": "TspTest.Builtin.BuiltinOp.read", - "tsptest.builtin.BuiltinClient": "null", + "tsptest.builtin.BuiltinClient": "TspTest.Builtin.BuiltinOp", "tsptest.builtin.BuiltinClient.read": "TspTest.Builtin.BuiltinOp.read", "tsptest.builtin.BuiltinClient.readWithResponse": "TspTest.Builtin.BuiltinOp.read", "tsptest.builtin.BuiltinClientBuilder": "TspTest.Builtin", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-errormodel_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-errormodel_apiview_properties.json index 6fb6f52c00..47e57e02d4 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-errormodel_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-errormodel_apiview_properties.json @@ -1,10 +1,10 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.errormodel.ErrorModelAsyncClient": "null", + "tsptest.errormodel.ErrorModelAsyncClient": "TspTest.ErrorModel.ErrorOp", "tsptest.errormodel.ErrorModelAsyncClient.read": "TspTest.ErrorModel.ErrorOp.read", "tsptest.errormodel.ErrorModelAsyncClient.readWithResponse": "TspTest.ErrorModel.ErrorOp.read", - "tsptest.errormodel.ErrorModelClient": "null", + "tsptest.errormodel.ErrorModelClient": "TspTest.ErrorModel.ErrorOp", "tsptest.errormodel.ErrorModelClient.read": "TspTest.ErrorModel.ErrorOp.read", "tsptest.errormodel.ErrorModelClient.readWithResponse": "TspTest.ErrorModel.ErrorOp.read", "tsptest.errormodel.ErrorModelClientBuilder": "TspTest.ErrorModel", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-flatten_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-flatten_apiview_properties.json index 37a90f709b..8df52084a7 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-flatten_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-flatten_apiview_properties.json @@ -33,14 +33,14 @@ "tsptest.flatten.implementation.models.SendRequest": "send.Request.anonymous", "tsptest.flatten.implementation.models.UploadFileRequest": "uploadFile.Request.anonymous", "tsptest.flatten.implementation.models.UploadTodoRequest": "uploadTodo.Request.anonymous", - "tsptest.flatten.models.FileDataFileDetails": "null", - "tsptest.flatten.models.SendLongOptions": "null", + "tsptest.flatten.models.FileDataFileDetails": null, + "tsptest.flatten.models.SendLongOptions": null, "tsptest.flatten.models.SendLongRequestStatus": "sendLong.Request.status.anonymous", "tsptest.flatten.models.TodoItem": "TspTest.Flatten.TodoItem", "tsptest.flatten.models.TodoItemPatch": "TspTest.Flatten.TodoItemPatch", "tsptest.flatten.models.TodoItemPatchStatus": "TodoItemPatch.status.anonymous", "tsptest.flatten.models.UpdatePatchRequest": "update.Request.anonymous", - "tsptest.flatten.models.UploadTodoOptions": "null", + "tsptest.flatten.models.UploadTodoOptions": null, "tsptest.flatten.models.User": "TspTest.Flatten.User" } } diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-internal_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-internal_apiview_properties.json index 2841432498..0f72102f87 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-internal_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-internal_apiview_properties.json @@ -1,12 +1,12 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.internal.InternalAsyncClient": "null", + "tsptest.internal.InternalAsyncClient": "TspTest.Internal.InternalOp", "tsptest.internal.InternalAsyncClient.getInternal": "TspTest.Internal.InternalOp.getInternal", "tsptest.internal.InternalAsyncClient.getInternalWithResponse": "TspTest.Internal.InternalOp.getInternal", "tsptest.internal.InternalAsyncClient.postInternal": "TspTest.Internal.InternalOp.postInternal", "tsptest.internal.InternalAsyncClient.postInternalWithResponse": "TspTest.Internal.InternalOp.postInternal", - "tsptest.internal.InternalClient": "null", + "tsptest.internal.InternalClient": "TspTest.Internal.InternalOp", "tsptest.internal.InternalClient.getInternal": "TspTest.Internal.InternalOp.getInternal", "tsptest.internal.InternalClient.getInternalWithResponse": "TspTest.Internal.InternalOp.getInternal", "tsptest.internal.InternalClient.postInternal": "TspTest.Internal.InternalOp.postInternal", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-literalservice_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-literalservice_apiview_properties.json index 90dfd8c70a..70163b04f0 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-literalservice_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-literalservice_apiview_properties.json @@ -1,15 +1,15 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.literalservice.LiteralServiceAsyncClient": "null", + "tsptest.literalservice.LiteralServiceAsyncClient": "TspTest.LiteralService.LiteralOp", "tsptest.literalservice.LiteralServiceAsyncClient.put": "TspTest.LiteralService.LiteralOp.put", "tsptest.literalservice.LiteralServiceAsyncClient.putWithResponse": "TspTest.LiteralService.LiteralOp.put", - "tsptest.literalservice.LiteralServiceClient": "null", + "tsptest.literalservice.LiteralServiceClient": "TspTest.LiteralService.LiteralOp", "tsptest.literalservice.LiteralServiceClient.put": "TspTest.LiteralService.LiteralOp.put", "tsptest.literalservice.LiteralServiceClient.putWithResponse": "TspTest.LiteralService.LiteralOp.put", "tsptest.literalservice.LiteralServiceClientBuilder": "TspTest.LiteralService", "tsptest.literalservice.models.Model": "TspTest.LiteralService.Model", - "tsptest.literalservice.models.ModelOptionalLiteral": "null", - "tsptest.literalservice.models.PutRequestOptionalLiteralParam": "null" + "tsptest.literalservice.models.ModelOptionalLiteral": null, + "tsptest.literalservice.models.PutRequestOptionalLiteralParam": null } } diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-model_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-model_apiview_properties.json index c0535d2cea..4e61494580 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-model_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-model_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.model.ModelAsyncClient": "null", + "tsptest.model.ModelAsyncClient": "TspTest.Model.ModelOp", "tsptest.model.ModelAsyncClient.get3": "TspTest.Model.ModelOp.get3", "tsptest.model.ModelAsyncClient.get3WithResponse": "TspTest.Model.ModelOp.get3", "tsptest.model.ModelAsyncClient.put1": "TspTest.Model.ModelOp.put1", @@ -10,7 +10,7 @@ "tsptest.model.ModelAsyncClient.put2WithResponse": "TspTest.Model.ModelOp.put2", "tsptest.model.ModelAsyncClient.putNested": "TspTest.Model.ModelOp.putNested", "tsptest.model.ModelAsyncClient.putNestedWithResponse": "TspTest.Model.ModelOp.putNested", - "tsptest.model.ModelClient": "null", + "tsptest.model.ModelClient": "TspTest.Model.ModelOp", "tsptest.model.ModelClient.get3": "TspTest.Model.ModelOp.get3", "tsptest.model.ModelClient.get3WithResponse": "TspTest.Model.ModelOp.get3", "tsptest.model.ModelClient.put1": "TspTest.Model.ModelOp.put1", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multicontenttypes_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multicontenttypes_apiview_properties.json index a7017f2d74..e22e3a1a0a 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multicontenttypes_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multicontenttypes_apiview_properties.json @@ -4,18 +4,18 @@ "tsptest.multicontenttypes.MultiContentTypesAsyncClient": "TspTest.MultiContentTypes", "tsptest.multicontenttypes.MultiContentTypesClient": "TspTest.MultiContentTypes", "tsptest.multicontenttypes.MultiContentTypesClientBuilder": "TspTest.MultiContentTypes", - "tsptest.multicontenttypes.MultipleContentTypesOnRequestAsyncClient": "null", + "tsptest.multicontenttypes.MultipleContentTypesOnRequestAsyncClient": "TspTest.MultiContentTypes.MultipleContentTypesOnRequest", "tsptest.multicontenttypes.MultipleContentTypesOnRequestAsyncClient.uploadJsonWithMultiBodyTypesForMultiContentTypes": "TspTest.MultiContentTypes.MultipleContentTypesOnRequest.uploadJsonWithMultiBodyTypesForMultiContentTypes", "tsptest.multicontenttypes.MultipleContentTypesOnRequestAsyncClient.uploadJsonWithMultiBodyTypesForMultiContentTypesWithResponse": "TspTest.MultiContentTypes.MultipleContentTypesOnRequest.uploadJsonWithMultiBodyTypesForMultiContentTypes", - "tsptest.multicontenttypes.MultipleContentTypesOnRequestClient": "null", + "tsptest.multicontenttypes.MultipleContentTypesOnRequestClient": "TspTest.MultiContentTypes.MultipleContentTypesOnRequest", "tsptest.multicontenttypes.MultipleContentTypesOnRequestClient.uploadJsonWithMultiBodyTypesForMultiContentTypes": "TspTest.MultiContentTypes.MultipleContentTypesOnRequest.uploadJsonWithMultiBodyTypesForMultiContentTypes", "tsptest.multicontenttypes.MultipleContentTypesOnRequestClient.uploadJsonWithMultiBodyTypesForMultiContentTypesWithResponse": "TspTest.MultiContentTypes.MultipleContentTypesOnRequest.uploadJsonWithMultiBodyTypesForMultiContentTypes", - "tsptest.multicontenttypes.SingleContentTypeAsyncClient": "null", + "tsptest.multicontenttypes.SingleContentTypeAsyncClient": "TspTest.MultiContentTypes.SingleContentType", "tsptest.multicontenttypes.SingleContentTypeAsyncClient.downloadImageForSingleContentType": "TspTest.MultiContentTypes.SingleContentType.downloadImageForSingleContentType", "tsptest.multicontenttypes.SingleContentTypeAsyncClient.downloadImageForSingleContentTypeWithResponse": "TspTest.MultiContentTypes.SingleContentType.downloadImageForSingleContentType", "tsptest.multicontenttypes.SingleContentTypeAsyncClient.uploadImageForSingleContentType": "TspTest.MultiContentTypes.SingleContentType.uploadImageForSingleContentType", "tsptest.multicontenttypes.SingleContentTypeAsyncClient.uploadImageForSingleContentTypeWithResponse": "TspTest.MultiContentTypes.SingleContentType.uploadImageForSingleContentType", - "tsptest.multicontenttypes.SingleContentTypeClient": "null", + "tsptest.multicontenttypes.SingleContentTypeClient": "TspTest.MultiContentTypes.SingleContentType", "tsptest.multicontenttypes.SingleContentTypeClient.downloadImageForSingleContentType": "TspTest.MultiContentTypes.SingleContentType.downloadImageForSingleContentType", "tsptest.multicontenttypes.SingleContentTypeClient.downloadImageForSingleContentTypeWithResponse": "TspTest.MultiContentTypes.SingleContentType.downloadImageForSingleContentType", "tsptest.multicontenttypes.SingleContentTypeClient.uploadImageForSingleContentType": "TspTest.MultiContentTypes.SingleContentType.uploadImageForSingleContentType", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multipart_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multipart_apiview_properties.json index 89ec85bba0..80c378ecf4 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multipart_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-multipart_apiview_properties.json @@ -12,10 +12,10 @@ "tsptest.multipart.MultipartClient.uploadHttpPartWithResponse": "TspTest.Multipart.uploadHttpPart", "tsptest.multipart.MultipartClient.uploadWithResponse": "TspTest.Multipart.upload", "tsptest.multipart.MultipartClientBuilder": "TspTest.Multipart", - "tsptest.multipart.models.FileDataFileDetails": "null", + "tsptest.multipart.models.FileDataFileDetails": null, "tsptest.multipart.models.FileDetails": "TypeSpec.Http.File", "tsptest.multipart.models.FormData": "TspTest.Multipart.FormData", - "tsptest.multipart.models.ImageFileDetails": "null", + "tsptest.multipart.models.ImageFileDetails": null, "tsptest.multipart.models.ImageType": "TspTest.Multipart.ImageType", "tsptest.multipart.models.InheritFileData": "TspTest.Multipart.Inherit2File", "tsptest.multipart.models.Size": "TspTest.Multipart.Size", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-naming_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-naming_apiview_properties.json index e2b65c3a18..9490c7d875 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-naming_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-naming_apiview_properties.json @@ -1,12 +1,12 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.naming.NamingAsyncClient": "null", + "tsptest.naming.NamingAsyncClient": "TspTest.Naming.NamingOp", "tsptest.naming.NamingAsyncClient.getAnonymous": "TspTest.Naming.NamingOp.getAnonymous", "tsptest.naming.NamingAsyncClient.getAnonymousWithResponse": "TspTest.Naming.NamingOp.getAnonymous", "tsptest.naming.NamingAsyncClient.post": "TspTest.Naming.NamingOp.post", "tsptest.naming.NamingAsyncClient.postWithResponse": "TspTest.Naming.NamingOp.post", - "tsptest.naming.NamingClient": "null", + "tsptest.naming.NamingClient": "TspTest.Naming.NamingOp", "tsptest.naming.NamingClient.getAnonymous": "TspTest.Naming.NamingOp.getAnonymous", "tsptest.naming.NamingClient.getAnonymousWithResponse": "TspTest.Naming.NamingOp.getAnonymous", "tsptest.naming.NamingClient.post": "TspTest.Naming.NamingOp.post", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-optional_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-optional_apiview_properties.json index a5a569cd63..41b50abc02 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-optional_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-optional_apiview_properties.json @@ -1,10 +1,10 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.optional.OptionalAsyncClient": "null", + "tsptest.optional.OptionalAsyncClient": "TspTest.Optional.OptionalOp", "tsptest.optional.OptionalAsyncClient.put": "TspTest.Optional.OptionalOp.put", "tsptest.optional.OptionalAsyncClient.putWithResponse": "TspTest.Optional.OptionalOp.put", - "tsptest.optional.OptionalClient": "null", + "tsptest.optional.OptionalClient": "TspTest.Optional.OptionalOp", "tsptest.optional.OptionalClient.put": "TspTest.Optional.OptionalOp.put", "tsptest.optional.OptionalClient.putWithResponse": "TspTest.Optional.OptionalOp.put", "tsptest.optional.OptionalClientBuilder": "TspTest.Optional", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-patch_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-patch_apiview_properties.json index 89c0414880..46ef8a4dcc 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-patch_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-patch_apiview_properties.json @@ -1,14 +1,14 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.patch.PatchAsyncClient": "null", + "tsptest.patch.PatchAsyncClient": "TspTest.Patch.Patch", "tsptest.patch.PatchAsyncClient.createOrUpdateFish": "TspTest.Patch.Patch.createOrUpdateFish", "tsptest.patch.PatchAsyncClient.createOrUpdateFishWithResponse": "TspTest.Patch.Patch.createOrUpdateFish", "tsptest.patch.PatchAsyncClient.createOrUpdateOptionalResource": "TspTest.Patch.Patch.createOrUpdateOptionalResource", "tsptest.patch.PatchAsyncClient.createOrUpdateOptionalResourceWithResponse": "TspTest.Patch.Patch.createOrUpdateOptionalResource", "tsptest.patch.PatchAsyncClient.createOrUpdateResource": "TspTest.Patch.Patch.createOrUpdateResource", "tsptest.patch.PatchAsyncClient.createOrUpdateResourceWithResponse": "TspTest.Patch.Patch.createOrUpdateResource", - "tsptest.patch.PatchClient": "null", + "tsptest.patch.PatchClient": "TspTest.Patch.Patch", "tsptest.patch.PatchClient.createOrUpdateFish": "TspTest.Patch.Patch.createOrUpdateFish", "tsptest.patch.PatchClient.createOrUpdateFishWithResponse": "TspTest.Patch.Patch.createOrUpdateFish", "tsptest.patch.PatchClient.createOrUpdateOptionalResource": "TspTest.Patch.Patch.createOrUpdateOptionalResource", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-protocolandconvenient_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-protocolandconvenient_apiview_properties.json index f13b8ce57b..27d8b6340d 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-protocolandconvenient_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-protocolandconvenient_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient": "null", + "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp", "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient.beginCreateOrReplace": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.createOrReplace", "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient.beginCreateOrReplaceWithModel": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.createOrReplace", "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient.bothConvenientAndProtocol": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.bothConvenientAndProtocol", @@ -9,7 +9,7 @@ "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient.list": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.list", "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient.onlyConvenient": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.onlyConvenient", "tsptest.protocolandconvenient.ProtocolAndConvenientAsyncClient.onlyConvenientWithResponse": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.onlyConvenient", - "tsptest.protocolandconvenient.ProtocolAndConvenientClient": "null", + "tsptest.protocolandconvenient.ProtocolAndConvenientClient": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp", "tsptest.protocolandconvenient.ProtocolAndConvenientClient.beginCreateOrReplace": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.createOrReplace", "tsptest.protocolandconvenient.ProtocolAndConvenientClient.beginCreateOrReplaceWithModel": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.createOrReplace", "tsptest.protocolandconvenient.ProtocolAndConvenientClient.bothConvenientAndProtocol": "TspTest.ProtocolAndConvenient.ProtocolAndConvenienceOp.bothConvenientAndProtocol", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialchars_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialchars_apiview_properties.json index 2d405fc07f..466eacde75 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialchars_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialchars_apiview_properties.json @@ -1,10 +1,10 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.specialchars.SpecialCharsAsyncClient": "null", + "tsptest.specialchars.SpecialCharsAsyncClient": "TspTest.SpecialChars.BuiltinOp", "tsptest.specialchars.SpecialCharsAsyncClient.read": "TspTest.SpecialChars.BuiltinOp.read", "tsptest.specialchars.SpecialCharsAsyncClient.readWithResponse": "TspTest.SpecialChars.BuiltinOp.read", - "tsptest.specialchars.SpecialCharsClient": "null", + "tsptest.specialchars.SpecialCharsClient": "TspTest.SpecialChars.BuiltinOp", "tsptest.specialchars.SpecialCharsClient.read": "TspTest.SpecialChars.BuiltinOp.read", "tsptest.specialchars.SpecialCharsClient.readWithResponse": "TspTest.SpecialChars.BuiltinOp.read", "tsptest.specialchars.SpecialCharsClientBuilder": "TspTest.SpecialChars", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialheaders_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialheaders_apiview_properties.json index 767ad33240..7b25f95aa3 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialheaders_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-specialheaders_apiview_properties.json @@ -1,25 +1,25 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.specialheaders.EtagHeadersAsyncClient": "null", + "tsptest.specialheaders.EtagHeadersAsyncClient": "TspTest.SpecialHeaders.EtagHeaders", "tsptest.specialheaders.EtagHeadersAsyncClient.listWithEtag": "TspTest.SpecialHeaders.EtagHeaders.listWithEtag", "tsptest.specialheaders.EtagHeadersAsyncClient.patchWithMatchHeaders": "TspTest.SpecialHeaders.EtagHeaders.patchWithMatchHeaders", "tsptest.specialheaders.EtagHeadersAsyncClient.patchWithMatchHeadersWithResponse": "TspTest.SpecialHeaders.EtagHeaders.patchWithMatchHeaders", "tsptest.specialheaders.EtagHeadersAsyncClient.putWithRequestHeaders": "TspTest.SpecialHeaders.EtagHeaders.putWithRequestHeaders", "tsptest.specialheaders.EtagHeadersAsyncClient.putWithRequestHeadersWithResponse": "TspTest.SpecialHeaders.EtagHeaders.putWithRequestHeaders", - "tsptest.specialheaders.EtagHeadersClient": "null", + "tsptest.specialheaders.EtagHeadersClient": "TspTest.SpecialHeaders.EtagHeaders", "tsptest.specialheaders.EtagHeadersClient.listWithEtag": "TspTest.SpecialHeaders.EtagHeaders.listWithEtag", "tsptest.specialheaders.EtagHeadersClient.patchWithMatchHeaders": "TspTest.SpecialHeaders.EtagHeaders.patchWithMatchHeaders", "tsptest.specialheaders.EtagHeadersClient.patchWithMatchHeadersWithResponse": "TspTest.SpecialHeaders.EtagHeaders.patchWithMatchHeaders", "tsptest.specialheaders.EtagHeadersClient.putWithRequestHeaders": "TspTest.SpecialHeaders.EtagHeaders.putWithRequestHeaders", "tsptest.specialheaders.EtagHeadersClient.putWithRequestHeadersWithResponse": "TspTest.SpecialHeaders.EtagHeaders.putWithRequestHeaders", - "tsptest.specialheaders.EtagHeadersOptionalBodyAsyncClient": "null", + "tsptest.specialheaders.EtagHeadersOptionalBodyAsyncClient": "TspTest.SpecialHeaders.EtagHeadersOptionalBody", "tsptest.specialheaders.EtagHeadersOptionalBodyAsyncClient.putWithOptionalBody": "TspTest.SpecialHeaders.EtagHeadersOptionalBody.putWithOptionalBody", "tsptest.specialheaders.EtagHeadersOptionalBodyAsyncClient.putWithOptionalBodyWithResponse": "TspTest.SpecialHeaders.EtagHeadersOptionalBody.putWithOptionalBody", - "tsptest.specialheaders.EtagHeadersOptionalBodyClient": "null", + "tsptest.specialheaders.EtagHeadersOptionalBodyClient": "TspTest.SpecialHeaders.EtagHeadersOptionalBody", "tsptest.specialheaders.EtagHeadersOptionalBodyClient.putWithOptionalBody": "TspTest.SpecialHeaders.EtagHeadersOptionalBody.putWithOptionalBody", "tsptest.specialheaders.EtagHeadersOptionalBodyClient.putWithOptionalBodyWithResponse": "TspTest.SpecialHeaders.EtagHeadersOptionalBody.putWithOptionalBody", - "tsptest.specialheaders.RepeatabilityHeadersAsyncClient": "null", + "tsptest.specialheaders.RepeatabilityHeadersAsyncClient": "TspTest.SpecialHeaders.RepeatabilityHeaders", "tsptest.specialheaders.RepeatabilityHeadersAsyncClient.beginCreateLro": "TspTest.SpecialHeaders.RepeatabilityHeaders.createLro", "tsptest.specialheaders.RepeatabilityHeadersAsyncClient.beginCreateLroWithModel": "TspTest.SpecialHeaders.RepeatabilityHeaders.createLro", "tsptest.specialheaders.RepeatabilityHeadersAsyncClient.get": "TspTest.SpecialHeaders.RepeatabilityHeaders.get", @@ -28,7 +28,7 @@ "tsptest.specialheaders.RepeatabilityHeadersAsyncClient.postWithResponse": "TspTest.SpecialHeaders.RepeatabilityHeaders.post", "tsptest.specialheaders.RepeatabilityHeadersAsyncClient.put": "TspTest.SpecialHeaders.RepeatabilityHeaders.put", "tsptest.specialheaders.RepeatabilityHeadersAsyncClient.putWithResponse": "TspTest.SpecialHeaders.RepeatabilityHeaders.put", - "tsptest.specialheaders.RepeatabilityHeadersClient": "null", + "tsptest.specialheaders.RepeatabilityHeadersClient": "TspTest.SpecialHeaders.RepeatabilityHeaders", "tsptest.specialheaders.RepeatabilityHeadersClient.beginCreateLro": "TspTest.SpecialHeaders.RepeatabilityHeaders.createLro", "tsptest.specialheaders.RepeatabilityHeadersClient.beginCreateLroWithModel": "TspTest.SpecialHeaders.RepeatabilityHeaders.createLro", "tsptest.specialheaders.RepeatabilityHeadersClient.get": "TspTest.SpecialHeaders.RepeatabilityHeaders.get", @@ -37,10 +37,10 @@ "tsptest.specialheaders.RepeatabilityHeadersClient.postWithResponse": "TspTest.SpecialHeaders.RepeatabilityHeaders.post", "tsptest.specialheaders.RepeatabilityHeadersClient.put": "TspTest.SpecialHeaders.RepeatabilityHeaders.put", "tsptest.specialheaders.RepeatabilityHeadersClient.putWithResponse": "TspTest.SpecialHeaders.RepeatabilityHeaders.put", - "tsptest.specialheaders.SkipSpecialHeadersAsyncClient": "null", + "tsptest.specialheaders.SkipSpecialHeadersAsyncClient": "TspTest.SpecialHeaders.SkipSpecialHeaders", "tsptest.specialheaders.SkipSpecialHeadersAsyncClient.deleteWithSpecialHeaders": "TspTest.SpecialHeaders.SkipSpecialHeaders.deleteWithSpecialHeaders", "tsptest.specialheaders.SkipSpecialHeadersAsyncClient.deleteWithSpecialHeadersWithResponse": "TspTest.SpecialHeaders.SkipSpecialHeaders.deleteWithSpecialHeaders", - "tsptest.specialheaders.SkipSpecialHeadersClient": "null", + "tsptest.specialheaders.SkipSpecialHeadersClient": "TspTest.SpecialHeaders.SkipSpecialHeaders", "tsptest.specialheaders.SkipSpecialHeadersClient.deleteWithSpecialHeaders": "TspTest.SpecialHeaders.SkipSpecialHeaders.deleteWithSpecialHeaders", "tsptest.specialheaders.SkipSpecialHeadersClient.deleteWithSpecialHeadersWithResponse": "TspTest.SpecialHeaders.SkipSpecialHeaders.deleteWithSpecialHeaders", "tsptest.specialheaders.SpecialHeadersClientBuilder": "TspTest.SpecialHeaders", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-union_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-union_apiview_properties.json index 64b22903bc..d98efd8719 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-union_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-union_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.union.UnionAsyncClient": "null", + "tsptest.union.UnionAsyncClient": "TspTest.Union.UnionFlattenOp", "tsptest.union.UnionAsyncClient.beginGenerate": "TspTest.Union.UnionFlattenOp.generate", "tsptest.union.UnionAsyncClient.beginGenerateWithModel": "TspTest.Union.UnionFlattenOp.generate", "tsptest.union.UnionAsyncClient.get": "TspTest.Union.UnionFlattenOp.get", @@ -10,7 +10,7 @@ "tsptest.union.UnionAsyncClient.sendLong": "TspTest.Union.UnionFlattenOp.sendLong", "tsptest.union.UnionAsyncClient.sendLongWithResponse": "TspTest.Union.UnionFlattenOp.sendLong", "tsptest.union.UnionAsyncClient.sendWithResponse": "TspTest.Union.UnionFlattenOp.send", - "tsptest.union.UnionClient": "null", + "tsptest.union.UnionClient": "TspTest.Union.UnionFlattenOp", "tsptest.union.UnionClient.beginGenerate": "TspTest.Union.UnionFlattenOp.generate", "tsptest.union.UnionClient.beginGenerateWithModel": "TspTest.Union.UnionFlattenOp.generate", "tsptest.union.UnionClient.get": "TspTest.Union.UnionFlattenOp.get", @@ -25,7 +25,7 @@ "tsptest.union.implementation.models.SubResult": "TspTest.Union.SubResult", "tsptest.union.models.ArrayData": "TspTest.Union.ArrayData", "tsptest.union.models.Result": "TspTest.Union.Result", - "tsptest.union.models.SendLongOptions": "null", + "tsptest.union.models.SendLongOptions": null, "tsptest.union.models.User": "TspTest.Union.User" } } diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-versioning_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-versioning_apiview_properties.json index b8e5a5cff3..04355f40b2 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-versioning_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-versioning_apiview_properties.json @@ -1,13 +1,13 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.versioning.VersioningAsyncClient": "null", + "tsptest.versioning.VersioningAsyncClient": "TspTest.Versioning.VersioningOp", "tsptest.versioning.VersioningAsyncClient.beginCreateLongRunning": "TspTest.Versioning.VersioningOp.createLongRunning", "tsptest.versioning.VersioningAsyncClient.beginCreateLongRunningWithModel": "TspTest.Versioning.VersioningOp.createLongRunning", "tsptest.versioning.VersioningAsyncClient.beginExport": "TspTest.Versioning.VersioningOp.export", "tsptest.versioning.VersioningAsyncClient.beginExportWithModel": "TspTest.Versioning.VersioningOp.export", "tsptest.versioning.VersioningAsyncClient.list": "TspTest.Versioning.VersioningOp.list", - "tsptest.versioning.VersioningClient": "null", + "tsptest.versioning.VersioningClient": "TspTest.Versioning.VersioningOp", "tsptest.versioning.VersioningClient.beginCreateLongRunning": "TspTest.Versioning.VersioningOp.createLongRunning", "tsptest.versioning.VersioningClient.beginCreateLongRunningWithModel": "TspTest.Versioning.VersioningOp.createLongRunning", "tsptest.versioning.VersioningClient.beginExport": "TspTest.Versioning.VersioningOp.export", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-visibility_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-visibility_apiview_properties.json index 021ba1ef7b..ded2032de8 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-visibility_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-visibility_apiview_properties.json @@ -20,16 +20,16 @@ "tsptest.visibility.VisibilityClient.roundtrip": "TspTest.Visibility.VisibilityOp.roundtrip", "tsptest.visibility.VisibilityClient.roundtripWithResponse": "TspTest.Visibility.VisibilityOp.roundtrip", "tsptest.visibility.VisibilityClientBuilder": "TspTest.Visibility", - "tsptest.visibility.VisibilityReadAsyncClient": "null", + "tsptest.visibility.VisibilityReadAsyncClient": "TspTest.Visibility.VisibilityRead", "tsptest.visibility.VisibilityReadAsyncClient.get": "TspTest.Visibility.VisibilityRead.get", "tsptest.visibility.VisibilityReadAsyncClient.getWithResponse": "TspTest.Visibility.VisibilityRead.get", - "tsptest.visibility.VisibilityReadClient": "null", + "tsptest.visibility.VisibilityReadClient": "TspTest.Visibility.VisibilityRead", "tsptest.visibility.VisibilityReadClient.get": "TspTest.Visibility.VisibilityRead.get", "tsptest.visibility.VisibilityReadClient.getWithResponse": "TspTest.Visibility.VisibilityRead.get", - "tsptest.visibility.VisibilityWriteAsyncClient": "null", + "tsptest.visibility.VisibilityWriteAsyncClient": "TspTest.Visibility.VisibilityWrite", "tsptest.visibility.VisibilityWriteAsyncClient.create": "TspTest.Visibility.VisibilityWrite.create", "tsptest.visibility.VisibilityWriteAsyncClient.createWithResponse": "TspTest.Visibility.VisibilityWrite.create", - "tsptest.visibility.VisibilityWriteClient": "null", + "tsptest.visibility.VisibilityWriteClient": "TspTest.Visibility.VisibilityWrite", "tsptest.visibility.VisibilityWriteClient.create": "TspTest.Visibility.VisibilityWrite.create", "tsptest.visibility.VisibilityWriteClient.createWithResponse": "TspTest.Visibility.VisibilityWrite.create", "tsptest.visibility.models.Dog": "TspTest.Visibility.Dog", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-wiretype_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-wiretype_apiview_properties.json index dc288715ee..0571576107 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-wiretype_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/tsptest-wiretype_apiview_properties.json @@ -1,14 +1,14 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "tsptest.wiretype.WireTypeAsyncClient": "null", + "tsptest.wiretype.WireTypeAsyncClient": "TspTest.WireType.WireTypeOp", "tsptest.wiretype.WireTypeAsyncClient.bothClassMismatch": "TspTest.WireType.WireTypeOp.bothClassMismatch", "tsptest.wiretype.WireTypeAsyncClient.bothClassMismatchWithResponse": "TspTest.WireType.WireTypeOp.bothClassMismatch", "tsptest.wiretype.WireTypeAsyncClient.subClassMismatch": "TspTest.WireType.WireTypeOp.subClassMismatch", "tsptest.wiretype.WireTypeAsyncClient.subClassMismatchWithResponse": "TspTest.WireType.WireTypeOp.subClassMismatch", "tsptest.wiretype.WireTypeAsyncClient.superClassMismatch": "TspTest.WireType.WireTypeOp.superClassMismatch", "tsptest.wiretype.WireTypeAsyncClient.superClassMismatchWithResponse": "TspTest.WireType.WireTypeOp.superClassMismatch", - "tsptest.wiretype.WireTypeClient": "null", + "tsptest.wiretype.WireTypeClient": "TspTest.WireType.WireTypeOp", "tsptest.wiretype.WireTypeClient.bothClassMismatch": "TspTest.WireType.WireTypeOp.bothClassMismatch", "tsptest.wiretype.WireTypeClient.bothClassMismatchWithResponse": "TspTest.WireType.WireTypeOp.bothClassMismatch", "tsptest.wiretype.WireTypeClient.subClassMismatch": "TspTest.WireType.WireTypeOp.subClassMismatch", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-array_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-array_apiview_properties.json index a45a9295a1..d93e42231f 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-array_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-array_apiview_properties.json @@ -2,142 +2,142 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "type.array.ArrayClientBuilder": "Type.Array", - "type.array.BooleanValueAsyncClient": "null", + "type.array.BooleanValueAsyncClient": "Type.Array.BooleanValue", "type.array.BooleanValueAsyncClient.get": "Type.Array.BooleanValue.get", "type.array.BooleanValueAsyncClient.getWithResponse": "Type.Array.BooleanValue.get", "type.array.BooleanValueAsyncClient.put": "Type.Array.BooleanValue.put", "type.array.BooleanValueAsyncClient.putWithResponse": "Type.Array.BooleanValue.put", - "type.array.BooleanValueClient": "null", + "type.array.BooleanValueClient": "Type.Array.BooleanValue", "type.array.BooleanValueClient.get": "Type.Array.BooleanValue.get", "type.array.BooleanValueClient.getWithResponse": "Type.Array.BooleanValue.get", "type.array.BooleanValueClient.put": "Type.Array.BooleanValue.put", "type.array.BooleanValueClient.putWithResponse": "Type.Array.BooleanValue.put", - "type.array.DatetimeValueAsyncClient": "null", + "type.array.DatetimeValueAsyncClient": "Type.Array.DatetimeValue", "type.array.DatetimeValueAsyncClient.get": "Type.Array.DatetimeValue.get", "type.array.DatetimeValueAsyncClient.getWithResponse": "Type.Array.DatetimeValue.get", "type.array.DatetimeValueAsyncClient.put": "Type.Array.DatetimeValue.put", "type.array.DatetimeValueAsyncClient.putWithResponse": "Type.Array.DatetimeValue.put", - "type.array.DatetimeValueClient": "null", + "type.array.DatetimeValueClient": "Type.Array.DatetimeValue", "type.array.DatetimeValueClient.get": "Type.Array.DatetimeValue.get", "type.array.DatetimeValueClient.getWithResponse": "Type.Array.DatetimeValue.get", "type.array.DatetimeValueClient.put": "Type.Array.DatetimeValue.put", "type.array.DatetimeValueClient.putWithResponse": "Type.Array.DatetimeValue.put", - "type.array.DurationValueAsyncClient": "null", + "type.array.DurationValueAsyncClient": "Type.Array.DurationValue", "type.array.DurationValueAsyncClient.get": "Type.Array.DurationValue.get", "type.array.DurationValueAsyncClient.getWithResponse": "Type.Array.DurationValue.get", "type.array.DurationValueAsyncClient.put": "Type.Array.DurationValue.put", "type.array.DurationValueAsyncClient.putWithResponse": "Type.Array.DurationValue.put", - "type.array.DurationValueClient": "null", + "type.array.DurationValueClient": "Type.Array.DurationValue", "type.array.DurationValueClient.get": "Type.Array.DurationValue.get", "type.array.DurationValueClient.getWithResponse": "Type.Array.DurationValue.get", "type.array.DurationValueClient.put": "Type.Array.DurationValue.put", "type.array.DurationValueClient.putWithResponse": "Type.Array.DurationValue.put", - "type.array.Float32ValueAsyncClient": "null", + "type.array.Float32ValueAsyncClient": "Type.Array.Float32Value", "type.array.Float32ValueAsyncClient.get": "Type.Array.Float32Value.get", "type.array.Float32ValueAsyncClient.getWithResponse": "Type.Array.Float32Value.get", "type.array.Float32ValueAsyncClient.put": "Type.Array.Float32Value.put", "type.array.Float32ValueAsyncClient.putWithResponse": "Type.Array.Float32Value.put", - "type.array.Float32ValueClient": "null", + "type.array.Float32ValueClient": "Type.Array.Float32Value", "type.array.Float32ValueClient.get": "Type.Array.Float32Value.get", "type.array.Float32ValueClient.getWithResponse": "Type.Array.Float32Value.get", "type.array.Float32ValueClient.put": "Type.Array.Float32Value.put", "type.array.Float32ValueClient.putWithResponse": "Type.Array.Float32Value.put", - "type.array.Int32ValueAsyncClient": "null", + "type.array.Int32ValueAsyncClient": "Type.Array.Int32Value", "type.array.Int32ValueAsyncClient.get": "Type.Array.Int32Value.get", "type.array.Int32ValueAsyncClient.getWithResponse": "Type.Array.Int32Value.get", "type.array.Int32ValueAsyncClient.put": "Type.Array.Int32Value.put", "type.array.Int32ValueAsyncClient.putWithResponse": "Type.Array.Int32Value.put", - "type.array.Int32ValueClient": "null", + "type.array.Int32ValueClient": "Type.Array.Int32Value", "type.array.Int32ValueClient.get": "Type.Array.Int32Value.get", "type.array.Int32ValueClient.getWithResponse": "Type.Array.Int32Value.get", "type.array.Int32ValueClient.put": "Type.Array.Int32Value.put", "type.array.Int32ValueClient.putWithResponse": "Type.Array.Int32Value.put", - "type.array.Int64ValueAsyncClient": "null", + "type.array.Int64ValueAsyncClient": "Type.Array.Int64Value", "type.array.Int64ValueAsyncClient.get": "Type.Array.Int64Value.get", "type.array.Int64ValueAsyncClient.getWithResponse": "Type.Array.Int64Value.get", "type.array.Int64ValueAsyncClient.put": "Type.Array.Int64Value.put", "type.array.Int64ValueAsyncClient.putWithResponse": "Type.Array.Int64Value.put", - "type.array.Int64ValueClient": "null", + "type.array.Int64ValueClient": "Type.Array.Int64Value", "type.array.Int64ValueClient.get": "Type.Array.Int64Value.get", "type.array.Int64ValueClient.getWithResponse": "Type.Array.Int64Value.get", "type.array.Int64ValueClient.put": "Type.Array.Int64Value.put", "type.array.Int64ValueClient.putWithResponse": "Type.Array.Int64Value.put", - "type.array.ModelValueAsyncClient": "null", + "type.array.ModelValueAsyncClient": "Type.Array.ModelValue", "type.array.ModelValueAsyncClient.get": "Type.Array.ModelValue.get", "type.array.ModelValueAsyncClient.getWithResponse": "Type.Array.ModelValue.get", "type.array.ModelValueAsyncClient.put": "Type.Array.ModelValue.put", "type.array.ModelValueAsyncClient.putWithResponse": "Type.Array.ModelValue.put", - "type.array.ModelValueClient": "null", + "type.array.ModelValueClient": "Type.Array.ModelValue", "type.array.ModelValueClient.get": "Type.Array.ModelValue.get", "type.array.ModelValueClient.getWithResponse": "Type.Array.ModelValue.get", "type.array.ModelValueClient.put": "Type.Array.ModelValue.put", "type.array.ModelValueClient.putWithResponse": "Type.Array.ModelValue.put", - "type.array.NullableBooleanValueAsyncClient": "null", + "type.array.NullableBooleanValueAsyncClient": "Type.Array.NullableBooleanValue", "type.array.NullableBooleanValueAsyncClient.get": "Type.Array.NullableBooleanValue.get", "type.array.NullableBooleanValueAsyncClient.getWithResponse": "Type.Array.NullableBooleanValue.get", "type.array.NullableBooleanValueAsyncClient.put": "Type.Array.NullableBooleanValue.put", "type.array.NullableBooleanValueAsyncClient.putWithResponse": "Type.Array.NullableBooleanValue.put", - "type.array.NullableBooleanValueClient": "null", + "type.array.NullableBooleanValueClient": "Type.Array.NullableBooleanValue", "type.array.NullableBooleanValueClient.get": "Type.Array.NullableBooleanValue.get", "type.array.NullableBooleanValueClient.getWithResponse": "Type.Array.NullableBooleanValue.get", "type.array.NullableBooleanValueClient.put": "Type.Array.NullableBooleanValue.put", "type.array.NullableBooleanValueClient.putWithResponse": "Type.Array.NullableBooleanValue.put", - "type.array.NullableFloatValueAsyncClient": "null", + "type.array.NullableFloatValueAsyncClient": "Type.Array.NullableFloatValue", "type.array.NullableFloatValueAsyncClient.get": "Type.Array.NullableFloatValue.get", "type.array.NullableFloatValueAsyncClient.getWithResponse": "Type.Array.NullableFloatValue.get", "type.array.NullableFloatValueAsyncClient.put": "Type.Array.NullableFloatValue.put", "type.array.NullableFloatValueAsyncClient.putWithResponse": "Type.Array.NullableFloatValue.put", - "type.array.NullableFloatValueClient": "null", + "type.array.NullableFloatValueClient": "Type.Array.NullableFloatValue", "type.array.NullableFloatValueClient.get": "Type.Array.NullableFloatValue.get", "type.array.NullableFloatValueClient.getWithResponse": "Type.Array.NullableFloatValue.get", "type.array.NullableFloatValueClient.put": "Type.Array.NullableFloatValue.put", "type.array.NullableFloatValueClient.putWithResponse": "Type.Array.NullableFloatValue.put", - "type.array.NullableInt32ValueAsyncClient": "null", + "type.array.NullableInt32ValueAsyncClient": "Type.Array.NullableInt32Value", "type.array.NullableInt32ValueAsyncClient.get": "Type.Array.NullableInt32Value.get", "type.array.NullableInt32ValueAsyncClient.getWithResponse": "Type.Array.NullableInt32Value.get", "type.array.NullableInt32ValueAsyncClient.put": "Type.Array.NullableInt32Value.put", "type.array.NullableInt32ValueAsyncClient.putWithResponse": "Type.Array.NullableInt32Value.put", - "type.array.NullableInt32ValueClient": "null", + "type.array.NullableInt32ValueClient": "Type.Array.NullableInt32Value", "type.array.NullableInt32ValueClient.get": "Type.Array.NullableInt32Value.get", "type.array.NullableInt32ValueClient.getWithResponse": "Type.Array.NullableInt32Value.get", "type.array.NullableInt32ValueClient.put": "Type.Array.NullableInt32Value.put", "type.array.NullableInt32ValueClient.putWithResponse": "Type.Array.NullableInt32Value.put", - "type.array.NullableModelValueAsyncClient": "null", + "type.array.NullableModelValueAsyncClient": "Type.Array.NullableModelValue", "type.array.NullableModelValueAsyncClient.get": "Type.Array.NullableModelValue.get", "type.array.NullableModelValueAsyncClient.getWithResponse": "Type.Array.NullableModelValue.get", "type.array.NullableModelValueAsyncClient.put": "Type.Array.NullableModelValue.put", "type.array.NullableModelValueAsyncClient.putWithResponse": "Type.Array.NullableModelValue.put", - "type.array.NullableModelValueClient": "null", + "type.array.NullableModelValueClient": "Type.Array.NullableModelValue", "type.array.NullableModelValueClient.get": "Type.Array.NullableModelValue.get", "type.array.NullableModelValueClient.getWithResponse": "Type.Array.NullableModelValue.get", "type.array.NullableModelValueClient.put": "Type.Array.NullableModelValue.put", "type.array.NullableModelValueClient.putWithResponse": "Type.Array.NullableModelValue.put", - "type.array.NullableStringValueAsyncClient": "null", + "type.array.NullableStringValueAsyncClient": "Type.Array.NullableStringValue", "type.array.NullableStringValueAsyncClient.get": "Type.Array.NullableStringValue.get", "type.array.NullableStringValueAsyncClient.getWithResponse": "Type.Array.NullableStringValue.get", "type.array.NullableStringValueAsyncClient.put": "Type.Array.NullableStringValue.put", "type.array.NullableStringValueAsyncClient.putWithResponse": "Type.Array.NullableStringValue.put", - "type.array.NullableStringValueClient": "null", + "type.array.NullableStringValueClient": "Type.Array.NullableStringValue", "type.array.NullableStringValueClient.get": "Type.Array.NullableStringValue.get", "type.array.NullableStringValueClient.getWithResponse": "Type.Array.NullableStringValue.get", "type.array.NullableStringValueClient.put": "Type.Array.NullableStringValue.put", "type.array.NullableStringValueClient.putWithResponse": "Type.Array.NullableStringValue.put", - "type.array.StringValueAsyncClient": "null", + "type.array.StringValueAsyncClient": "Type.Array.StringValue", "type.array.StringValueAsyncClient.get": "Type.Array.StringValue.get", "type.array.StringValueAsyncClient.getWithResponse": "Type.Array.StringValue.get", "type.array.StringValueAsyncClient.put": "Type.Array.StringValue.put", "type.array.StringValueAsyncClient.putWithResponse": "Type.Array.StringValue.put", - "type.array.StringValueClient": "null", + "type.array.StringValueClient": "Type.Array.StringValue", "type.array.StringValueClient.get": "Type.Array.StringValue.get", "type.array.StringValueClient.getWithResponse": "Type.Array.StringValue.get", "type.array.StringValueClient.put": "Type.Array.StringValue.put", "type.array.StringValueClient.putWithResponse": "Type.Array.StringValue.put", - "type.array.UnknownValueAsyncClient": "null", + "type.array.UnknownValueAsyncClient": "Type.Array.UnknownValue", "type.array.UnknownValueAsyncClient.get": "Type.Array.UnknownValue.get", "type.array.UnknownValueAsyncClient.getWithResponse": "Type.Array.UnknownValue.get", "type.array.UnknownValueAsyncClient.put": "Type.Array.UnknownValue.put", "type.array.UnknownValueAsyncClient.putWithResponse": "Type.Array.UnknownValue.put", - "type.array.UnknownValueClient": "null", + "type.array.UnknownValueClient": "Type.Array.UnknownValue", "type.array.UnknownValueClient.get": "Type.Array.UnknownValue.get", "type.array.UnknownValueClient.getWithResponse": "Type.Array.UnknownValue.get", "type.array.UnknownValueClient.put": "Type.Array.UnknownValue.put", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-dictionary_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-dictionary_apiview_properties.json index 5de4c86feb..8cc56c8c28 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-dictionary_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-dictionary_apiview_properties.json @@ -1,113 +1,113 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.dictionary.BooleanValueAsyncClient": "null", + "type.dictionary.BooleanValueAsyncClient": "Type.Dictionary.BooleanValue", "type.dictionary.BooleanValueAsyncClient.get": "Type.Dictionary.BooleanValue.get", "type.dictionary.BooleanValueAsyncClient.getWithResponse": "Type.Dictionary.BooleanValue.get", "type.dictionary.BooleanValueAsyncClient.put": "Type.Dictionary.BooleanValue.put", "type.dictionary.BooleanValueAsyncClient.putWithResponse": "Type.Dictionary.BooleanValue.put", - "type.dictionary.BooleanValueClient": "null", + "type.dictionary.BooleanValueClient": "Type.Dictionary.BooleanValue", "type.dictionary.BooleanValueClient.get": "Type.Dictionary.BooleanValue.get", "type.dictionary.BooleanValueClient.getWithResponse": "Type.Dictionary.BooleanValue.get", "type.dictionary.BooleanValueClient.put": "Type.Dictionary.BooleanValue.put", "type.dictionary.BooleanValueClient.putWithResponse": "Type.Dictionary.BooleanValue.put", - "type.dictionary.DatetimeValueAsyncClient": "null", + "type.dictionary.DatetimeValueAsyncClient": "Type.Dictionary.DatetimeValue", "type.dictionary.DatetimeValueAsyncClient.get": "Type.Dictionary.DatetimeValue.get", "type.dictionary.DatetimeValueAsyncClient.getWithResponse": "Type.Dictionary.DatetimeValue.get", "type.dictionary.DatetimeValueAsyncClient.put": "Type.Dictionary.DatetimeValue.put", "type.dictionary.DatetimeValueAsyncClient.putWithResponse": "Type.Dictionary.DatetimeValue.put", - "type.dictionary.DatetimeValueClient": "null", + "type.dictionary.DatetimeValueClient": "Type.Dictionary.DatetimeValue", "type.dictionary.DatetimeValueClient.get": "Type.Dictionary.DatetimeValue.get", "type.dictionary.DatetimeValueClient.getWithResponse": "Type.Dictionary.DatetimeValue.get", "type.dictionary.DatetimeValueClient.put": "Type.Dictionary.DatetimeValue.put", "type.dictionary.DatetimeValueClient.putWithResponse": "Type.Dictionary.DatetimeValue.put", "type.dictionary.DictionaryClientBuilder": "Type.Dictionary", - "type.dictionary.DurationValueAsyncClient": "null", + "type.dictionary.DurationValueAsyncClient": "Type.Dictionary.DurationValue", "type.dictionary.DurationValueAsyncClient.get": "Type.Dictionary.DurationValue.get", "type.dictionary.DurationValueAsyncClient.getWithResponse": "Type.Dictionary.DurationValue.get", "type.dictionary.DurationValueAsyncClient.put": "Type.Dictionary.DurationValue.put", "type.dictionary.DurationValueAsyncClient.putWithResponse": "Type.Dictionary.DurationValue.put", - "type.dictionary.DurationValueClient": "null", + "type.dictionary.DurationValueClient": "Type.Dictionary.DurationValue", "type.dictionary.DurationValueClient.get": "Type.Dictionary.DurationValue.get", "type.dictionary.DurationValueClient.getWithResponse": "Type.Dictionary.DurationValue.get", "type.dictionary.DurationValueClient.put": "Type.Dictionary.DurationValue.put", "type.dictionary.DurationValueClient.putWithResponse": "Type.Dictionary.DurationValue.put", - "type.dictionary.Float32ValueAsyncClient": "null", + "type.dictionary.Float32ValueAsyncClient": "Type.Dictionary.Float32Value", "type.dictionary.Float32ValueAsyncClient.get": "Type.Dictionary.Float32Value.get", "type.dictionary.Float32ValueAsyncClient.getWithResponse": "Type.Dictionary.Float32Value.get", "type.dictionary.Float32ValueAsyncClient.put": "Type.Dictionary.Float32Value.put", "type.dictionary.Float32ValueAsyncClient.putWithResponse": "Type.Dictionary.Float32Value.put", - "type.dictionary.Float32ValueClient": "null", + "type.dictionary.Float32ValueClient": "Type.Dictionary.Float32Value", "type.dictionary.Float32ValueClient.get": "Type.Dictionary.Float32Value.get", "type.dictionary.Float32ValueClient.getWithResponse": "Type.Dictionary.Float32Value.get", "type.dictionary.Float32ValueClient.put": "Type.Dictionary.Float32Value.put", "type.dictionary.Float32ValueClient.putWithResponse": "Type.Dictionary.Float32Value.put", - "type.dictionary.Int32ValueAsyncClient": "null", + "type.dictionary.Int32ValueAsyncClient": "Type.Dictionary.Int32Value", "type.dictionary.Int32ValueAsyncClient.get": "Type.Dictionary.Int32Value.get", "type.dictionary.Int32ValueAsyncClient.getWithResponse": "Type.Dictionary.Int32Value.get", "type.dictionary.Int32ValueAsyncClient.put": "Type.Dictionary.Int32Value.put", "type.dictionary.Int32ValueAsyncClient.putWithResponse": "Type.Dictionary.Int32Value.put", - "type.dictionary.Int32ValueClient": "null", + "type.dictionary.Int32ValueClient": "Type.Dictionary.Int32Value", "type.dictionary.Int32ValueClient.get": "Type.Dictionary.Int32Value.get", "type.dictionary.Int32ValueClient.getWithResponse": "Type.Dictionary.Int32Value.get", "type.dictionary.Int32ValueClient.put": "Type.Dictionary.Int32Value.put", "type.dictionary.Int32ValueClient.putWithResponse": "Type.Dictionary.Int32Value.put", - "type.dictionary.Int64ValueAsyncClient": "null", + "type.dictionary.Int64ValueAsyncClient": "Type.Dictionary.Int64Value", "type.dictionary.Int64ValueAsyncClient.get": "Type.Dictionary.Int64Value.get", "type.dictionary.Int64ValueAsyncClient.getWithResponse": "Type.Dictionary.Int64Value.get", "type.dictionary.Int64ValueAsyncClient.put": "Type.Dictionary.Int64Value.put", "type.dictionary.Int64ValueAsyncClient.putWithResponse": "Type.Dictionary.Int64Value.put", - "type.dictionary.Int64ValueClient": "null", + "type.dictionary.Int64ValueClient": "Type.Dictionary.Int64Value", "type.dictionary.Int64ValueClient.get": "Type.Dictionary.Int64Value.get", "type.dictionary.Int64ValueClient.getWithResponse": "Type.Dictionary.Int64Value.get", "type.dictionary.Int64ValueClient.put": "Type.Dictionary.Int64Value.put", "type.dictionary.Int64ValueClient.putWithResponse": "Type.Dictionary.Int64Value.put", - "type.dictionary.ModelValueAsyncClient": "null", + "type.dictionary.ModelValueAsyncClient": "Type.Dictionary.ModelValue", "type.dictionary.ModelValueAsyncClient.get": "Type.Dictionary.ModelValue.get", "type.dictionary.ModelValueAsyncClient.getWithResponse": "Type.Dictionary.ModelValue.get", "type.dictionary.ModelValueAsyncClient.put": "Type.Dictionary.ModelValue.put", "type.dictionary.ModelValueAsyncClient.putWithResponse": "Type.Dictionary.ModelValue.put", - "type.dictionary.ModelValueClient": "null", + "type.dictionary.ModelValueClient": "Type.Dictionary.ModelValue", "type.dictionary.ModelValueClient.get": "Type.Dictionary.ModelValue.get", "type.dictionary.ModelValueClient.getWithResponse": "Type.Dictionary.ModelValue.get", "type.dictionary.ModelValueClient.put": "Type.Dictionary.ModelValue.put", "type.dictionary.ModelValueClient.putWithResponse": "Type.Dictionary.ModelValue.put", - "type.dictionary.NullableFloatValueAsyncClient": "null", + "type.dictionary.NullableFloatValueAsyncClient": "Type.Dictionary.NullableFloatValue", "type.dictionary.NullableFloatValueAsyncClient.get": "Type.Dictionary.NullableFloatValue.get", "type.dictionary.NullableFloatValueAsyncClient.getWithResponse": "Type.Dictionary.NullableFloatValue.get", "type.dictionary.NullableFloatValueAsyncClient.put": "Type.Dictionary.NullableFloatValue.put", "type.dictionary.NullableFloatValueAsyncClient.putWithResponse": "Type.Dictionary.NullableFloatValue.put", - "type.dictionary.NullableFloatValueClient": "null", + "type.dictionary.NullableFloatValueClient": "Type.Dictionary.NullableFloatValue", "type.dictionary.NullableFloatValueClient.get": "Type.Dictionary.NullableFloatValue.get", "type.dictionary.NullableFloatValueClient.getWithResponse": "Type.Dictionary.NullableFloatValue.get", "type.dictionary.NullableFloatValueClient.put": "Type.Dictionary.NullableFloatValue.put", "type.dictionary.NullableFloatValueClient.putWithResponse": "Type.Dictionary.NullableFloatValue.put", - "type.dictionary.RecursiveModelValueAsyncClient": "null", + "type.dictionary.RecursiveModelValueAsyncClient": "Type.Dictionary.RecursiveModelValue", "type.dictionary.RecursiveModelValueAsyncClient.get": "Type.Dictionary.RecursiveModelValue.get", "type.dictionary.RecursiveModelValueAsyncClient.getWithResponse": "Type.Dictionary.RecursiveModelValue.get", "type.dictionary.RecursiveModelValueAsyncClient.put": "Type.Dictionary.RecursiveModelValue.put", "type.dictionary.RecursiveModelValueAsyncClient.putWithResponse": "Type.Dictionary.RecursiveModelValue.put", - "type.dictionary.RecursiveModelValueClient": "null", + "type.dictionary.RecursiveModelValueClient": "Type.Dictionary.RecursiveModelValue", "type.dictionary.RecursiveModelValueClient.get": "Type.Dictionary.RecursiveModelValue.get", "type.dictionary.RecursiveModelValueClient.getWithResponse": "Type.Dictionary.RecursiveModelValue.get", "type.dictionary.RecursiveModelValueClient.put": "Type.Dictionary.RecursiveModelValue.put", "type.dictionary.RecursiveModelValueClient.putWithResponse": "Type.Dictionary.RecursiveModelValue.put", - "type.dictionary.StringValueAsyncClient": "null", + "type.dictionary.StringValueAsyncClient": "Type.Dictionary.StringValue", "type.dictionary.StringValueAsyncClient.get": "Type.Dictionary.StringValue.get", "type.dictionary.StringValueAsyncClient.getWithResponse": "Type.Dictionary.StringValue.get", "type.dictionary.StringValueAsyncClient.put": "Type.Dictionary.StringValue.put", "type.dictionary.StringValueAsyncClient.putWithResponse": "Type.Dictionary.StringValue.put", - "type.dictionary.StringValueClient": "null", + "type.dictionary.StringValueClient": "Type.Dictionary.StringValue", "type.dictionary.StringValueClient.get": "Type.Dictionary.StringValue.get", "type.dictionary.StringValueClient.getWithResponse": "Type.Dictionary.StringValue.get", "type.dictionary.StringValueClient.put": "Type.Dictionary.StringValue.put", "type.dictionary.StringValueClient.putWithResponse": "Type.Dictionary.StringValue.put", - "type.dictionary.UnknownValueAsyncClient": "null", + "type.dictionary.UnknownValueAsyncClient": "Type.Dictionary.UnknownValue", "type.dictionary.UnknownValueAsyncClient.get": "Type.Dictionary.UnknownValue.get", "type.dictionary.UnknownValueAsyncClient.getWithResponse": "Type.Dictionary.UnknownValue.get", "type.dictionary.UnknownValueAsyncClient.put": "Type.Dictionary.UnknownValue.put", "type.dictionary.UnknownValueAsyncClient.putWithResponse": "Type.Dictionary.UnknownValue.put", - "type.dictionary.UnknownValueClient": "null", + "type.dictionary.UnknownValueClient": "Type.Dictionary.UnknownValue", "type.dictionary.UnknownValueClient.get": "Type.Dictionary.UnknownValue.get", "type.dictionary.UnknownValueClient.getWithResponse": "Type.Dictionary.UnknownValue.get", "type.dictionary.UnknownValueClient.put": "Type.Dictionary.UnknownValue.put", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-extensible_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-extensible_apiview_properties.json index 6584cb3311..68ae6fa554 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-extensible_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-extensible_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.enums.extensible.ExtensibleAsyncClient": "null", + "type.enums.extensible.ExtensibleAsyncClient": "Type.Enum.Extensible.String", "type.enums.extensible.ExtensibleAsyncClient.getKnownValue": "Type.Enum.Extensible.String.getKnownValue", "type.enums.extensible.ExtensibleAsyncClient.getKnownValueWithResponse": "Type.Enum.Extensible.String.getKnownValue", "type.enums.extensible.ExtensibleAsyncClient.getUnknownValue": "Type.Enum.Extensible.String.getUnknownValue", @@ -10,7 +10,7 @@ "type.enums.extensible.ExtensibleAsyncClient.putKnownValueWithResponse": "Type.Enum.Extensible.String.putKnownValue", "type.enums.extensible.ExtensibleAsyncClient.putUnknownValue": "Type.Enum.Extensible.String.putUnknownValue", "type.enums.extensible.ExtensibleAsyncClient.putUnknownValueWithResponse": "Type.Enum.Extensible.String.putUnknownValue", - "type.enums.extensible.ExtensibleClient": "null", + "type.enums.extensible.ExtensibleClient": "Type.Enum.Extensible.String", "type.enums.extensible.ExtensibleClient.getKnownValue": "Type.Enum.Extensible.String.getKnownValue", "type.enums.extensible.ExtensibleClient.getKnownValueWithResponse": "Type.Enum.Extensible.String.getKnownValue", "type.enums.extensible.ExtensibleClient.getUnknownValue": "Type.Enum.Extensible.String.getUnknownValue", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-fixed_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-fixed_apiview_properties.json index 7dad9d5b6a..1db0b5526e 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-fixed_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-enums-fixed_apiview_properties.json @@ -1,14 +1,14 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.enums.fixed.FixedAsyncClient": "null", + "type.enums.fixed.FixedAsyncClient": "Type.Enum.Fixed.String", "type.enums.fixed.FixedAsyncClient.getKnownValue": "Type.Enum.Fixed.String.getKnownValue", "type.enums.fixed.FixedAsyncClient.getKnownValueWithResponse": "Type.Enum.Fixed.String.getKnownValue", "type.enums.fixed.FixedAsyncClient.putKnownValue": "Type.Enum.Fixed.String.putKnownValue", "type.enums.fixed.FixedAsyncClient.putKnownValueWithResponse": "Type.Enum.Fixed.String.putKnownValue", "type.enums.fixed.FixedAsyncClient.putUnknownValue": "Type.Enum.Fixed.String.putUnknownValue", "type.enums.fixed.FixedAsyncClient.putUnknownValueWithResponse": "Type.Enum.Fixed.String.putUnknownValue", - "type.enums.fixed.FixedClient": "null", + "type.enums.fixed.FixedClient": "Type.Enum.Fixed.String", "type.enums.fixed.FixedClient.getKnownValue": "Type.Enum.Fixed.String.getKnownValue", "type.enums.fixed.FixedClient.getKnownValueWithResponse": "Type.Enum.Fixed.String.getKnownValue", "type.enums.fixed.FixedClient.putKnownValue": "Type.Enum.Fixed.String.putKnownValue", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-additionalproperties_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-additionalproperties_apiview_properties.json index f905e8a307..d07b3f87ba 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-additionalproperties_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-additionalproperties_apiview_properties.json @@ -2,322 +2,322 @@ "flavor": "Azure", "CrossLanguageDefinitionId": { "type.property.additionalproperties.AdditionalPropertiesClientBuilder": "Type.Property.AdditionalProperties", - "type.property.additionalproperties.ExtendsDifferentSpreadFloatAsyncClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadFloatAsyncClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat", "type.property.additionalproperties.ExtendsDifferentSpreadFloatAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get", "type.property.additionalproperties.ExtendsDifferentSpreadFloatAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get", "type.property.additionalproperties.ExtendsDifferentSpreadFloatAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.put", "type.property.additionalproperties.ExtendsDifferentSpreadFloatAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.put", - "type.property.additionalproperties.ExtendsDifferentSpreadFloatClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadFloatClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat", "type.property.additionalproperties.ExtendsDifferentSpreadFloatClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get", "type.property.additionalproperties.ExtendsDifferentSpreadFloatClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.get", "type.property.additionalproperties.ExtendsDifferentSpreadFloatClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.put", "type.property.additionalproperties.ExtendsDifferentSpreadFloatClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadFloat.put", - "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayAsyncClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayAsyncClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.put", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.put", - "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.put", "type.property.additionalproperties.ExtendsDifferentSpreadModelArrayClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModelArray.put", - "type.property.additionalproperties.ExtendsDifferentSpreadModelAsyncClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadModelAsyncClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel", "type.property.additionalproperties.ExtendsDifferentSpreadModelAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.put", "type.property.additionalproperties.ExtendsDifferentSpreadModelAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.put", - "type.property.additionalproperties.ExtendsDifferentSpreadModelClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadModelClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel", "type.property.additionalproperties.ExtendsDifferentSpreadModelClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.get", "type.property.additionalproperties.ExtendsDifferentSpreadModelClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.put", "type.property.additionalproperties.ExtendsDifferentSpreadModelClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadModel.put", - "type.property.additionalproperties.ExtendsDifferentSpreadStringAsyncClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadStringAsyncClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString", "type.property.additionalproperties.ExtendsDifferentSpreadStringAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get", "type.property.additionalproperties.ExtendsDifferentSpreadStringAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get", "type.property.additionalproperties.ExtendsDifferentSpreadStringAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.put", "type.property.additionalproperties.ExtendsDifferentSpreadStringAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.put", - "type.property.additionalproperties.ExtendsDifferentSpreadStringClient": "null", + "type.property.additionalproperties.ExtendsDifferentSpreadStringClient": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString", "type.property.additionalproperties.ExtendsDifferentSpreadStringClient.get": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get", "type.property.additionalproperties.ExtendsDifferentSpreadStringClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.get", "type.property.additionalproperties.ExtendsDifferentSpreadStringClient.put": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.put", "type.property.additionalproperties.ExtendsDifferentSpreadStringClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsDifferentSpreadString.put", - "type.property.additionalproperties.ExtendsFloatAsyncClient": "null", + "type.property.additionalproperties.ExtendsFloatAsyncClient": "Type.Property.AdditionalProperties.ExtendsFloat", "type.property.additionalproperties.ExtendsFloatAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsFloat.get", "type.property.additionalproperties.ExtendsFloatAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsFloat.get", "type.property.additionalproperties.ExtendsFloatAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsFloat.put", "type.property.additionalproperties.ExtendsFloatAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsFloat.put", - "type.property.additionalproperties.ExtendsFloatClient": "null", + "type.property.additionalproperties.ExtendsFloatClient": "Type.Property.AdditionalProperties.ExtendsFloat", "type.property.additionalproperties.ExtendsFloatClient.get": "Type.Property.AdditionalProperties.ExtendsFloat.get", "type.property.additionalproperties.ExtendsFloatClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsFloat.get", "type.property.additionalproperties.ExtendsFloatClient.put": "Type.Property.AdditionalProperties.ExtendsFloat.put", "type.property.additionalproperties.ExtendsFloatClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsFloat.put", - "type.property.additionalproperties.ExtendsModelArrayAsyncClient": "null", + "type.property.additionalproperties.ExtendsModelArrayAsyncClient": "Type.Property.AdditionalProperties.ExtendsModelArray", "type.property.additionalproperties.ExtendsModelArrayAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsModelArray.get", "type.property.additionalproperties.ExtendsModelArrayAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsModelArray.get", "type.property.additionalproperties.ExtendsModelArrayAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsModelArray.put", "type.property.additionalproperties.ExtendsModelArrayAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsModelArray.put", - "type.property.additionalproperties.ExtendsModelArrayClient": "null", + "type.property.additionalproperties.ExtendsModelArrayClient": "Type.Property.AdditionalProperties.ExtendsModelArray", "type.property.additionalproperties.ExtendsModelArrayClient.get": "Type.Property.AdditionalProperties.ExtendsModelArray.get", "type.property.additionalproperties.ExtendsModelArrayClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsModelArray.get", "type.property.additionalproperties.ExtendsModelArrayClient.put": "Type.Property.AdditionalProperties.ExtendsModelArray.put", "type.property.additionalproperties.ExtendsModelArrayClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsModelArray.put", - "type.property.additionalproperties.ExtendsModelAsyncClient": "null", + "type.property.additionalproperties.ExtendsModelAsyncClient": "Type.Property.AdditionalProperties.ExtendsModel", "type.property.additionalproperties.ExtendsModelAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsModel.get", "type.property.additionalproperties.ExtendsModelAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsModel.get", "type.property.additionalproperties.ExtendsModelAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsModel.put", "type.property.additionalproperties.ExtendsModelAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsModel.put", - "type.property.additionalproperties.ExtendsModelClient": "null", + "type.property.additionalproperties.ExtendsModelClient": "Type.Property.AdditionalProperties.ExtendsModel", "type.property.additionalproperties.ExtendsModelClient.get": "Type.Property.AdditionalProperties.ExtendsModel.get", "type.property.additionalproperties.ExtendsModelClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsModel.get", "type.property.additionalproperties.ExtendsModelClient.put": "Type.Property.AdditionalProperties.ExtendsModel.put", "type.property.additionalproperties.ExtendsModelClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsModel.put", - "type.property.additionalproperties.ExtendsStringAsyncClient": "null", + "type.property.additionalproperties.ExtendsStringAsyncClient": "Type.Property.AdditionalProperties.ExtendsString", "type.property.additionalproperties.ExtendsStringAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsString.get", "type.property.additionalproperties.ExtendsStringAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsString.get", "type.property.additionalproperties.ExtendsStringAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsString.put", "type.property.additionalproperties.ExtendsStringAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsString.put", - "type.property.additionalproperties.ExtendsStringClient": "null", + "type.property.additionalproperties.ExtendsStringClient": "Type.Property.AdditionalProperties.ExtendsString", "type.property.additionalproperties.ExtendsStringClient.get": "Type.Property.AdditionalProperties.ExtendsString.get", "type.property.additionalproperties.ExtendsStringClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsString.get", "type.property.additionalproperties.ExtendsStringClient.put": "Type.Property.AdditionalProperties.ExtendsString.put", "type.property.additionalproperties.ExtendsStringClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsString.put", - "type.property.additionalproperties.ExtendsUnknownAsyncClient": "null", + "type.property.additionalproperties.ExtendsUnknownAsyncClient": "Type.Property.AdditionalProperties.ExtendsUnknown", "type.property.additionalproperties.ExtendsUnknownAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsUnknown.get", "type.property.additionalproperties.ExtendsUnknownAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknown.get", "type.property.additionalproperties.ExtendsUnknownAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsUnknown.put", "type.property.additionalproperties.ExtendsUnknownAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknown.put", - "type.property.additionalproperties.ExtendsUnknownClient": "null", + "type.property.additionalproperties.ExtendsUnknownClient": "Type.Property.AdditionalProperties.ExtendsUnknown", "type.property.additionalproperties.ExtendsUnknownClient.get": "Type.Property.AdditionalProperties.ExtendsUnknown.get", "type.property.additionalproperties.ExtendsUnknownClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknown.get", "type.property.additionalproperties.ExtendsUnknownClient.put": "Type.Property.AdditionalProperties.ExtendsUnknown.put", "type.property.additionalproperties.ExtendsUnknownClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknown.put", - "type.property.additionalproperties.ExtendsUnknownDerivedAsyncClient": "null", + "type.property.additionalproperties.ExtendsUnknownDerivedAsyncClient": "Type.Property.AdditionalProperties.ExtendsUnknownDerived", "type.property.additionalproperties.ExtendsUnknownDerivedAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get", "type.property.additionalproperties.ExtendsUnknownDerivedAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get", "type.property.additionalproperties.ExtendsUnknownDerivedAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.put", "type.property.additionalproperties.ExtendsUnknownDerivedAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.put", - "type.property.additionalproperties.ExtendsUnknownDerivedClient": "null", + "type.property.additionalproperties.ExtendsUnknownDerivedClient": "Type.Property.AdditionalProperties.ExtendsUnknownDerived", "type.property.additionalproperties.ExtendsUnknownDerivedClient.get": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get", "type.property.additionalproperties.ExtendsUnknownDerivedClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.get", "type.property.additionalproperties.ExtendsUnknownDerivedClient.put": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.put", "type.property.additionalproperties.ExtendsUnknownDerivedClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDerived.put", - "type.property.additionalproperties.ExtendsUnknownDiscriminatedAsyncClient": "null", + "type.property.additionalproperties.ExtendsUnknownDiscriminatedAsyncClient": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated", "type.property.additionalproperties.ExtendsUnknownDiscriminatedAsyncClient.get": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get", "type.property.additionalproperties.ExtendsUnknownDiscriminatedAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get", "type.property.additionalproperties.ExtendsUnknownDiscriminatedAsyncClient.put": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.put", "type.property.additionalproperties.ExtendsUnknownDiscriminatedAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.put", - "type.property.additionalproperties.ExtendsUnknownDiscriminatedClient": "null", + "type.property.additionalproperties.ExtendsUnknownDiscriminatedClient": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated", "type.property.additionalproperties.ExtendsUnknownDiscriminatedClient.get": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get", "type.property.additionalproperties.ExtendsUnknownDiscriminatedClient.getWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.get", "type.property.additionalproperties.ExtendsUnknownDiscriminatedClient.put": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.put", "type.property.additionalproperties.ExtendsUnknownDiscriminatedClient.putWithResponse": "Type.Property.AdditionalProperties.ExtendsUnknownDiscriminated.put", - "type.property.additionalproperties.IsFloatAsyncClient": "null", + "type.property.additionalproperties.IsFloatAsyncClient": "Type.Property.AdditionalProperties.IsFloat", "type.property.additionalproperties.IsFloatAsyncClient.get": "Type.Property.AdditionalProperties.IsFloat.get", "type.property.additionalproperties.IsFloatAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.IsFloat.get", "type.property.additionalproperties.IsFloatAsyncClient.put": "Type.Property.AdditionalProperties.IsFloat.put", "type.property.additionalproperties.IsFloatAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.IsFloat.put", - "type.property.additionalproperties.IsFloatClient": "null", + "type.property.additionalproperties.IsFloatClient": "Type.Property.AdditionalProperties.IsFloat", "type.property.additionalproperties.IsFloatClient.get": "Type.Property.AdditionalProperties.IsFloat.get", "type.property.additionalproperties.IsFloatClient.getWithResponse": "Type.Property.AdditionalProperties.IsFloat.get", "type.property.additionalproperties.IsFloatClient.put": "Type.Property.AdditionalProperties.IsFloat.put", "type.property.additionalproperties.IsFloatClient.putWithResponse": "Type.Property.AdditionalProperties.IsFloat.put", - "type.property.additionalproperties.IsModelArrayAsyncClient": "null", + "type.property.additionalproperties.IsModelArrayAsyncClient": "Type.Property.AdditionalProperties.IsModelArray", "type.property.additionalproperties.IsModelArrayAsyncClient.get": "Type.Property.AdditionalProperties.IsModelArray.get", "type.property.additionalproperties.IsModelArrayAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.IsModelArray.get", "type.property.additionalproperties.IsModelArrayAsyncClient.put": "Type.Property.AdditionalProperties.IsModelArray.put", "type.property.additionalproperties.IsModelArrayAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.IsModelArray.put", - "type.property.additionalproperties.IsModelArrayClient": "null", + "type.property.additionalproperties.IsModelArrayClient": "Type.Property.AdditionalProperties.IsModelArray", "type.property.additionalproperties.IsModelArrayClient.get": "Type.Property.AdditionalProperties.IsModelArray.get", "type.property.additionalproperties.IsModelArrayClient.getWithResponse": "Type.Property.AdditionalProperties.IsModelArray.get", "type.property.additionalproperties.IsModelArrayClient.put": "Type.Property.AdditionalProperties.IsModelArray.put", "type.property.additionalproperties.IsModelArrayClient.putWithResponse": "Type.Property.AdditionalProperties.IsModelArray.put", - "type.property.additionalproperties.IsModelAsyncClient": "null", + "type.property.additionalproperties.IsModelAsyncClient": "Type.Property.AdditionalProperties.IsModel", "type.property.additionalproperties.IsModelAsyncClient.get": "Type.Property.AdditionalProperties.IsModel.get", "type.property.additionalproperties.IsModelAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.IsModel.get", "type.property.additionalproperties.IsModelAsyncClient.put": "Type.Property.AdditionalProperties.IsModel.put", "type.property.additionalproperties.IsModelAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.IsModel.put", - "type.property.additionalproperties.IsModelClient": "null", + "type.property.additionalproperties.IsModelClient": "Type.Property.AdditionalProperties.IsModel", "type.property.additionalproperties.IsModelClient.get": "Type.Property.AdditionalProperties.IsModel.get", "type.property.additionalproperties.IsModelClient.getWithResponse": "Type.Property.AdditionalProperties.IsModel.get", "type.property.additionalproperties.IsModelClient.put": "Type.Property.AdditionalProperties.IsModel.put", "type.property.additionalproperties.IsModelClient.putWithResponse": "Type.Property.AdditionalProperties.IsModel.put", - "type.property.additionalproperties.IsStringAsyncClient": "null", + "type.property.additionalproperties.IsStringAsyncClient": "Type.Property.AdditionalProperties.IsString", "type.property.additionalproperties.IsStringAsyncClient.get": "Type.Property.AdditionalProperties.IsString.get", "type.property.additionalproperties.IsStringAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.IsString.get", "type.property.additionalproperties.IsStringAsyncClient.put": "Type.Property.AdditionalProperties.IsString.put", "type.property.additionalproperties.IsStringAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.IsString.put", - "type.property.additionalproperties.IsStringClient": "null", + "type.property.additionalproperties.IsStringClient": "Type.Property.AdditionalProperties.IsString", "type.property.additionalproperties.IsStringClient.get": "Type.Property.AdditionalProperties.IsString.get", "type.property.additionalproperties.IsStringClient.getWithResponse": "Type.Property.AdditionalProperties.IsString.get", "type.property.additionalproperties.IsStringClient.put": "Type.Property.AdditionalProperties.IsString.put", "type.property.additionalproperties.IsStringClient.putWithResponse": "Type.Property.AdditionalProperties.IsString.put", - "type.property.additionalproperties.IsUnknownAsyncClient": "null", + "type.property.additionalproperties.IsUnknownAsyncClient": "Type.Property.AdditionalProperties.IsUnknown", "type.property.additionalproperties.IsUnknownAsyncClient.get": "Type.Property.AdditionalProperties.IsUnknown.get", "type.property.additionalproperties.IsUnknownAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.IsUnknown.get", "type.property.additionalproperties.IsUnknownAsyncClient.put": "Type.Property.AdditionalProperties.IsUnknown.put", "type.property.additionalproperties.IsUnknownAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.IsUnknown.put", - "type.property.additionalproperties.IsUnknownClient": "null", + "type.property.additionalproperties.IsUnknownClient": "Type.Property.AdditionalProperties.IsUnknown", "type.property.additionalproperties.IsUnknownClient.get": "Type.Property.AdditionalProperties.IsUnknown.get", "type.property.additionalproperties.IsUnknownClient.getWithResponse": "Type.Property.AdditionalProperties.IsUnknown.get", "type.property.additionalproperties.IsUnknownClient.put": "Type.Property.AdditionalProperties.IsUnknown.put", "type.property.additionalproperties.IsUnknownClient.putWithResponse": "Type.Property.AdditionalProperties.IsUnknown.put", - "type.property.additionalproperties.IsUnknownDerivedAsyncClient": "null", + "type.property.additionalproperties.IsUnknownDerivedAsyncClient": "Type.Property.AdditionalProperties.IsUnknownDerived", "type.property.additionalproperties.IsUnknownDerivedAsyncClient.get": "Type.Property.AdditionalProperties.IsUnknownDerived.get", "type.property.additionalproperties.IsUnknownDerivedAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.IsUnknownDerived.get", "type.property.additionalproperties.IsUnknownDerivedAsyncClient.put": "Type.Property.AdditionalProperties.IsUnknownDerived.put", "type.property.additionalproperties.IsUnknownDerivedAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.IsUnknownDerived.put", - "type.property.additionalproperties.IsUnknownDerivedClient": "null", + "type.property.additionalproperties.IsUnknownDerivedClient": "Type.Property.AdditionalProperties.IsUnknownDerived", "type.property.additionalproperties.IsUnknownDerivedClient.get": "Type.Property.AdditionalProperties.IsUnknownDerived.get", "type.property.additionalproperties.IsUnknownDerivedClient.getWithResponse": "Type.Property.AdditionalProperties.IsUnknownDerived.get", "type.property.additionalproperties.IsUnknownDerivedClient.put": "Type.Property.AdditionalProperties.IsUnknownDerived.put", "type.property.additionalproperties.IsUnknownDerivedClient.putWithResponse": "Type.Property.AdditionalProperties.IsUnknownDerived.put", - "type.property.additionalproperties.IsUnknownDiscriminatedAsyncClient": "null", + "type.property.additionalproperties.IsUnknownDiscriminatedAsyncClient": "Type.Property.AdditionalProperties.IsUnknownDiscriminated", "type.property.additionalproperties.IsUnknownDiscriminatedAsyncClient.get": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get", "type.property.additionalproperties.IsUnknownDiscriminatedAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get", "type.property.additionalproperties.IsUnknownDiscriminatedAsyncClient.put": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.put", "type.property.additionalproperties.IsUnknownDiscriminatedAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.put", - "type.property.additionalproperties.IsUnknownDiscriminatedClient": "null", + "type.property.additionalproperties.IsUnknownDiscriminatedClient": "Type.Property.AdditionalProperties.IsUnknownDiscriminated", "type.property.additionalproperties.IsUnknownDiscriminatedClient.get": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get", "type.property.additionalproperties.IsUnknownDiscriminatedClient.getWithResponse": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.get", "type.property.additionalproperties.IsUnknownDiscriminatedClient.put": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.put", "type.property.additionalproperties.IsUnknownDiscriminatedClient.putWithResponse": "Type.Property.AdditionalProperties.IsUnknownDiscriminated.put", - "type.property.additionalproperties.MultipleSpreadAsyncClient": "null", + "type.property.additionalproperties.MultipleSpreadAsyncClient": "Type.Property.AdditionalProperties.MultipleSpread", "type.property.additionalproperties.MultipleSpreadAsyncClient.get": "Type.Property.AdditionalProperties.MultipleSpread.get", "type.property.additionalproperties.MultipleSpreadAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.MultipleSpread.get", "type.property.additionalproperties.MultipleSpreadAsyncClient.put": "Type.Property.AdditionalProperties.MultipleSpread.put", "type.property.additionalproperties.MultipleSpreadAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.MultipleSpread.put", - "type.property.additionalproperties.MultipleSpreadClient": "null", + "type.property.additionalproperties.MultipleSpreadClient": "Type.Property.AdditionalProperties.MultipleSpread", "type.property.additionalproperties.MultipleSpreadClient.get": "Type.Property.AdditionalProperties.MultipleSpread.get", "type.property.additionalproperties.MultipleSpreadClient.getWithResponse": "Type.Property.AdditionalProperties.MultipleSpread.get", "type.property.additionalproperties.MultipleSpreadClient.put": "Type.Property.AdditionalProperties.MultipleSpread.put", "type.property.additionalproperties.MultipleSpreadClient.putWithResponse": "Type.Property.AdditionalProperties.MultipleSpread.put", - "type.property.additionalproperties.SpreadDifferentFloatAsyncClient": "null", + "type.property.additionalproperties.SpreadDifferentFloatAsyncClient": "Type.Property.AdditionalProperties.SpreadDifferentFloat", "type.property.additionalproperties.SpreadDifferentFloatAsyncClient.get": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get", "type.property.additionalproperties.SpreadDifferentFloatAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get", "type.property.additionalproperties.SpreadDifferentFloatAsyncClient.put": "Type.Property.AdditionalProperties.SpreadDifferentFloat.put", "type.property.additionalproperties.SpreadDifferentFloatAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentFloat.put", - "type.property.additionalproperties.SpreadDifferentFloatClient": "null", + "type.property.additionalproperties.SpreadDifferentFloatClient": "Type.Property.AdditionalProperties.SpreadDifferentFloat", "type.property.additionalproperties.SpreadDifferentFloatClient.get": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get", "type.property.additionalproperties.SpreadDifferentFloatClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentFloat.get", "type.property.additionalproperties.SpreadDifferentFloatClient.put": "Type.Property.AdditionalProperties.SpreadDifferentFloat.put", "type.property.additionalproperties.SpreadDifferentFloatClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentFloat.put", - "type.property.additionalproperties.SpreadDifferentModelArrayAsyncClient": "null", + "type.property.additionalproperties.SpreadDifferentModelArrayAsyncClient": "Type.Property.AdditionalProperties.SpreadDifferentModelArray", "type.property.additionalproperties.SpreadDifferentModelArrayAsyncClient.get": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get", "type.property.additionalproperties.SpreadDifferentModelArrayAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get", "type.property.additionalproperties.SpreadDifferentModelArrayAsyncClient.put": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.put", "type.property.additionalproperties.SpreadDifferentModelArrayAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.put", - "type.property.additionalproperties.SpreadDifferentModelArrayClient": "null", + "type.property.additionalproperties.SpreadDifferentModelArrayClient": "Type.Property.AdditionalProperties.SpreadDifferentModelArray", "type.property.additionalproperties.SpreadDifferentModelArrayClient.get": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get", "type.property.additionalproperties.SpreadDifferentModelArrayClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.get", "type.property.additionalproperties.SpreadDifferentModelArrayClient.put": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.put", "type.property.additionalproperties.SpreadDifferentModelArrayClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModelArray.put", - "type.property.additionalproperties.SpreadDifferentModelAsyncClient": "null", + "type.property.additionalproperties.SpreadDifferentModelAsyncClient": "Type.Property.AdditionalProperties.SpreadDifferentModel", "type.property.additionalproperties.SpreadDifferentModelAsyncClient.get": "Type.Property.AdditionalProperties.SpreadDifferentModel.get", "type.property.additionalproperties.SpreadDifferentModelAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModel.get", "type.property.additionalproperties.SpreadDifferentModelAsyncClient.put": "Type.Property.AdditionalProperties.SpreadDifferentModel.put", "type.property.additionalproperties.SpreadDifferentModelAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModel.put", - "type.property.additionalproperties.SpreadDifferentModelClient": "null", + "type.property.additionalproperties.SpreadDifferentModelClient": "Type.Property.AdditionalProperties.SpreadDifferentModel", "type.property.additionalproperties.SpreadDifferentModelClient.get": "Type.Property.AdditionalProperties.SpreadDifferentModel.get", "type.property.additionalproperties.SpreadDifferentModelClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModel.get", "type.property.additionalproperties.SpreadDifferentModelClient.put": "Type.Property.AdditionalProperties.SpreadDifferentModel.put", "type.property.additionalproperties.SpreadDifferentModelClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentModel.put", - "type.property.additionalproperties.SpreadDifferentStringAsyncClient": "null", + "type.property.additionalproperties.SpreadDifferentStringAsyncClient": "Type.Property.AdditionalProperties.SpreadDifferentString", "type.property.additionalproperties.SpreadDifferentStringAsyncClient.get": "Type.Property.AdditionalProperties.SpreadDifferentString.get", "type.property.additionalproperties.SpreadDifferentStringAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentString.get", "type.property.additionalproperties.SpreadDifferentStringAsyncClient.put": "Type.Property.AdditionalProperties.SpreadDifferentString.put", "type.property.additionalproperties.SpreadDifferentStringAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentString.put", - "type.property.additionalproperties.SpreadDifferentStringClient": "null", + "type.property.additionalproperties.SpreadDifferentStringClient": "Type.Property.AdditionalProperties.SpreadDifferentString", "type.property.additionalproperties.SpreadDifferentStringClient.get": "Type.Property.AdditionalProperties.SpreadDifferentString.get", "type.property.additionalproperties.SpreadDifferentStringClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentString.get", "type.property.additionalproperties.SpreadDifferentStringClient.put": "Type.Property.AdditionalProperties.SpreadDifferentString.put", "type.property.additionalproperties.SpreadDifferentStringClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadDifferentString.put", - "type.property.additionalproperties.SpreadFloatAsyncClient": "null", + "type.property.additionalproperties.SpreadFloatAsyncClient": "Type.Property.AdditionalProperties.SpreadFloat", "type.property.additionalproperties.SpreadFloatAsyncClient.get": "Type.Property.AdditionalProperties.SpreadFloat.get", "type.property.additionalproperties.SpreadFloatAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadFloat.get", "type.property.additionalproperties.SpreadFloatAsyncClient.put": "Type.Property.AdditionalProperties.SpreadFloat.put", "type.property.additionalproperties.SpreadFloatAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadFloat.put", - "type.property.additionalproperties.SpreadFloatClient": "null", + "type.property.additionalproperties.SpreadFloatClient": "Type.Property.AdditionalProperties.SpreadFloat", "type.property.additionalproperties.SpreadFloatClient.get": "Type.Property.AdditionalProperties.SpreadFloat.get", "type.property.additionalproperties.SpreadFloatClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadFloat.get", "type.property.additionalproperties.SpreadFloatClient.put": "Type.Property.AdditionalProperties.SpreadFloat.put", "type.property.additionalproperties.SpreadFloatClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadFloat.put", - "type.property.additionalproperties.SpreadModelArrayAsyncClient": "null", + "type.property.additionalproperties.SpreadModelArrayAsyncClient": "Type.Property.AdditionalProperties.SpreadModelArray", "type.property.additionalproperties.SpreadModelArrayAsyncClient.get": "Type.Property.AdditionalProperties.SpreadModelArray.get", "type.property.additionalproperties.SpreadModelArrayAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadModelArray.get", "type.property.additionalproperties.SpreadModelArrayAsyncClient.put": "Type.Property.AdditionalProperties.SpreadModelArray.put", "type.property.additionalproperties.SpreadModelArrayAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadModelArray.put", - "type.property.additionalproperties.SpreadModelArrayClient": "null", + "type.property.additionalproperties.SpreadModelArrayClient": "Type.Property.AdditionalProperties.SpreadModelArray", "type.property.additionalproperties.SpreadModelArrayClient.get": "Type.Property.AdditionalProperties.SpreadModelArray.get", "type.property.additionalproperties.SpreadModelArrayClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadModelArray.get", "type.property.additionalproperties.SpreadModelArrayClient.put": "Type.Property.AdditionalProperties.SpreadModelArray.put", "type.property.additionalproperties.SpreadModelArrayClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadModelArray.put", - "type.property.additionalproperties.SpreadModelAsyncClient": "null", + "type.property.additionalproperties.SpreadModelAsyncClient": "Type.Property.AdditionalProperties.SpreadModel", "type.property.additionalproperties.SpreadModelAsyncClient.get": "Type.Property.AdditionalProperties.SpreadModel.get", "type.property.additionalproperties.SpreadModelAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadModel.get", "type.property.additionalproperties.SpreadModelAsyncClient.put": "Type.Property.AdditionalProperties.SpreadModel.put", "type.property.additionalproperties.SpreadModelAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadModel.put", - "type.property.additionalproperties.SpreadModelClient": "null", + "type.property.additionalproperties.SpreadModelClient": "Type.Property.AdditionalProperties.SpreadModel", "type.property.additionalproperties.SpreadModelClient.get": "Type.Property.AdditionalProperties.SpreadModel.get", "type.property.additionalproperties.SpreadModelClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadModel.get", "type.property.additionalproperties.SpreadModelClient.put": "Type.Property.AdditionalProperties.SpreadModel.put", "type.property.additionalproperties.SpreadModelClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadModel.put", - "type.property.additionalproperties.SpreadRecordDiscriminatedUnionAsyncClient": "null", + "type.property.additionalproperties.SpreadRecordDiscriminatedUnionAsyncClient": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionAsyncClient.get": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionAsyncClient.put": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.put", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.put", - "type.property.additionalproperties.SpreadRecordDiscriminatedUnionClient": "null", + "type.property.additionalproperties.SpreadRecordDiscriminatedUnionClient": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionClient.get": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionClient.put": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.put", "type.property.additionalproperties.SpreadRecordDiscriminatedUnionClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordDiscriminatedUnion.put", - "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2AsyncClient": "null", + "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2AsyncClient": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2AsyncClient.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2AsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2AsyncClient.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.put", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2AsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.put", - "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2Client": "null", + "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2Client": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2Client.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2Client.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2Client.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.put", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion2Client.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion2.put", - "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3AsyncClient": "null", + "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3AsyncClient": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3AsyncClient.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3AsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3AsyncClient.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.put", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3AsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.put", - "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3Client": "null", + "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3Client": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3Client.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3Client.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3Client.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.put", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnion3Client.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion3.put", - "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionAsyncClient": "null", + "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionAsyncClient": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionAsyncClient.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionAsyncClient.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.put", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.put", - "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionClient": "null", + "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionClient": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionClient.get": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.get", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionClient.put": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.put", "type.property.additionalproperties.SpreadRecordNonDiscriminatedUnionClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordNonDiscriminatedUnion.put", - "type.property.additionalproperties.SpreadRecordUnionAsyncClient": "null", + "type.property.additionalproperties.SpreadRecordUnionAsyncClient": "Type.Property.AdditionalProperties.SpreadRecordUnion", "type.property.additionalproperties.SpreadRecordUnionAsyncClient.get": "Type.Property.AdditionalProperties.SpreadRecordUnion.get", "type.property.additionalproperties.SpreadRecordUnionAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordUnion.get", "type.property.additionalproperties.SpreadRecordUnionAsyncClient.put": "Type.Property.AdditionalProperties.SpreadRecordUnion.put", "type.property.additionalproperties.SpreadRecordUnionAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordUnion.put", - "type.property.additionalproperties.SpreadRecordUnionClient": "null", + "type.property.additionalproperties.SpreadRecordUnionClient": "Type.Property.AdditionalProperties.SpreadRecordUnion", "type.property.additionalproperties.SpreadRecordUnionClient.get": "Type.Property.AdditionalProperties.SpreadRecordUnion.get", "type.property.additionalproperties.SpreadRecordUnionClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadRecordUnion.get", "type.property.additionalproperties.SpreadRecordUnionClient.put": "Type.Property.AdditionalProperties.SpreadRecordUnion.put", "type.property.additionalproperties.SpreadRecordUnionClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadRecordUnion.put", - "type.property.additionalproperties.SpreadStringAsyncClient": "null", + "type.property.additionalproperties.SpreadStringAsyncClient": "Type.Property.AdditionalProperties.SpreadString", "type.property.additionalproperties.SpreadStringAsyncClient.get": "Type.Property.AdditionalProperties.SpreadString.get", "type.property.additionalproperties.SpreadStringAsyncClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadString.get", "type.property.additionalproperties.SpreadStringAsyncClient.put": "Type.Property.AdditionalProperties.SpreadString.put", "type.property.additionalproperties.SpreadStringAsyncClient.putWithResponse": "Type.Property.AdditionalProperties.SpreadString.put", - "type.property.additionalproperties.SpreadStringClient": "null", + "type.property.additionalproperties.SpreadStringClient": "Type.Property.AdditionalProperties.SpreadString", "type.property.additionalproperties.SpreadStringClient.get": "Type.Property.AdditionalProperties.SpreadString.get", "type.property.additionalproperties.SpreadStringClient.getWithResponse": "Type.Property.AdditionalProperties.SpreadString.get", "type.property.additionalproperties.SpreadStringClient.put": "Type.Property.AdditionalProperties.SpreadString.put", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-nullable_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-nullable_apiview_properties.json index f29b35fc0d..55a6f1c60f 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-nullable_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-nullable_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.property.nullable.BytesAsyncClient": "null", + "type.property.nullable.BytesAsyncClient": "Type.Property.Nullable.Bytes", "type.property.nullable.BytesAsyncClient.getNonNull": "Type.Property.Nullable.Bytes.getNonNull", "type.property.nullable.BytesAsyncClient.getNonNullWithResponse": "Type.Property.Nullable.Bytes.getNonNull", "type.property.nullable.BytesAsyncClient.getNull": "Type.Property.Nullable.Bytes.getNull", @@ -10,7 +10,7 @@ "type.property.nullable.BytesAsyncClient.patchNonNullWithResponse": "Type.Property.Nullable.Bytes.patchNonNull", "type.property.nullable.BytesAsyncClient.patchNull": "Type.Property.Nullable.Bytes.patchNull", "type.property.nullable.BytesAsyncClient.patchNullWithResponse": "Type.Property.Nullable.Bytes.patchNull", - "type.property.nullable.BytesClient": "null", + "type.property.nullable.BytesClient": "Type.Property.Nullable.Bytes", "type.property.nullable.BytesClient.getNonNull": "Type.Property.Nullable.Bytes.getNonNull", "type.property.nullable.BytesClient.getNonNullWithResponse": "Type.Property.Nullable.Bytes.getNonNull", "type.property.nullable.BytesClient.getNull": "Type.Property.Nullable.Bytes.getNull", @@ -19,7 +19,7 @@ "type.property.nullable.BytesClient.patchNonNullWithResponse": "Type.Property.Nullable.Bytes.patchNonNull", "type.property.nullable.BytesClient.patchNull": "Type.Property.Nullable.Bytes.patchNull", "type.property.nullable.BytesClient.patchNullWithResponse": "Type.Property.Nullable.Bytes.patchNull", - "type.property.nullable.CollectionsByteAsyncClient": "null", + "type.property.nullable.CollectionsByteAsyncClient": "Type.Property.Nullable.CollectionsByte", "type.property.nullable.CollectionsByteAsyncClient.getNonNull": "Type.Property.Nullable.CollectionsByte.getNonNull", "type.property.nullable.CollectionsByteAsyncClient.getNonNullWithResponse": "Type.Property.Nullable.CollectionsByte.getNonNull", "type.property.nullable.CollectionsByteAsyncClient.getNull": "Type.Property.Nullable.CollectionsByte.getNull", @@ -28,7 +28,7 @@ "type.property.nullable.CollectionsByteAsyncClient.patchNonNullWithResponse": "Type.Property.Nullable.CollectionsByte.patchNonNull", "type.property.nullable.CollectionsByteAsyncClient.patchNull": "Type.Property.Nullable.CollectionsByte.patchNull", "type.property.nullable.CollectionsByteAsyncClient.patchNullWithResponse": "Type.Property.Nullable.CollectionsByte.patchNull", - "type.property.nullable.CollectionsByteClient": "null", + "type.property.nullable.CollectionsByteClient": "Type.Property.Nullable.CollectionsByte", "type.property.nullable.CollectionsByteClient.getNonNull": "Type.Property.Nullable.CollectionsByte.getNonNull", "type.property.nullable.CollectionsByteClient.getNonNullWithResponse": "Type.Property.Nullable.CollectionsByte.getNonNull", "type.property.nullable.CollectionsByteClient.getNull": "Type.Property.Nullable.CollectionsByte.getNull", @@ -37,7 +37,7 @@ "type.property.nullable.CollectionsByteClient.patchNonNullWithResponse": "Type.Property.Nullable.CollectionsByte.patchNonNull", "type.property.nullable.CollectionsByteClient.patchNull": "Type.Property.Nullable.CollectionsByte.patchNull", "type.property.nullable.CollectionsByteClient.patchNullWithResponse": "Type.Property.Nullable.CollectionsByte.patchNull", - "type.property.nullable.CollectionsModelAsyncClient": "null", + "type.property.nullable.CollectionsModelAsyncClient": "Type.Property.Nullable.CollectionsModel", "type.property.nullable.CollectionsModelAsyncClient.getNonNull": "Type.Property.Nullable.CollectionsModel.getNonNull", "type.property.nullable.CollectionsModelAsyncClient.getNonNullWithResponse": "Type.Property.Nullable.CollectionsModel.getNonNull", "type.property.nullable.CollectionsModelAsyncClient.getNull": "Type.Property.Nullable.CollectionsModel.getNull", @@ -46,7 +46,7 @@ "type.property.nullable.CollectionsModelAsyncClient.patchNonNullWithResponse": "Type.Property.Nullable.CollectionsModel.patchNonNull", "type.property.nullable.CollectionsModelAsyncClient.patchNull": "Type.Property.Nullable.CollectionsModel.patchNull", "type.property.nullable.CollectionsModelAsyncClient.patchNullWithResponse": "Type.Property.Nullable.CollectionsModel.patchNull", - "type.property.nullable.CollectionsModelClient": "null", + "type.property.nullable.CollectionsModelClient": "Type.Property.Nullable.CollectionsModel", "type.property.nullable.CollectionsModelClient.getNonNull": "Type.Property.Nullable.CollectionsModel.getNonNull", "type.property.nullable.CollectionsModelClient.getNonNullWithResponse": "Type.Property.Nullable.CollectionsModel.getNonNull", "type.property.nullable.CollectionsModelClient.getNull": "Type.Property.Nullable.CollectionsModel.getNull", @@ -55,7 +55,7 @@ "type.property.nullable.CollectionsModelClient.patchNonNullWithResponse": "Type.Property.Nullable.CollectionsModel.patchNonNull", "type.property.nullable.CollectionsModelClient.patchNull": "Type.Property.Nullable.CollectionsModel.patchNull", "type.property.nullable.CollectionsModelClient.patchNullWithResponse": "Type.Property.Nullable.CollectionsModel.patchNull", - "type.property.nullable.CollectionsStringAsyncClient": "null", + "type.property.nullable.CollectionsStringAsyncClient": "Type.Property.Nullable.CollectionsString", "type.property.nullable.CollectionsStringAsyncClient.getNonNull": "Type.Property.Nullable.CollectionsString.getNonNull", "type.property.nullable.CollectionsStringAsyncClient.getNonNullWithResponse": "Type.Property.Nullable.CollectionsString.getNonNull", "type.property.nullable.CollectionsStringAsyncClient.getNull": "Type.Property.Nullable.CollectionsString.getNull", @@ -64,7 +64,7 @@ "type.property.nullable.CollectionsStringAsyncClient.patchNonNullWithResponse": "Type.Property.Nullable.CollectionsString.patchNonNull", "type.property.nullable.CollectionsStringAsyncClient.patchNull": "Type.Property.Nullable.CollectionsString.patchNull", "type.property.nullable.CollectionsStringAsyncClient.patchNullWithResponse": "Type.Property.Nullable.CollectionsString.patchNull", - "type.property.nullable.CollectionsStringClient": "null", + "type.property.nullable.CollectionsStringClient": "Type.Property.Nullable.CollectionsString", "type.property.nullable.CollectionsStringClient.getNonNull": "Type.Property.Nullable.CollectionsString.getNonNull", "type.property.nullable.CollectionsStringClient.getNonNullWithResponse": "Type.Property.Nullable.CollectionsString.getNonNull", "type.property.nullable.CollectionsStringClient.getNull": "Type.Property.Nullable.CollectionsString.getNull", @@ -73,7 +73,7 @@ "type.property.nullable.CollectionsStringClient.patchNonNullWithResponse": "Type.Property.Nullable.CollectionsString.patchNonNull", "type.property.nullable.CollectionsStringClient.patchNull": "Type.Property.Nullable.CollectionsString.patchNull", "type.property.nullable.CollectionsStringClient.patchNullWithResponse": "Type.Property.Nullable.CollectionsString.patchNull", - "type.property.nullable.DatetimeOperationAsyncClient": "null", + "type.property.nullable.DatetimeOperationAsyncClient": "Type.Property.Nullable.Datetime", "type.property.nullable.DatetimeOperationAsyncClient.getNonNull": "Type.Property.Nullable.Datetime.getNonNull", "type.property.nullable.DatetimeOperationAsyncClient.getNonNullWithResponse": "Type.Property.Nullable.Datetime.getNonNull", "type.property.nullable.DatetimeOperationAsyncClient.getNull": "Type.Property.Nullable.Datetime.getNull", @@ -82,7 +82,7 @@ "type.property.nullable.DatetimeOperationAsyncClient.patchNonNullWithResponse": "Type.Property.Nullable.Datetime.patchNonNull", "type.property.nullable.DatetimeOperationAsyncClient.patchNull": "Type.Property.Nullable.Datetime.patchNull", "type.property.nullable.DatetimeOperationAsyncClient.patchNullWithResponse": "Type.Property.Nullable.Datetime.patchNull", - "type.property.nullable.DatetimeOperationClient": "null", + "type.property.nullable.DatetimeOperationClient": "Type.Property.Nullable.Datetime", "type.property.nullable.DatetimeOperationClient.getNonNull": "Type.Property.Nullable.Datetime.getNonNull", "type.property.nullable.DatetimeOperationClient.getNonNullWithResponse": "Type.Property.Nullable.Datetime.getNonNull", "type.property.nullable.DatetimeOperationClient.getNull": "Type.Property.Nullable.Datetime.getNull", @@ -91,7 +91,7 @@ "type.property.nullable.DatetimeOperationClient.patchNonNullWithResponse": "Type.Property.Nullable.Datetime.patchNonNull", "type.property.nullable.DatetimeOperationClient.patchNull": "Type.Property.Nullable.Datetime.patchNull", "type.property.nullable.DatetimeOperationClient.patchNullWithResponse": "Type.Property.Nullable.Datetime.patchNull", - "type.property.nullable.DurationOperationAsyncClient": "null", + "type.property.nullable.DurationOperationAsyncClient": "Type.Property.Nullable.Duration", "type.property.nullable.DurationOperationAsyncClient.getNonNull": "Type.Property.Nullable.Duration.getNonNull", "type.property.nullable.DurationOperationAsyncClient.getNonNullWithResponse": "Type.Property.Nullable.Duration.getNonNull", "type.property.nullable.DurationOperationAsyncClient.getNull": "Type.Property.Nullable.Duration.getNull", @@ -100,7 +100,7 @@ "type.property.nullable.DurationOperationAsyncClient.patchNonNullWithResponse": "Type.Property.Nullable.Duration.patchNonNull", "type.property.nullable.DurationOperationAsyncClient.patchNull": "Type.Property.Nullable.Duration.patchNull", "type.property.nullable.DurationOperationAsyncClient.patchNullWithResponse": "Type.Property.Nullable.Duration.patchNull", - "type.property.nullable.DurationOperationClient": "null", + "type.property.nullable.DurationOperationClient": "Type.Property.Nullable.Duration", "type.property.nullable.DurationOperationClient.getNonNull": "Type.Property.Nullable.Duration.getNonNull", "type.property.nullable.DurationOperationClient.getNonNullWithResponse": "Type.Property.Nullable.Duration.getNonNull", "type.property.nullable.DurationOperationClient.getNull": "Type.Property.Nullable.Duration.getNull", @@ -110,7 +110,7 @@ "type.property.nullable.DurationOperationClient.patchNull": "Type.Property.Nullable.Duration.patchNull", "type.property.nullable.DurationOperationClient.patchNullWithResponse": "Type.Property.Nullable.Duration.patchNull", "type.property.nullable.NullableClientBuilder": "Type.Property.Nullable", - "type.property.nullable.StringOperationAsyncClient": "null", + "type.property.nullable.StringOperationAsyncClient": "Type.Property.Nullable.String", "type.property.nullable.StringOperationAsyncClient.getNonNull": "Type.Property.Nullable.String.getNonNull", "type.property.nullable.StringOperationAsyncClient.getNonNullWithResponse": "Type.Property.Nullable.String.getNonNull", "type.property.nullable.StringOperationAsyncClient.getNull": "Type.Property.Nullable.String.getNull", @@ -119,7 +119,7 @@ "type.property.nullable.StringOperationAsyncClient.patchNonNullWithResponse": "Type.Property.Nullable.String.patchNonNull", "type.property.nullable.StringOperationAsyncClient.patchNull": "Type.Property.Nullable.String.patchNull", "type.property.nullable.StringOperationAsyncClient.patchNullWithResponse": "Type.Property.Nullable.String.patchNull", - "type.property.nullable.StringOperationClient": "null", + "type.property.nullable.StringOperationClient": "Type.Property.Nullable.String", "type.property.nullable.StringOperationClient.getNonNull": "Type.Property.Nullable.String.getNonNull", "type.property.nullable.StringOperationClient.getNonNullWithResponse": "Type.Property.Nullable.String.getNonNull", "type.property.nullable.StringOperationClient.getNull": "Type.Property.Nullable.String.getNull", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-optional_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-optional_apiview_properties.json index e8680afb17..f0104ae134 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-optional_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-optional_apiview_properties.json @@ -1,7 +1,7 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.property.optional.BooleanLiteralAsyncClient": "null", + "type.property.optional.BooleanLiteralAsyncClient": "Type.Property.Optional.BooleanLiteral", "type.property.optional.BooleanLiteralAsyncClient.getAll": "Type.Property.Optional.BooleanLiteral.getAll", "type.property.optional.BooleanLiteralAsyncClient.getAllWithResponse": "Type.Property.Optional.BooleanLiteral.getAll", "type.property.optional.BooleanLiteralAsyncClient.getDefault": "Type.Property.Optional.BooleanLiteral.getDefault", @@ -10,7 +10,7 @@ "type.property.optional.BooleanLiteralAsyncClient.putAllWithResponse": "Type.Property.Optional.BooleanLiteral.putAll", "type.property.optional.BooleanLiteralAsyncClient.putDefault": "Type.Property.Optional.BooleanLiteral.putDefault", "type.property.optional.BooleanLiteralAsyncClient.putDefaultWithResponse": "Type.Property.Optional.BooleanLiteral.putDefault", - "type.property.optional.BooleanLiteralClient": "null", + "type.property.optional.BooleanLiteralClient": "Type.Property.Optional.BooleanLiteral", "type.property.optional.BooleanLiteralClient.getAll": "Type.Property.Optional.BooleanLiteral.getAll", "type.property.optional.BooleanLiteralClient.getAllWithResponse": "Type.Property.Optional.BooleanLiteral.getAll", "type.property.optional.BooleanLiteralClient.getDefault": "Type.Property.Optional.BooleanLiteral.getDefault", @@ -19,7 +19,7 @@ "type.property.optional.BooleanLiteralClient.putAllWithResponse": "Type.Property.Optional.BooleanLiteral.putAll", "type.property.optional.BooleanLiteralClient.putDefault": "Type.Property.Optional.BooleanLiteral.putDefault", "type.property.optional.BooleanLiteralClient.putDefaultWithResponse": "Type.Property.Optional.BooleanLiteral.putDefault", - "type.property.optional.BytesAsyncClient": "null", + "type.property.optional.BytesAsyncClient": "Type.Property.Optional.Bytes", "type.property.optional.BytesAsyncClient.getAll": "Type.Property.Optional.Bytes.getAll", "type.property.optional.BytesAsyncClient.getAllWithResponse": "Type.Property.Optional.Bytes.getAll", "type.property.optional.BytesAsyncClient.getDefault": "Type.Property.Optional.Bytes.getDefault", @@ -28,7 +28,7 @@ "type.property.optional.BytesAsyncClient.putAllWithResponse": "Type.Property.Optional.Bytes.putAll", "type.property.optional.BytesAsyncClient.putDefault": "Type.Property.Optional.Bytes.putDefault", "type.property.optional.BytesAsyncClient.putDefaultWithResponse": "Type.Property.Optional.Bytes.putDefault", - "type.property.optional.BytesClient": "null", + "type.property.optional.BytesClient": "Type.Property.Optional.Bytes", "type.property.optional.BytesClient.getAll": "Type.Property.Optional.Bytes.getAll", "type.property.optional.BytesClient.getAllWithResponse": "Type.Property.Optional.Bytes.getAll", "type.property.optional.BytesClient.getDefault": "Type.Property.Optional.Bytes.getDefault", @@ -37,7 +37,7 @@ "type.property.optional.BytesClient.putAllWithResponse": "Type.Property.Optional.Bytes.putAll", "type.property.optional.BytesClient.putDefault": "Type.Property.Optional.Bytes.putDefault", "type.property.optional.BytesClient.putDefaultWithResponse": "Type.Property.Optional.Bytes.putDefault", - "type.property.optional.CollectionsByteAsyncClient": "null", + "type.property.optional.CollectionsByteAsyncClient": "Type.Property.Optional.CollectionsByte", "type.property.optional.CollectionsByteAsyncClient.getAll": "Type.Property.Optional.CollectionsByte.getAll", "type.property.optional.CollectionsByteAsyncClient.getAllWithResponse": "Type.Property.Optional.CollectionsByte.getAll", "type.property.optional.CollectionsByteAsyncClient.getDefault": "Type.Property.Optional.CollectionsByte.getDefault", @@ -46,7 +46,7 @@ "type.property.optional.CollectionsByteAsyncClient.putAllWithResponse": "Type.Property.Optional.CollectionsByte.putAll", "type.property.optional.CollectionsByteAsyncClient.putDefault": "Type.Property.Optional.CollectionsByte.putDefault", "type.property.optional.CollectionsByteAsyncClient.putDefaultWithResponse": "Type.Property.Optional.CollectionsByte.putDefault", - "type.property.optional.CollectionsByteClient": "null", + "type.property.optional.CollectionsByteClient": "Type.Property.Optional.CollectionsByte", "type.property.optional.CollectionsByteClient.getAll": "Type.Property.Optional.CollectionsByte.getAll", "type.property.optional.CollectionsByteClient.getAllWithResponse": "Type.Property.Optional.CollectionsByte.getAll", "type.property.optional.CollectionsByteClient.getDefault": "Type.Property.Optional.CollectionsByte.getDefault", @@ -55,7 +55,7 @@ "type.property.optional.CollectionsByteClient.putAllWithResponse": "Type.Property.Optional.CollectionsByte.putAll", "type.property.optional.CollectionsByteClient.putDefault": "Type.Property.Optional.CollectionsByte.putDefault", "type.property.optional.CollectionsByteClient.putDefaultWithResponse": "Type.Property.Optional.CollectionsByte.putDefault", - "type.property.optional.CollectionsModelAsyncClient": "null", + "type.property.optional.CollectionsModelAsyncClient": "Type.Property.Optional.CollectionsModel", "type.property.optional.CollectionsModelAsyncClient.getAll": "Type.Property.Optional.CollectionsModel.getAll", "type.property.optional.CollectionsModelAsyncClient.getAllWithResponse": "Type.Property.Optional.CollectionsModel.getAll", "type.property.optional.CollectionsModelAsyncClient.getDefault": "Type.Property.Optional.CollectionsModel.getDefault", @@ -64,7 +64,7 @@ "type.property.optional.CollectionsModelAsyncClient.putAllWithResponse": "Type.Property.Optional.CollectionsModel.putAll", "type.property.optional.CollectionsModelAsyncClient.putDefault": "Type.Property.Optional.CollectionsModel.putDefault", "type.property.optional.CollectionsModelAsyncClient.putDefaultWithResponse": "Type.Property.Optional.CollectionsModel.putDefault", - "type.property.optional.CollectionsModelClient": "null", + "type.property.optional.CollectionsModelClient": "Type.Property.Optional.CollectionsModel", "type.property.optional.CollectionsModelClient.getAll": "Type.Property.Optional.CollectionsModel.getAll", "type.property.optional.CollectionsModelClient.getAllWithResponse": "Type.Property.Optional.CollectionsModel.getAll", "type.property.optional.CollectionsModelClient.getDefault": "Type.Property.Optional.CollectionsModel.getDefault", @@ -73,7 +73,7 @@ "type.property.optional.CollectionsModelClient.putAllWithResponse": "Type.Property.Optional.CollectionsModel.putAll", "type.property.optional.CollectionsModelClient.putDefault": "Type.Property.Optional.CollectionsModel.putDefault", "type.property.optional.CollectionsModelClient.putDefaultWithResponse": "Type.Property.Optional.CollectionsModel.putDefault", - "type.property.optional.DatetimeOperationAsyncClient": "null", + "type.property.optional.DatetimeOperationAsyncClient": "Type.Property.Optional.Datetime", "type.property.optional.DatetimeOperationAsyncClient.getAll": "Type.Property.Optional.Datetime.getAll", "type.property.optional.DatetimeOperationAsyncClient.getAllWithResponse": "Type.Property.Optional.Datetime.getAll", "type.property.optional.DatetimeOperationAsyncClient.getDefault": "Type.Property.Optional.Datetime.getDefault", @@ -82,7 +82,7 @@ "type.property.optional.DatetimeOperationAsyncClient.putAllWithResponse": "Type.Property.Optional.Datetime.putAll", "type.property.optional.DatetimeOperationAsyncClient.putDefault": "Type.Property.Optional.Datetime.putDefault", "type.property.optional.DatetimeOperationAsyncClient.putDefaultWithResponse": "Type.Property.Optional.Datetime.putDefault", - "type.property.optional.DatetimeOperationClient": "null", + "type.property.optional.DatetimeOperationClient": "Type.Property.Optional.Datetime", "type.property.optional.DatetimeOperationClient.getAll": "Type.Property.Optional.Datetime.getAll", "type.property.optional.DatetimeOperationClient.getAllWithResponse": "Type.Property.Optional.Datetime.getAll", "type.property.optional.DatetimeOperationClient.getDefault": "Type.Property.Optional.Datetime.getDefault", @@ -91,7 +91,7 @@ "type.property.optional.DatetimeOperationClient.putAllWithResponse": "Type.Property.Optional.Datetime.putAll", "type.property.optional.DatetimeOperationClient.putDefault": "Type.Property.Optional.Datetime.putDefault", "type.property.optional.DatetimeOperationClient.putDefaultWithResponse": "Type.Property.Optional.Datetime.putDefault", - "type.property.optional.DurationOperationAsyncClient": "null", + "type.property.optional.DurationOperationAsyncClient": "Type.Property.Optional.Duration", "type.property.optional.DurationOperationAsyncClient.getAll": "Type.Property.Optional.Duration.getAll", "type.property.optional.DurationOperationAsyncClient.getAllWithResponse": "Type.Property.Optional.Duration.getAll", "type.property.optional.DurationOperationAsyncClient.getDefault": "Type.Property.Optional.Duration.getDefault", @@ -100,7 +100,7 @@ "type.property.optional.DurationOperationAsyncClient.putAllWithResponse": "Type.Property.Optional.Duration.putAll", "type.property.optional.DurationOperationAsyncClient.putDefault": "Type.Property.Optional.Duration.putDefault", "type.property.optional.DurationOperationAsyncClient.putDefaultWithResponse": "Type.Property.Optional.Duration.putDefault", - "type.property.optional.DurationOperationClient": "null", + "type.property.optional.DurationOperationClient": "Type.Property.Optional.Duration", "type.property.optional.DurationOperationClient.getAll": "Type.Property.Optional.Duration.getAll", "type.property.optional.DurationOperationClient.getAllWithResponse": "Type.Property.Optional.Duration.getAll", "type.property.optional.DurationOperationClient.getDefault": "Type.Property.Optional.Duration.getDefault", @@ -109,7 +109,7 @@ "type.property.optional.DurationOperationClient.putAllWithResponse": "Type.Property.Optional.Duration.putAll", "type.property.optional.DurationOperationClient.putDefault": "Type.Property.Optional.Duration.putDefault", "type.property.optional.DurationOperationClient.putDefaultWithResponse": "Type.Property.Optional.Duration.putDefault", - "type.property.optional.FloatLiteralAsyncClient": "null", + "type.property.optional.FloatLiteralAsyncClient": "Type.Property.Optional.FloatLiteral", "type.property.optional.FloatLiteralAsyncClient.getAll": "Type.Property.Optional.FloatLiteral.getAll", "type.property.optional.FloatLiteralAsyncClient.getAllWithResponse": "Type.Property.Optional.FloatLiteral.getAll", "type.property.optional.FloatLiteralAsyncClient.getDefault": "Type.Property.Optional.FloatLiteral.getDefault", @@ -118,7 +118,7 @@ "type.property.optional.FloatLiteralAsyncClient.putAllWithResponse": "Type.Property.Optional.FloatLiteral.putAll", "type.property.optional.FloatLiteralAsyncClient.putDefault": "Type.Property.Optional.FloatLiteral.putDefault", "type.property.optional.FloatLiteralAsyncClient.putDefaultWithResponse": "Type.Property.Optional.FloatLiteral.putDefault", - "type.property.optional.FloatLiteralClient": "null", + "type.property.optional.FloatLiteralClient": "Type.Property.Optional.FloatLiteral", "type.property.optional.FloatLiteralClient.getAll": "Type.Property.Optional.FloatLiteral.getAll", "type.property.optional.FloatLiteralClient.getAllWithResponse": "Type.Property.Optional.FloatLiteral.getAll", "type.property.optional.FloatLiteralClient.getDefault": "Type.Property.Optional.FloatLiteral.getDefault", @@ -127,7 +127,7 @@ "type.property.optional.FloatLiteralClient.putAllWithResponse": "Type.Property.Optional.FloatLiteral.putAll", "type.property.optional.FloatLiteralClient.putDefault": "Type.Property.Optional.FloatLiteral.putDefault", "type.property.optional.FloatLiteralClient.putDefaultWithResponse": "Type.Property.Optional.FloatLiteral.putDefault", - "type.property.optional.IntLiteralAsyncClient": "null", + "type.property.optional.IntLiteralAsyncClient": "Type.Property.Optional.IntLiteral", "type.property.optional.IntLiteralAsyncClient.getAll": "Type.Property.Optional.IntLiteral.getAll", "type.property.optional.IntLiteralAsyncClient.getAllWithResponse": "Type.Property.Optional.IntLiteral.getAll", "type.property.optional.IntLiteralAsyncClient.getDefault": "Type.Property.Optional.IntLiteral.getDefault", @@ -136,7 +136,7 @@ "type.property.optional.IntLiteralAsyncClient.putAllWithResponse": "Type.Property.Optional.IntLiteral.putAll", "type.property.optional.IntLiteralAsyncClient.putDefault": "Type.Property.Optional.IntLiteral.putDefault", "type.property.optional.IntLiteralAsyncClient.putDefaultWithResponse": "Type.Property.Optional.IntLiteral.putDefault", - "type.property.optional.IntLiteralClient": "null", + "type.property.optional.IntLiteralClient": "Type.Property.Optional.IntLiteral", "type.property.optional.IntLiteralClient.getAll": "Type.Property.Optional.IntLiteral.getAll", "type.property.optional.IntLiteralClient.getAllWithResponse": "Type.Property.Optional.IntLiteral.getAll", "type.property.optional.IntLiteralClient.getDefault": "Type.Property.Optional.IntLiteral.getDefault", @@ -146,7 +146,7 @@ "type.property.optional.IntLiteralClient.putDefault": "Type.Property.Optional.IntLiteral.putDefault", "type.property.optional.IntLiteralClient.putDefaultWithResponse": "Type.Property.Optional.IntLiteral.putDefault", "type.property.optional.OptionalClientBuilder": "Type.Property.Optional", - "type.property.optional.PlainDateAsyncClient": "null", + "type.property.optional.PlainDateAsyncClient": "Type.Property.Optional.PlainDate", "type.property.optional.PlainDateAsyncClient.getAll": "Type.Property.Optional.PlainDate.getAll", "type.property.optional.PlainDateAsyncClient.getAllWithResponse": "Type.Property.Optional.PlainDate.getAll", "type.property.optional.PlainDateAsyncClient.getDefault": "Type.Property.Optional.PlainDate.getDefault", @@ -155,7 +155,7 @@ "type.property.optional.PlainDateAsyncClient.putAllWithResponse": "Type.Property.Optional.PlainDate.putAll", "type.property.optional.PlainDateAsyncClient.putDefault": "Type.Property.Optional.PlainDate.putDefault", "type.property.optional.PlainDateAsyncClient.putDefaultWithResponse": "Type.Property.Optional.PlainDate.putDefault", - "type.property.optional.PlainDateClient": "null", + "type.property.optional.PlainDateClient": "Type.Property.Optional.PlainDate", "type.property.optional.PlainDateClient.getAll": "Type.Property.Optional.PlainDate.getAll", "type.property.optional.PlainDateClient.getAllWithResponse": "Type.Property.Optional.PlainDate.getAll", "type.property.optional.PlainDateClient.getDefault": "Type.Property.Optional.PlainDate.getDefault", @@ -164,7 +164,7 @@ "type.property.optional.PlainDateClient.putAllWithResponse": "Type.Property.Optional.PlainDate.putAll", "type.property.optional.PlainDateClient.putDefault": "Type.Property.Optional.PlainDate.putDefault", "type.property.optional.PlainDateClient.putDefaultWithResponse": "Type.Property.Optional.PlainDate.putDefault", - "type.property.optional.PlainTimeAsyncClient": "null", + "type.property.optional.PlainTimeAsyncClient": "Type.Property.Optional.PlainTime", "type.property.optional.PlainTimeAsyncClient.getAll": "Type.Property.Optional.PlainTime.getAll", "type.property.optional.PlainTimeAsyncClient.getAllWithResponse": "Type.Property.Optional.PlainTime.getAll", "type.property.optional.PlainTimeAsyncClient.getDefault": "Type.Property.Optional.PlainTime.getDefault", @@ -173,7 +173,7 @@ "type.property.optional.PlainTimeAsyncClient.putAllWithResponse": "Type.Property.Optional.PlainTime.putAll", "type.property.optional.PlainTimeAsyncClient.putDefault": "Type.Property.Optional.PlainTime.putDefault", "type.property.optional.PlainTimeAsyncClient.putDefaultWithResponse": "Type.Property.Optional.PlainTime.putDefault", - "type.property.optional.PlainTimeClient": "null", + "type.property.optional.PlainTimeClient": "Type.Property.Optional.PlainTime", "type.property.optional.PlainTimeClient.getAll": "Type.Property.Optional.PlainTime.getAll", "type.property.optional.PlainTimeClient.getAllWithResponse": "Type.Property.Optional.PlainTime.getAll", "type.property.optional.PlainTimeClient.getDefault": "Type.Property.Optional.PlainTime.getDefault", @@ -182,7 +182,7 @@ "type.property.optional.PlainTimeClient.putAllWithResponse": "Type.Property.Optional.PlainTime.putAll", "type.property.optional.PlainTimeClient.putDefault": "Type.Property.Optional.PlainTime.putDefault", "type.property.optional.PlainTimeClient.putDefaultWithResponse": "Type.Property.Optional.PlainTime.putDefault", - "type.property.optional.RequiredAndOptionalAsyncClient": "null", + "type.property.optional.RequiredAndOptionalAsyncClient": "Type.Property.Optional.RequiredAndOptional", "type.property.optional.RequiredAndOptionalAsyncClient.getAll": "Type.Property.Optional.RequiredAndOptional.getAll", "type.property.optional.RequiredAndOptionalAsyncClient.getAllWithResponse": "Type.Property.Optional.RequiredAndOptional.getAll", "type.property.optional.RequiredAndOptionalAsyncClient.getRequiredOnly": "Type.Property.Optional.RequiredAndOptional.getRequiredOnly", @@ -191,7 +191,7 @@ "type.property.optional.RequiredAndOptionalAsyncClient.putAllWithResponse": "Type.Property.Optional.RequiredAndOptional.putAll", "type.property.optional.RequiredAndOptionalAsyncClient.putRequiredOnly": "Type.Property.Optional.RequiredAndOptional.putRequiredOnly", "type.property.optional.RequiredAndOptionalAsyncClient.putRequiredOnlyWithResponse": "Type.Property.Optional.RequiredAndOptional.putRequiredOnly", - "type.property.optional.RequiredAndOptionalClient": "null", + "type.property.optional.RequiredAndOptionalClient": "Type.Property.Optional.RequiredAndOptional", "type.property.optional.RequiredAndOptionalClient.getAll": "Type.Property.Optional.RequiredAndOptional.getAll", "type.property.optional.RequiredAndOptionalClient.getAllWithResponse": "Type.Property.Optional.RequiredAndOptional.getAll", "type.property.optional.RequiredAndOptionalClient.getRequiredOnly": "Type.Property.Optional.RequiredAndOptional.getRequiredOnly", @@ -200,7 +200,7 @@ "type.property.optional.RequiredAndOptionalClient.putAllWithResponse": "Type.Property.Optional.RequiredAndOptional.putAll", "type.property.optional.RequiredAndOptionalClient.putRequiredOnly": "Type.Property.Optional.RequiredAndOptional.putRequiredOnly", "type.property.optional.RequiredAndOptionalClient.putRequiredOnlyWithResponse": "Type.Property.Optional.RequiredAndOptional.putRequiredOnly", - "type.property.optional.StringLiteralAsyncClient": "null", + "type.property.optional.StringLiteralAsyncClient": "Type.Property.Optional.StringLiteral", "type.property.optional.StringLiteralAsyncClient.getAll": "Type.Property.Optional.StringLiteral.getAll", "type.property.optional.StringLiteralAsyncClient.getAllWithResponse": "Type.Property.Optional.StringLiteral.getAll", "type.property.optional.StringLiteralAsyncClient.getDefault": "Type.Property.Optional.StringLiteral.getDefault", @@ -209,7 +209,7 @@ "type.property.optional.StringLiteralAsyncClient.putAllWithResponse": "Type.Property.Optional.StringLiteral.putAll", "type.property.optional.StringLiteralAsyncClient.putDefault": "Type.Property.Optional.StringLiteral.putDefault", "type.property.optional.StringLiteralAsyncClient.putDefaultWithResponse": "Type.Property.Optional.StringLiteral.putDefault", - "type.property.optional.StringLiteralClient": "null", + "type.property.optional.StringLiteralClient": "Type.Property.Optional.StringLiteral", "type.property.optional.StringLiteralClient.getAll": "Type.Property.Optional.StringLiteral.getAll", "type.property.optional.StringLiteralClient.getAllWithResponse": "Type.Property.Optional.StringLiteral.getAll", "type.property.optional.StringLiteralClient.getDefault": "Type.Property.Optional.StringLiteral.getDefault", @@ -218,7 +218,7 @@ "type.property.optional.StringLiteralClient.putAllWithResponse": "Type.Property.Optional.StringLiteral.putAll", "type.property.optional.StringLiteralClient.putDefault": "Type.Property.Optional.StringLiteral.putDefault", "type.property.optional.StringLiteralClient.putDefaultWithResponse": "Type.Property.Optional.StringLiteral.putDefault", - "type.property.optional.StringOperationAsyncClient": "null", + "type.property.optional.StringOperationAsyncClient": "Type.Property.Optional.String", "type.property.optional.StringOperationAsyncClient.getAll": "Type.Property.Optional.String.getAll", "type.property.optional.StringOperationAsyncClient.getAllWithResponse": "Type.Property.Optional.String.getAll", "type.property.optional.StringOperationAsyncClient.getDefault": "Type.Property.Optional.String.getDefault", @@ -227,7 +227,7 @@ "type.property.optional.StringOperationAsyncClient.putAllWithResponse": "Type.Property.Optional.String.putAll", "type.property.optional.StringOperationAsyncClient.putDefault": "Type.Property.Optional.String.putDefault", "type.property.optional.StringOperationAsyncClient.putDefaultWithResponse": "Type.Property.Optional.String.putDefault", - "type.property.optional.StringOperationClient": "null", + "type.property.optional.StringOperationClient": "Type.Property.Optional.String", "type.property.optional.StringOperationClient.getAll": "Type.Property.Optional.String.getAll", "type.property.optional.StringOperationClient.getAllWithResponse": "Type.Property.Optional.String.getAll", "type.property.optional.StringOperationClient.getDefault": "Type.Property.Optional.String.getDefault", @@ -236,7 +236,7 @@ "type.property.optional.StringOperationClient.putAllWithResponse": "Type.Property.Optional.String.putAll", "type.property.optional.StringOperationClient.putDefault": "Type.Property.Optional.String.putDefault", "type.property.optional.StringOperationClient.putDefaultWithResponse": "Type.Property.Optional.String.putDefault", - "type.property.optional.UnionFloatLiteralAsyncClient": "null", + "type.property.optional.UnionFloatLiteralAsyncClient": "Type.Property.Optional.UnionFloatLiteral", "type.property.optional.UnionFloatLiteralAsyncClient.getAll": "Type.Property.Optional.UnionFloatLiteral.getAll", "type.property.optional.UnionFloatLiteralAsyncClient.getAllWithResponse": "Type.Property.Optional.UnionFloatLiteral.getAll", "type.property.optional.UnionFloatLiteralAsyncClient.getDefault": "Type.Property.Optional.UnionFloatLiteral.getDefault", @@ -245,7 +245,7 @@ "type.property.optional.UnionFloatLiteralAsyncClient.putAllWithResponse": "Type.Property.Optional.UnionFloatLiteral.putAll", "type.property.optional.UnionFloatLiteralAsyncClient.putDefault": "Type.Property.Optional.UnionFloatLiteral.putDefault", "type.property.optional.UnionFloatLiteralAsyncClient.putDefaultWithResponse": "Type.Property.Optional.UnionFloatLiteral.putDefault", - "type.property.optional.UnionFloatLiteralClient": "null", + "type.property.optional.UnionFloatLiteralClient": "Type.Property.Optional.UnionFloatLiteral", "type.property.optional.UnionFloatLiteralClient.getAll": "Type.Property.Optional.UnionFloatLiteral.getAll", "type.property.optional.UnionFloatLiteralClient.getAllWithResponse": "Type.Property.Optional.UnionFloatLiteral.getAll", "type.property.optional.UnionFloatLiteralClient.getDefault": "Type.Property.Optional.UnionFloatLiteral.getDefault", @@ -254,7 +254,7 @@ "type.property.optional.UnionFloatLiteralClient.putAllWithResponse": "Type.Property.Optional.UnionFloatLiteral.putAll", "type.property.optional.UnionFloatLiteralClient.putDefault": "Type.Property.Optional.UnionFloatLiteral.putDefault", "type.property.optional.UnionFloatLiteralClient.putDefaultWithResponse": "Type.Property.Optional.UnionFloatLiteral.putDefault", - "type.property.optional.UnionIntLiteralAsyncClient": "null", + "type.property.optional.UnionIntLiteralAsyncClient": "Type.Property.Optional.UnionIntLiteral", "type.property.optional.UnionIntLiteralAsyncClient.getAll": "Type.Property.Optional.UnionIntLiteral.getAll", "type.property.optional.UnionIntLiteralAsyncClient.getAllWithResponse": "Type.Property.Optional.UnionIntLiteral.getAll", "type.property.optional.UnionIntLiteralAsyncClient.getDefault": "Type.Property.Optional.UnionIntLiteral.getDefault", @@ -263,7 +263,7 @@ "type.property.optional.UnionIntLiteralAsyncClient.putAllWithResponse": "Type.Property.Optional.UnionIntLiteral.putAll", "type.property.optional.UnionIntLiteralAsyncClient.putDefault": "Type.Property.Optional.UnionIntLiteral.putDefault", "type.property.optional.UnionIntLiteralAsyncClient.putDefaultWithResponse": "Type.Property.Optional.UnionIntLiteral.putDefault", - "type.property.optional.UnionIntLiteralClient": "null", + "type.property.optional.UnionIntLiteralClient": "Type.Property.Optional.UnionIntLiteral", "type.property.optional.UnionIntLiteralClient.getAll": "Type.Property.Optional.UnionIntLiteral.getAll", "type.property.optional.UnionIntLiteralClient.getAllWithResponse": "Type.Property.Optional.UnionIntLiteral.getAll", "type.property.optional.UnionIntLiteralClient.getDefault": "Type.Property.Optional.UnionIntLiteral.getDefault", @@ -272,7 +272,7 @@ "type.property.optional.UnionIntLiteralClient.putAllWithResponse": "Type.Property.Optional.UnionIntLiteral.putAll", "type.property.optional.UnionIntLiteralClient.putDefault": "Type.Property.Optional.UnionIntLiteral.putDefault", "type.property.optional.UnionIntLiteralClient.putDefaultWithResponse": "Type.Property.Optional.UnionIntLiteral.putDefault", - "type.property.optional.UnionStringLiteralAsyncClient": "null", + "type.property.optional.UnionStringLiteralAsyncClient": "Type.Property.Optional.UnionStringLiteral", "type.property.optional.UnionStringLiteralAsyncClient.getAll": "Type.Property.Optional.UnionStringLiteral.getAll", "type.property.optional.UnionStringLiteralAsyncClient.getAllWithResponse": "Type.Property.Optional.UnionStringLiteral.getAll", "type.property.optional.UnionStringLiteralAsyncClient.getDefault": "Type.Property.Optional.UnionStringLiteral.getDefault", @@ -281,7 +281,7 @@ "type.property.optional.UnionStringLiteralAsyncClient.putAllWithResponse": "Type.Property.Optional.UnionStringLiteral.putAll", "type.property.optional.UnionStringLiteralAsyncClient.putDefault": "Type.Property.Optional.UnionStringLiteral.putDefault", "type.property.optional.UnionStringLiteralAsyncClient.putDefaultWithResponse": "Type.Property.Optional.UnionStringLiteral.putDefault", - "type.property.optional.UnionStringLiteralClient": "null", + "type.property.optional.UnionStringLiteralClient": "Type.Property.Optional.UnionStringLiteral", "type.property.optional.UnionStringLiteralClient.getAll": "Type.Property.Optional.UnionStringLiteral.getAll", "type.property.optional.UnionStringLiteralClient.getAllWithResponse": "Type.Property.Optional.UnionStringLiteral.getAll", "type.property.optional.UnionStringLiteralClient.getDefault": "Type.Property.Optional.UnionStringLiteral.getDefault", @@ -291,21 +291,21 @@ "type.property.optional.UnionStringLiteralClient.putDefault": "Type.Property.Optional.UnionStringLiteral.putDefault", "type.property.optional.UnionStringLiteralClient.putDefaultWithResponse": "Type.Property.Optional.UnionStringLiteral.putDefault", "type.property.optional.models.BooleanLiteralProperty": "Type.Property.Optional.BooleanLiteralProperty", - "type.property.optional.models.BooleanLiteralPropertyProperty": "null", + "type.property.optional.models.BooleanLiteralPropertyProperty": null, "type.property.optional.models.BytesProperty": "Type.Property.Optional.BytesProperty", "type.property.optional.models.CollectionsByteProperty": "Type.Property.Optional.CollectionsByteProperty", "type.property.optional.models.CollectionsModelProperty": "Type.Property.Optional.CollectionsModelProperty", "type.property.optional.models.DatetimeProperty": "Type.Property.Optional.DatetimeProperty", "type.property.optional.models.DurationProperty": "Type.Property.Optional.DurationProperty", "type.property.optional.models.FloatLiteralProperty": "Type.Property.Optional.FloatLiteralProperty", - "type.property.optional.models.FloatLiteralPropertyProperty": "null", + "type.property.optional.models.FloatLiteralPropertyProperty": null, "type.property.optional.models.IntLiteralProperty": "Type.Property.Optional.IntLiteralProperty", - "type.property.optional.models.IntLiteralPropertyProperty": "null", + "type.property.optional.models.IntLiteralPropertyProperty": null, "type.property.optional.models.PlainDateProperty": "Type.Property.Optional.PlainDateProperty", "type.property.optional.models.PlainTimeProperty": "Type.Property.Optional.PlainTimeProperty", "type.property.optional.models.RequiredAndOptionalProperty": "Type.Property.Optional.RequiredAndOptionalProperty", "type.property.optional.models.StringLiteralProperty": "Type.Property.Optional.StringLiteralProperty", - "type.property.optional.models.StringLiteralPropertyProperty": "null", + "type.property.optional.models.StringLiteralPropertyProperty": null, "type.property.optional.models.StringProperty": "Type.Property.Optional.StringProperty", "type.property.optional.models.UnionFloatLiteralProperty": "Type.Property.Optional.UnionFloatLiteralProperty", "type.property.optional.models.UnionFloatLiteralPropertyProperty": "UnionFloatLiteralProperty.property.anonymous", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-valuetypes_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-valuetypes_apiview_properties.json index 5fb28c3afe..7ffa643045 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-valuetypes_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-property-valuetypes_apiview_properties.json @@ -1,292 +1,292 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.property.valuetypes.BooleanLiteralAsyncClient": "null", + "type.property.valuetypes.BooleanLiteralAsyncClient": "Type.Property.ValueTypes.BooleanLiteral", "type.property.valuetypes.BooleanLiteralAsyncClient.get": "Type.Property.ValueTypes.BooleanLiteral.get", "type.property.valuetypes.BooleanLiteralAsyncClient.getWithResponse": "Type.Property.ValueTypes.BooleanLiteral.get", "type.property.valuetypes.BooleanLiteralAsyncClient.put": "Type.Property.ValueTypes.BooleanLiteral.put", "type.property.valuetypes.BooleanLiteralAsyncClient.putWithResponse": "Type.Property.ValueTypes.BooleanLiteral.put", - "type.property.valuetypes.BooleanLiteralClient": "null", + "type.property.valuetypes.BooleanLiteralClient": "Type.Property.ValueTypes.BooleanLiteral", "type.property.valuetypes.BooleanLiteralClient.get": "Type.Property.ValueTypes.BooleanLiteral.get", "type.property.valuetypes.BooleanLiteralClient.getWithResponse": "Type.Property.ValueTypes.BooleanLiteral.get", "type.property.valuetypes.BooleanLiteralClient.put": "Type.Property.ValueTypes.BooleanLiteral.put", "type.property.valuetypes.BooleanLiteralClient.putWithResponse": "Type.Property.ValueTypes.BooleanLiteral.put", - "type.property.valuetypes.BooleanOperationAsyncClient": "null", + "type.property.valuetypes.BooleanOperationAsyncClient": "Type.Property.ValueTypes.Boolean", "type.property.valuetypes.BooleanOperationAsyncClient.get": "Type.Property.ValueTypes.Boolean.get", "type.property.valuetypes.BooleanOperationAsyncClient.getWithResponse": "Type.Property.ValueTypes.Boolean.get", "type.property.valuetypes.BooleanOperationAsyncClient.put": "Type.Property.ValueTypes.Boolean.put", "type.property.valuetypes.BooleanOperationAsyncClient.putWithResponse": "Type.Property.ValueTypes.Boolean.put", - "type.property.valuetypes.BooleanOperationClient": "null", + "type.property.valuetypes.BooleanOperationClient": "Type.Property.ValueTypes.Boolean", "type.property.valuetypes.BooleanOperationClient.get": "Type.Property.ValueTypes.Boolean.get", "type.property.valuetypes.BooleanOperationClient.getWithResponse": "Type.Property.ValueTypes.Boolean.get", "type.property.valuetypes.BooleanOperationClient.put": "Type.Property.ValueTypes.Boolean.put", "type.property.valuetypes.BooleanOperationClient.putWithResponse": "Type.Property.ValueTypes.Boolean.put", - "type.property.valuetypes.BytesAsyncClient": "null", + "type.property.valuetypes.BytesAsyncClient": "Type.Property.ValueTypes.Bytes", "type.property.valuetypes.BytesAsyncClient.get": "Type.Property.ValueTypes.Bytes.get", "type.property.valuetypes.BytesAsyncClient.getWithResponse": "Type.Property.ValueTypes.Bytes.get", "type.property.valuetypes.BytesAsyncClient.put": "Type.Property.ValueTypes.Bytes.put", "type.property.valuetypes.BytesAsyncClient.putWithResponse": "Type.Property.ValueTypes.Bytes.put", - "type.property.valuetypes.BytesClient": "null", + "type.property.valuetypes.BytesClient": "Type.Property.ValueTypes.Bytes", "type.property.valuetypes.BytesClient.get": "Type.Property.ValueTypes.Bytes.get", "type.property.valuetypes.BytesClient.getWithResponse": "Type.Property.ValueTypes.Bytes.get", "type.property.valuetypes.BytesClient.put": "Type.Property.ValueTypes.Bytes.put", "type.property.valuetypes.BytesClient.putWithResponse": "Type.Property.ValueTypes.Bytes.put", - "type.property.valuetypes.CollectionsIntAsyncClient": "null", + "type.property.valuetypes.CollectionsIntAsyncClient": "Type.Property.ValueTypes.CollectionsInt", "type.property.valuetypes.CollectionsIntAsyncClient.get": "Type.Property.ValueTypes.CollectionsInt.get", "type.property.valuetypes.CollectionsIntAsyncClient.getWithResponse": "Type.Property.ValueTypes.CollectionsInt.get", "type.property.valuetypes.CollectionsIntAsyncClient.put": "Type.Property.ValueTypes.CollectionsInt.put", "type.property.valuetypes.CollectionsIntAsyncClient.putWithResponse": "Type.Property.ValueTypes.CollectionsInt.put", - "type.property.valuetypes.CollectionsIntClient": "null", + "type.property.valuetypes.CollectionsIntClient": "Type.Property.ValueTypes.CollectionsInt", "type.property.valuetypes.CollectionsIntClient.get": "Type.Property.ValueTypes.CollectionsInt.get", "type.property.valuetypes.CollectionsIntClient.getWithResponse": "Type.Property.ValueTypes.CollectionsInt.get", "type.property.valuetypes.CollectionsIntClient.put": "Type.Property.ValueTypes.CollectionsInt.put", "type.property.valuetypes.CollectionsIntClient.putWithResponse": "Type.Property.ValueTypes.CollectionsInt.put", - "type.property.valuetypes.CollectionsModelAsyncClient": "null", + "type.property.valuetypes.CollectionsModelAsyncClient": "Type.Property.ValueTypes.CollectionsModel", "type.property.valuetypes.CollectionsModelAsyncClient.get": "Type.Property.ValueTypes.CollectionsModel.get", "type.property.valuetypes.CollectionsModelAsyncClient.getWithResponse": "Type.Property.ValueTypes.CollectionsModel.get", "type.property.valuetypes.CollectionsModelAsyncClient.put": "Type.Property.ValueTypes.CollectionsModel.put", "type.property.valuetypes.CollectionsModelAsyncClient.putWithResponse": "Type.Property.ValueTypes.CollectionsModel.put", - "type.property.valuetypes.CollectionsModelClient": "null", + "type.property.valuetypes.CollectionsModelClient": "Type.Property.ValueTypes.CollectionsModel", "type.property.valuetypes.CollectionsModelClient.get": "Type.Property.ValueTypes.CollectionsModel.get", "type.property.valuetypes.CollectionsModelClient.getWithResponse": "Type.Property.ValueTypes.CollectionsModel.get", "type.property.valuetypes.CollectionsModelClient.put": "Type.Property.ValueTypes.CollectionsModel.put", "type.property.valuetypes.CollectionsModelClient.putWithResponse": "Type.Property.ValueTypes.CollectionsModel.put", - "type.property.valuetypes.CollectionsStringAsyncClient": "null", + "type.property.valuetypes.CollectionsStringAsyncClient": "Type.Property.ValueTypes.CollectionsString", "type.property.valuetypes.CollectionsStringAsyncClient.get": "Type.Property.ValueTypes.CollectionsString.get", "type.property.valuetypes.CollectionsStringAsyncClient.getWithResponse": "Type.Property.ValueTypes.CollectionsString.get", "type.property.valuetypes.CollectionsStringAsyncClient.put": "Type.Property.ValueTypes.CollectionsString.put", "type.property.valuetypes.CollectionsStringAsyncClient.putWithResponse": "Type.Property.ValueTypes.CollectionsString.put", - "type.property.valuetypes.CollectionsStringClient": "null", + "type.property.valuetypes.CollectionsStringClient": "Type.Property.ValueTypes.CollectionsString", "type.property.valuetypes.CollectionsStringClient.get": "Type.Property.ValueTypes.CollectionsString.get", "type.property.valuetypes.CollectionsStringClient.getWithResponse": "Type.Property.ValueTypes.CollectionsString.get", "type.property.valuetypes.CollectionsStringClient.put": "Type.Property.ValueTypes.CollectionsString.put", "type.property.valuetypes.CollectionsStringClient.putWithResponse": "Type.Property.ValueTypes.CollectionsString.put", - "type.property.valuetypes.DatetimeOperationAsyncClient": "null", + "type.property.valuetypes.DatetimeOperationAsyncClient": "Type.Property.ValueTypes.Datetime", "type.property.valuetypes.DatetimeOperationAsyncClient.get": "Type.Property.ValueTypes.Datetime.get", "type.property.valuetypes.DatetimeOperationAsyncClient.getWithResponse": "Type.Property.ValueTypes.Datetime.get", "type.property.valuetypes.DatetimeOperationAsyncClient.put": "Type.Property.ValueTypes.Datetime.put", "type.property.valuetypes.DatetimeOperationAsyncClient.putWithResponse": "Type.Property.ValueTypes.Datetime.put", - "type.property.valuetypes.DatetimeOperationClient": "null", + "type.property.valuetypes.DatetimeOperationClient": "Type.Property.ValueTypes.Datetime", "type.property.valuetypes.DatetimeOperationClient.get": "Type.Property.ValueTypes.Datetime.get", "type.property.valuetypes.DatetimeOperationClient.getWithResponse": "Type.Property.ValueTypes.Datetime.get", "type.property.valuetypes.DatetimeOperationClient.put": "Type.Property.ValueTypes.Datetime.put", "type.property.valuetypes.DatetimeOperationClient.putWithResponse": "Type.Property.ValueTypes.Datetime.put", - "type.property.valuetypes.Decimal128AsyncClient": "null", + "type.property.valuetypes.Decimal128AsyncClient": "Type.Property.ValueTypes.Decimal128", "type.property.valuetypes.Decimal128AsyncClient.get": "Type.Property.ValueTypes.Decimal128.get", "type.property.valuetypes.Decimal128AsyncClient.getWithResponse": "Type.Property.ValueTypes.Decimal128.get", "type.property.valuetypes.Decimal128AsyncClient.put": "Type.Property.ValueTypes.Decimal128.put", "type.property.valuetypes.Decimal128AsyncClient.putWithResponse": "Type.Property.ValueTypes.Decimal128.put", - "type.property.valuetypes.Decimal128Client": "null", + "type.property.valuetypes.Decimal128Client": "Type.Property.ValueTypes.Decimal128", "type.property.valuetypes.Decimal128Client.get": "Type.Property.ValueTypes.Decimal128.get", "type.property.valuetypes.Decimal128Client.getWithResponse": "Type.Property.ValueTypes.Decimal128.get", "type.property.valuetypes.Decimal128Client.put": "Type.Property.ValueTypes.Decimal128.put", "type.property.valuetypes.Decimal128Client.putWithResponse": "Type.Property.ValueTypes.Decimal128.put", - "type.property.valuetypes.DecimalAsyncClient": "null", + "type.property.valuetypes.DecimalAsyncClient": "Type.Property.ValueTypes.Decimal", "type.property.valuetypes.DecimalAsyncClient.get": "Type.Property.ValueTypes.Decimal.get", "type.property.valuetypes.DecimalAsyncClient.getWithResponse": "Type.Property.ValueTypes.Decimal.get", "type.property.valuetypes.DecimalAsyncClient.put": "Type.Property.ValueTypes.Decimal.put", "type.property.valuetypes.DecimalAsyncClient.putWithResponse": "Type.Property.ValueTypes.Decimal.put", - "type.property.valuetypes.DecimalClient": "null", + "type.property.valuetypes.DecimalClient": "Type.Property.ValueTypes.Decimal", "type.property.valuetypes.DecimalClient.get": "Type.Property.ValueTypes.Decimal.get", "type.property.valuetypes.DecimalClient.getWithResponse": "Type.Property.ValueTypes.Decimal.get", "type.property.valuetypes.DecimalClient.put": "Type.Property.ValueTypes.Decimal.put", "type.property.valuetypes.DecimalClient.putWithResponse": "Type.Property.ValueTypes.Decimal.put", - "type.property.valuetypes.DictionaryStringAsyncClient": "null", + "type.property.valuetypes.DictionaryStringAsyncClient": "Type.Property.ValueTypes.DictionaryString", "type.property.valuetypes.DictionaryStringAsyncClient.get": "Type.Property.ValueTypes.DictionaryString.get", "type.property.valuetypes.DictionaryStringAsyncClient.getWithResponse": "Type.Property.ValueTypes.DictionaryString.get", "type.property.valuetypes.DictionaryStringAsyncClient.put": "Type.Property.ValueTypes.DictionaryString.put", "type.property.valuetypes.DictionaryStringAsyncClient.putWithResponse": "Type.Property.ValueTypes.DictionaryString.put", - "type.property.valuetypes.DictionaryStringClient": "null", + "type.property.valuetypes.DictionaryStringClient": "Type.Property.ValueTypes.DictionaryString", "type.property.valuetypes.DictionaryStringClient.get": "Type.Property.ValueTypes.DictionaryString.get", "type.property.valuetypes.DictionaryStringClient.getWithResponse": "Type.Property.ValueTypes.DictionaryString.get", "type.property.valuetypes.DictionaryStringClient.put": "Type.Property.ValueTypes.DictionaryString.put", "type.property.valuetypes.DictionaryStringClient.putWithResponse": "Type.Property.ValueTypes.DictionaryString.put", - "type.property.valuetypes.DurationOperationAsyncClient": "null", + "type.property.valuetypes.DurationOperationAsyncClient": "Type.Property.ValueTypes.Duration", "type.property.valuetypes.DurationOperationAsyncClient.get": "Type.Property.ValueTypes.Duration.get", "type.property.valuetypes.DurationOperationAsyncClient.getWithResponse": "Type.Property.ValueTypes.Duration.get", "type.property.valuetypes.DurationOperationAsyncClient.put": "Type.Property.ValueTypes.Duration.put", "type.property.valuetypes.DurationOperationAsyncClient.putWithResponse": "Type.Property.ValueTypes.Duration.put", - "type.property.valuetypes.DurationOperationClient": "null", + "type.property.valuetypes.DurationOperationClient": "Type.Property.ValueTypes.Duration", "type.property.valuetypes.DurationOperationClient.get": "Type.Property.ValueTypes.Duration.get", "type.property.valuetypes.DurationOperationClient.getWithResponse": "Type.Property.ValueTypes.Duration.get", "type.property.valuetypes.DurationOperationClient.put": "Type.Property.ValueTypes.Duration.put", "type.property.valuetypes.DurationOperationClient.putWithResponse": "Type.Property.ValueTypes.Duration.put", - "type.property.valuetypes.EnumAsyncClient": "null", + "type.property.valuetypes.EnumAsyncClient": "Type.Property.ValueTypes.Enum", "type.property.valuetypes.EnumAsyncClient.get": "Type.Property.ValueTypes.Enum.get", "type.property.valuetypes.EnumAsyncClient.getWithResponse": "Type.Property.ValueTypes.Enum.get", "type.property.valuetypes.EnumAsyncClient.put": "Type.Property.ValueTypes.Enum.put", "type.property.valuetypes.EnumAsyncClient.putWithResponse": "Type.Property.ValueTypes.Enum.put", - "type.property.valuetypes.EnumClient": "null", + "type.property.valuetypes.EnumClient": "Type.Property.ValueTypes.Enum", "type.property.valuetypes.EnumClient.get": "Type.Property.ValueTypes.Enum.get", "type.property.valuetypes.EnumClient.getWithResponse": "Type.Property.ValueTypes.Enum.get", "type.property.valuetypes.EnumClient.put": "Type.Property.ValueTypes.Enum.put", "type.property.valuetypes.EnumClient.putWithResponse": "Type.Property.ValueTypes.Enum.put", - "type.property.valuetypes.ExtensibleEnumAsyncClient": "null", + "type.property.valuetypes.ExtensibleEnumAsyncClient": "Type.Property.ValueTypes.ExtensibleEnum", "type.property.valuetypes.ExtensibleEnumAsyncClient.get": "Type.Property.ValueTypes.ExtensibleEnum.get", "type.property.valuetypes.ExtensibleEnumAsyncClient.getWithResponse": "Type.Property.ValueTypes.ExtensibleEnum.get", "type.property.valuetypes.ExtensibleEnumAsyncClient.put": "Type.Property.ValueTypes.ExtensibleEnum.put", "type.property.valuetypes.ExtensibleEnumAsyncClient.putWithResponse": "Type.Property.ValueTypes.ExtensibleEnum.put", - "type.property.valuetypes.ExtensibleEnumClient": "null", + "type.property.valuetypes.ExtensibleEnumClient": "Type.Property.ValueTypes.ExtensibleEnum", "type.property.valuetypes.ExtensibleEnumClient.get": "Type.Property.ValueTypes.ExtensibleEnum.get", "type.property.valuetypes.ExtensibleEnumClient.getWithResponse": "Type.Property.ValueTypes.ExtensibleEnum.get", "type.property.valuetypes.ExtensibleEnumClient.put": "Type.Property.ValueTypes.ExtensibleEnum.put", "type.property.valuetypes.ExtensibleEnumClient.putWithResponse": "Type.Property.ValueTypes.ExtensibleEnum.put", - "type.property.valuetypes.FloatLiteralAsyncClient": "null", + "type.property.valuetypes.FloatLiteralAsyncClient": "Type.Property.ValueTypes.FloatLiteral", "type.property.valuetypes.FloatLiteralAsyncClient.get": "Type.Property.ValueTypes.FloatLiteral.get", "type.property.valuetypes.FloatLiteralAsyncClient.getWithResponse": "Type.Property.ValueTypes.FloatLiteral.get", "type.property.valuetypes.FloatLiteralAsyncClient.put": "Type.Property.ValueTypes.FloatLiteral.put", "type.property.valuetypes.FloatLiteralAsyncClient.putWithResponse": "Type.Property.ValueTypes.FloatLiteral.put", - "type.property.valuetypes.FloatLiteralClient": "null", + "type.property.valuetypes.FloatLiteralClient": "Type.Property.ValueTypes.FloatLiteral", "type.property.valuetypes.FloatLiteralClient.get": "Type.Property.ValueTypes.FloatLiteral.get", "type.property.valuetypes.FloatLiteralClient.getWithResponse": "Type.Property.ValueTypes.FloatLiteral.get", "type.property.valuetypes.FloatLiteralClient.put": "Type.Property.ValueTypes.FloatLiteral.put", "type.property.valuetypes.FloatLiteralClient.putWithResponse": "Type.Property.ValueTypes.FloatLiteral.put", - "type.property.valuetypes.FloatOperationAsyncClient": "null", + "type.property.valuetypes.FloatOperationAsyncClient": "Type.Property.ValueTypes.Float", "type.property.valuetypes.FloatOperationAsyncClient.get": "Type.Property.ValueTypes.Float.get", "type.property.valuetypes.FloatOperationAsyncClient.getWithResponse": "Type.Property.ValueTypes.Float.get", "type.property.valuetypes.FloatOperationAsyncClient.put": "Type.Property.ValueTypes.Float.put", "type.property.valuetypes.FloatOperationAsyncClient.putWithResponse": "Type.Property.ValueTypes.Float.put", - "type.property.valuetypes.FloatOperationClient": "null", + "type.property.valuetypes.FloatOperationClient": "Type.Property.ValueTypes.Float", "type.property.valuetypes.FloatOperationClient.get": "Type.Property.ValueTypes.Float.get", "type.property.valuetypes.FloatOperationClient.getWithResponse": "Type.Property.ValueTypes.Float.get", "type.property.valuetypes.FloatOperationClient.put": "Type.Property.ValueTypes.Float.put", "type.property.valuetypes.FloatOperationClient.putWithResponse": "Type.Property.ValueTypes.Float.put", - "type.property.valuetypes.IntAsyncClient": "null", + "type.property.valuetypes.IntAsyncClient": "Type.Property.ValueTypes.Int", "type.property.valuetypes.IntAsyncClient.get": "Type.Property.ValueTypes.Int.get", "type.property.valuetypes.IntAsyncClient.getWithResponse": "Type.Property.ValueTypes.Int.get", "type.property.valuetypes.IntAsyncClient.put": "Type.Property.ValueTypes.Int.put", "type.property.valuetypes.IntAsyncClient.putWithResponse": "Type.Property.ValueTypes.Int.put", - "type.property.valuetypes.IntClient": "null", + "type.property.valuetypes.IntClient": "Type.Property.ValueTypes.Int", "type.property.valuetypes.IntClient.get": "Type.Property.ValueTypes.Int.get", "type.property.valuetypes.IntClient.getWithResponse": "Type.Property.ValueTypes.Int.get", "type.property.valuetypes.IntClient.put": "Type.Property.ValueTypes.Int.put", "type.property.valuetypes.IntClient.putWithResponse": "Type.Property.ValueTypes.Int.put", - "type.property.valuetypes.IntLiteralAsyncClient": "null", + "type.property.valuetypes.IntLiteralAsyncClient": "Type.Property.ValueTypes.IntLiteral", "type.property.valuetypes.IntLiteralAsyncClient.get": "Type.Property.ValueTypes.IntLiteral.get", "type.property.valuetypes.IntLiteralAsyncClient.getWithResponse": "Type.Property.ValueTypes.IntLiteral.get", "type.property.valuetypes.IntLiteralAsyncClient.put": "Type.Property.ValueTypes.IntLiteral.put", "type.property.valuetypes.IntLiteralAsyncClient.putWithResponse": "Type.Property.ValueTypes.IntLiteral.put", - "type.property.valuetypes.IntLiteralClient": "null", + "type.property.valuetypes.IntLiteralClient": "Type.Property.ValueTypes.IntLiteral", "type.property.valuetypes.IntLiteralClient.get": "Type.Property.ValueTypes.IntLiteral.get", "type.property.valuetypes.IntLiteralClient.getWithResponse": "Type.Property.ValueTypes.IntLiteral.get", "type.property.valuetypes.IntLiteralClient.put": "Type.Property.ValueTypes.IntLiteral.put", "type.property.valuetypes.IntLiteralClient.putWithResponse": "Type.Property.ValueTypes.IntLiteral.put", - "type.property.valuetypes.ModelAsyncClient": "null", + "type.property.valuetypes.ModelAsyncClient": "Type.Property.ValueTypes.Model", "type.property.valuetypes.ModelAsyncClient.get": "Type.Property.ValueTypes.Model.get", "type.property.valuetypes.ModelAsyncClient.getWithResponse": "Type.Property.ValueTypes.Model.get", "type.property.valuetypes.ModelAsyncClient.put": "Type.Property.ValueTypes.Model.put", "type.property.valuetypes.ModelAsyncClient.putWithResponse": "Type.Property.ValueTypes.Model.put", - "type.property.valuetypes.ModelClient": "null", + "type.property.valuetypes.ModelClient": "Type.Property.ValueTypes.Model", "type.property.valuetypes.ModelClient.get": "Type.Property.ValueTypes.Model.get", "type.property.valuetypes.ModelClient.getWithResponse": "Type.Property.ValueTypes.Model.get", "type.property.valuetypes.ModelClient.put": "Type.Property.ValueTypes.Model.put", "type.property.valuetypes.ModelClient.putWithResponse": "Type.Property.ValueTypes.Model.put", - "type.property.valuetypes.NeverAsyncClient": "null", + "type.property.valuetypes.NeverAsyncClient": "Type.Property.ValueTypes.Never", "type.property.valuetypes.NeverAsyncClient.get": "Type.Property.ValueTypes.Never.get", "type.property.valuetypes.NeverAsyncClient.getWithResponse": "Type.Property.ValueTypes.Never.get", "type.property.valuetypes.NeverAsyncClient.put": "Type.Property.ValueTypes.Never.put", "type.property.valuetypes.NeverAsyncClient.putWithResponse": "Type.Property.ValueTypes.Never.put", - "type.property.valuetypes.NeverClient": "null", + "type.property.valuetypes.NeverClient": "Type.Property.ValueTypes.Never", "type.property.valuetypes.NeverClient.get": "Type.Property.ValueTypes.Never.get", "type.property.valuetypes.NeverClient.getWithResponse": "Type.Property.ValueTypes.Never.get", "type.property.valuetypes.NeverClient.put": "Type.Property.ValueTypes.Never.put", "type.property.valuetypes.NeverClient.putWithResponse": "Type.Property.ValueTypes.Never.put", - "type.property.valuetypes.StringLiteralAsyncClient": "null", + "type.property.valuetypes.StringLiteralAsyncClient": "Type.Property.ValueTypes.StringLiteral", "type.property.valuetypes.StringLiteralAsyncClient.get": "Type.Property.ValueTypes.StringLiteral.get", "type.property.valuetypes.StringLiteralAsyncClient.getWithResponse": "Type.Property.ValueTypes.StringLiteral.get", "type.property.valuetypes.StringLiteralAsyncClient.put": "Type.Property.ValueTypes.StringLiteral.put", "type.property.valuetypes.StringLiteralAsyncClient.putWithResponse": "Type.Property.ValueTypes.StringLiteral.put", - "type.property.valuetypes.StringLiteralClient": "null", + "type.property.valuetypes.StringLiteralClient": "Type.Property.ValueTypes.StringLiteral", "type.property.valuetypes.StringLiteralClient.get": "Type.Property.ValueTypes.StringLiteral.get", "type.property.valuetypes.StringLiteralClient.getWithResponse": "Type.Property.ValueTypes.StringLiteral.get", "type.property.valuetypes.StringLiteralClient.put": "Type.Property.ValueTypes.StringLiteral.put", "type.property.valuetypes.StringLiteralClient.putWithResponse": "Type.Property.ValueTypes.StringLiteral.put", - "type.property.valuetypes.StringOperationAsyncClient": "null", + "type.property.valuetypes.StringOperationAsyncClient": "Type.Property.ValueTypes.String", "type.property.valuetypes.StringOperationAsyncClient.get": "Type.Property.ValueTypes.String.get", "type.property.valuetypes.StringOperationAsyncClient.getWithResponse": "Type.Property.ValueTypes.String.get", "type.property.valuetypes.StringOperationAsyncClient.put": "Type.Property.ValueTypes.String.put", "type.property.valuetypes.StringOperationAsyncClient.putWithResponse": "Type.Property.ValueTypes.String.put", - "type.property.valuetypes.StringOperationClient": "null", + "type.property.valuetypes.StringOperationClient": "Type.Property.ValueTypes.String", "type.property.valuetypes.StringOperationClient.get": "Type.Property.ValueTypes.String.get", "type.property.valuetypes.StringOperationClient.getWithResponse": "Type.Property.ValueTypes.String.get", "type.property.valuetypes.StringOperationClient.put": "Type.Property.ValueTypes.String.put", "type.property.valuetypes.StringOperationClient.putWithResponse": "Type.Property.ValueTypes.String.put", - "type.property.valuetypes.UnionEnumValueAsyncClient": "null", + "type.property.valuetypes.UnionEnumValueAsyncClient": "Type.Property.ValueTypes.UnionEnumValue", "type.property.valuetypes.UnionEnumValueAsyncClient.get": "Type.Property.ValueTypes.UnionEnumValue.get", "type.property.valuetypes.UnionEnumValueAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnionEnumValue.get", "type.property.valuetypes.UnionEnumValueAsyncClient.put": "Type.Property.ValueTypes.UnionEnumValue.put", "type.property.valuetypes.UnionEnumValueAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnionEnumValue.put", - "type.property.valuetypes.UnionEnumValueClient": "null", + "type.property.valuetypes.UnionEnumValueClient": "Type.Property.ValueTypes.UnionEnumValue", "type.property.valuetypes.UnionEnumValueClient.get": "Type.Property.ValueTypes.UnionEnumValue.get", "type.property.valuetypes.UnionEnumValueClient.getWithResponse": "Type.Property.ValueTypes.UnionEnumValue.get", "type.property.valuetypes.UnionEnumValueClient.put": "Type.Property.ValueTypes.UnionEnumValue.put", "type.property.valuetypes.UnionEnumValueClient.putWithResponse": "Type.Property.ValueTypes.UnionEnumValue.put", - "type.property.valuetypes.UnionFloatLiteralAsyncClient": "null", + "type.property.valuetypes.UnionFloatLiteralAsyncClient": "Type.Property.ValueTypes.UnionFloatLiteral", "type.property.valuetypes.UnionFloatLiteralAsyncClient.get": "Type.Property.ValueTypes.UnionFloatLiteral.get", "type.property.valuetypes.UnionFloatLiteralAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnionFloatLiteral.get", "type.property.valuetypes.UnionFloatLiteralAsyncClient.put": "Type.Property.ValueTypes.UnionFloatLiteral.put", "type.property.valuetypes.UnionFloatLiteralAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnionFloatLiteral.put", - "type.property.valuetypes.UnionFloatLiteralClient": "null", + "type.property.valuetypes.UnionFloatLiteralClient": "Type.Property.ValueTypes.UnionFloatLiteral", "type.property.valuetypes.UnionFloatLiteralClient.get": "Type.Property.ValueTypes.UnionFloatLiteral.get", "type.property.valuetypes.UnionFloatLiteralClient.getWithResponse": "Type.Property.ValueTypes.UnionFloatLiteral.get", "type.property.valuetypes.UnionFloatLiteralClient.put": "Type.Property.ValueTypes.UnionFloatLiteral.put", "type.property.valuetypes.UnionFloatLiteralClient.putWithResponse": "Type.Property.ValueTypes.UnionFloatLiteral.put", - "type.property.valuetypes.UnionIntLiteralAsyncClient": "null", + "type.property.valuetypes.UnionIntLiteralAsyncClient": "Type.Property.ValueTypes.UnionIntLiteral", "type.property.valuetypes.UnionIntLiteralAsyncClient.get": "Type.Property.ValueTypes.UnionIntLiteral.get", "type.property.valuetypes.UnionIntLiteralAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnionIntLiteral.get", "type.property.valuetypes.UnionIntLiteralAsyncClient.put": "Type.Property.ValueTypes.UnionIntLiteral.put", "type.property.valuetypes.UnionIntLiteralAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnionIntLiteral.put", - "type.property.valuetypes.UnionIntLiteralClient": "null", + "type.property.valuetypes.UnionIntLiteralClient": "Type.Property.ValueTypes.UnionIntLiteral", "type.property.valuetypes.UnionIntLiteralClient.get": "Type.Property.ValueTypes.UnionIntLiteral.get", "type.property.valuetypes.UnionIntLiteralClient.getWithResponse": "Type.Property.ValueTypes.UnionIntLiteral.get", "type.property.valuetypes.UnionIntLiteralClient.put": "Type.Property.ValueTypes.UnionIntLiteral.put", "type.property.valuetypes.UnionIntLiteralClient.putWithResponse": "Type.Property.ValueTypes.UnionIntLiteral.put", - "type.property.valuetypes.UnionStringLiteralAsyncClient": "null", + "type.property.valuetypes.UnionStringLiteralAsyncClient": "Type.Property.ValueTypes.UnionStringLiteral", "type.property.valuetypes.UnionStringLiteralAsyncClient.get": "Type.Property.ValueTypes.UnionStringLiteral.get", "type.property.valuetypes.UnionStringLiteralAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnionStringLiteral.get", "type.property.valuetypes.UnionStringLiteralAsyncClient.put": "Type.Property.ValueTypes.UnionStringLiteral.put", "type.property.valuetypes.UnionStringLiteralAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnionStringLiteral.put", - "type.property.valuetypes.UnionStringLiteralClient": "null", + "type.property.valuetypes.UnionStringLiteralClient": "Type.Property.ValueTypes.UnionStringLiteral", "type.property.valuetypes.UnionStringLiteralClient.get": "Type.Property.ValueTypes.UnionStringLiteral.get", "type.property.valuetypes.UnionStringLiteralClient.getWithResponse": "Type.Property.ValueTypes.UnionStringLiteral.get", "type.property.valuetypes.UnionStringLiteralClient.put": "Type.Property.ValueTypes.UnionStringLiteral.put", "type.property.valuetypes.UnionStringLiteralClient.putWithResponse": "Type.Property.ValueTypes.UnionStringLiteral.put", - "type.property.valuetypes.UnknownArrayAsyncClient": "null", + "type.property.valuetypes.UnknownArrayAsyncClient": "Type.Property.ValueTypes.UnknownArray", "type.property.valuetypes.UnknownArrayAsyncClient.get": "Type.Property.ValueTypes.UnknownArray.get", "type.property.valuetypes.UnknownArrayAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnknownArray.get", "type.property.valuetypes.UnknownArrayAsyncClient.put": "Type.Property.ValueTypes.UnknownArray.put", "type.property.valuetypes.UnknownArrayAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnknownArray.put", - "type.property.valuetypes.UnknownArrayClient": "null", + "type.property.valuetypes.UnknownArrayClient": "Type.Property.ValueTypes.UnknownArray", "type.property.valuetypes.UnknownArrayClient.get": "Type.Property.ValueTypes.UnknownArray.get", "type.property.valuetypes.UnknownArrayClient.getWithResponse": "Type.Property.ValueTypes.UnknownArray.get", "type.property.valuetypes.UnknownArrayClient.put": "Type.Property.ValueTypes.UnknownArray.put", "type.property.valuetypes.UnknownArrayClient.putWithResponse": "Type.Property.ValueTypes.UnknownArray.put", - "type.property.valuetypes.UnknownDictAsyncClient": "null", + "type.property.valuetypes.UnknownDictAsyncClient": "Type.Property.ValueTypes.UnknownDict", "type.property.valuetypes.UnknownDictAsyncClient.get": "Type.Property.ValueTypes.UnknownDict.get", "type.property.valuetypes.UnknownDictAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnknownDict.get", "type.property.valuetypes.UnknownDictAsyncClient.put": "Type.Property.ValueTypes.UnknownDict.put", "type.property.valuetypes.UnknownDictAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnknownDict.put", - "type.property.valuetypes.UnknownDictClient": "null", + "type.property.valuetypes.UnknownDictClient": "Type.Property.ValueTypes.UnknownDict", "type.property.valuetypes.UnknownDictClient.get": "Type.Property.ValueTypes.UnknownDict.get", "type.property.valuetypes.UnknownDictClient.getWithResponse": "Type.Property.ValueTypes.UnknownDict.get", "type.property.valuetypes.UnknownDictClient.put": "Type.Property.ValueTypes.UnknownDict.put", "type.property.valuetypes.UnknownDictClient.putWithResponse": "Type.Property.ValueTypes.UnknownDict.put", - "type.property.valuetypes.UnknownIntAsyncClient": "null", + "type.property.valuetypes.UnknownIntAsyncClient": "Type.Property.ValueTypes.UnknownInt", "type.property.valuetypes.UnknownIntAsyncClient.get": "Type.Property.ValueTypes.UnknownInt.get", "type.property.valuetypes.UnknownIntAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnknownInt.get", "type.property.valuetypes.UnknownIntAsyncClient.put": "Type.Property.ValueTypes.UnknownInt.put", "type.property.valuetypes.UnknownIntAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnknownInt.put", - "type.property.valuetypes.UnknownIntClient": "null", + "type.property.valuetypes.UnknownIntClient": "Type.Property.ValueTypes.UnknownInt", "type.property.valuetypes.UnknownIntClient.get": "Type.Property.ValueTypes.UnknownInt.get", "type.property.valuetypes.UnknownIntClient.getWithResponse": "Type.Property.ValueTypes.UnknownInt.get", "type.property.valuetypes.UnknownIntClient.put": "Type.Property.ValueTypes.UnknownInt.put", "type.property.valuetypes.UnknownIntClient.putWithResponse": "Type.Property.ValueTypes.UnknownInt.put", - "type.property.valuetypes.UnknownStringAsyncClient": "null", + "type.property.valuetypes.UnknownStringAsyncClient": "Type.Property.ValueTypes.UnknownString", "type.property.valuetypes.UnknownStringAsyncClient.get": "Type.Property.ValueTypes.UnknownString.get", "type.property.valuetypes.UnknownStringAsyncClient.getWithResponse": "Type.Property.ValueTypes.UnknownString.get", "type.property.valuetypes.UnknownStringAsyncClient.put": "Type.Property.ValueTypes.UnknownString.put", "type.property.valuetypes.UnknownStringAsyncClient.putWithResponse": "Type.Property.ValueTypes.UnknownString.put", - "type.property.valuetypes.UnknownStringClient": "null", + "type.property.valuetypes.UnknownStringClient": "Type.Property.ValueTypes.UnknownString", "type.property.valuetypes.UnknownStringClient.get": "Type.Property.ValueTypes.UnknownString.get", "type.property.valuetypes.UnknownStringClient.getWithResponse": "Type.Property.ValueTypes.UnknownString.get", "type.property.valuetypes.UnknownStringClient.put": "Type.Property.ValueTypes.UnknownString.put", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-scalar_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-scalar_apiview_properties.json index a257988e62..bc0e915353 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-scalar_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-scalar_apiview_properties.json @@ -1,81 +1,81 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.scalar.BooleanOperationAsyncClient": "null", + "type.scalar.BooleanOperationAsyncClient": "Type.Scalar.Boolean", "type.scalar.BooleanOperationAsyncClient.get": "Type.Scalar.Boolean.get", "type.scalar.BooleanOperationAsyncClient.getWithResponse": "Type.Scalar.Boolean.get", "type.scalar.BooleanOperationAsyncClient.put": "Type.Scalar.Boolean.put", "type.scalar.BooleanOperationAsyncClient.putWithResponse": "Type.Scalar.Boolean.put", - "type.scalar.BooleanOperationClient": "null", + "type.scalar.BooleanOperationClient": "Type.Scalar.Boolean", "type.scalar.BooleanOperationClient.get": "Type.Scalar.Boolean.get", "type.scalar.BooleanOperationClient.getWithResponse": "Type.Scalar.Boolean.get", "type.scalar.BooleanOperationClient.put": "Type.Scalar.Boolean.put", "type.scalar.BooleanOperationClient.putWithResponse": "Type.Scalar.Boolean.put", - "type.scalar.Decimal128TypeAsyncClient": "null", + "type.scalar.Decimal128TypeAsyncClient": "Type.Scalar.Decimal128Type", "type.scalar.Decimal128TypeAsyncClient.requestBody": "Type.Scalar.Decimal128Type.requestBody", "type.scalar.Decimal128TypeAsyncClient.requestBodyWithResponse": "Type.Scalar.Decimal128Type.requestBody", "type.scalar.Decimal128TypeAsyncClient.requestParameter": "Type.Scalar.Decimal128Type.requestParameter", "type.scalar.Decimal128TypeAsyncClient.requestParameterWithResponse": "Type.Scalar.Decimal128Type.requestParameter", "type.scalar.Decimal128TypeAsyncClient.responseBody": "Type.Scalar.Decimal128Type.responseBody", "type.scalar.Decimal128TypeAsyncClient.responseBodyWithResponse": "Type.Scalar.Decimal128Type.responseBody", - "type.scalar.Decimal128TypeClient": "null", + "type.scalar.Decimal128TypeClient": "Type.Scalar.Decimal128Type", "type.scalar.Decimal128TypeClient.requestBody": "Type.Scalar.Decimal128Type.requestBody", "type.scalar.Decimal128TypeClient.requestBodyWithResponse": "Type.Scalar.Decimal128Type.requestBody", "type.scalar.Decimal128TypeClient.requestParameter": "Type.Scalar.Decimal128Type.requestParameter", "type.scalar.Decimal128TypeClient.requestParameterWithResponse": "Type.Scalar.Decimal128Type.requestParameter", "type.scalar.Decimal128TypeClient.responseBody": "Type.Scalar.Decimal128Type.responseBody", "type.scalar.Decimal128TypeClient.responseBodyWithResponse": "Type.Scalar.Decimal128Type.responseBody", - "type.scalar.Decimal128VerifyAsyncClient": "null", + "type.scalar.Decimal128VerifyAsyncClient": "Type.Scalar.Decimal128Verify", "type.scalar.Decimal128VerifyAsyncClient.prepareVerify": "Type.Scalar.Decimal128Verify.prepareVerify", "type.scalar.Decimal128VerifyAsyncClient.prepareVerifyWithResponse": "Type.Scalar.Decimal128Verify.prepareVerify", "type.scalar.Decimal128VerifyAsyncClient.verify": "Type.Scalar.Decimal128Verify.verify", "type.scalar.Decimal128VerifyAsyncClient.verifyWithResponse": "Type.Scalar.Decimal128Verify.verify", - "type.scalar.Decimal128VerifyClient": "null", + "type.scalar.Decimal128VerifyClient": "Type.Scalar.Decimal128Verify", "type.scalar.Decimal128VerifyClient.prepareVerify": "Type.Scalar.Decimal128Verify.prepareVerify", "type.scalar.Decimal128VerifyClient.prepareVerifyWithResponse": "Type.Scalar.Decimal128Verify.prepareVerify", "type.scalar.Decimal128VerifyClient.verify": "Type.Scalar.Decimal128Verify.verify", "type.scalar.Decimal128VerifyClient.verifyWithResponse": "Type.Scalar.Decimal128Verify.verify", - "type.scalar.DecimalTypeAsyncClient": "null", + "type.scalar.DecimalTypeAsyncClient": "Type.Scalar.DecimalType", "type.scalar.DecimalTypeAsyncClient.requestBody": "Type.Scalar.DecimalType.requestBody", "type.scalar.DecimalTypeAsyncClient.requestBodyWithResponse": "Type.Scalar.DecimalType.requestBody", "type.scalar.DecimalTypeAsyncClient.requestParameter": "Type.Scalar.DecimalType.requestParameter", "type.scalar.DecimalTypeAsyncClient.requestParameterWithResponse": "Type.Scalar.DecimalType.requestParameter", "type.scalar.DecimalTypeAsyncClient.responseBody": "Type.Scalar.DecimalType.responseBody", "type.scalar.DecimalTypeAsyncClient.responseBodyWithResponse": "Type.Scalar.DecimalType.responseBody", - "type.scalar.DecimalTypeClient": "null", + "type.scalar.DecimalTypeClient": "Type.Scalar.DecimalType", "type.scalar.DecimalTypeClient.requestBody": "Type.Scalar.DecimalType.requestBody", "type.scalar.DecimalTypeClient.requestBodyWithResponse": "Type.Scalar.DecimalType.requestBody", "type.scalar.DecimalTypeClient.requestParameter": "Type.Scalar.DecimalType.requestParameter", "type.scalar.DecimalTypeClient.requestParameterWithResponse": "Type.Scalar.DecimalType.requestParameter", "type.scalar.DecimalTypeClient.responseBody": "Type.Scalar.DecimalType.responseBody", "type.scalar.DecimalTypeClient.responseBodyWithResponse": "Type.Scalar.DecimalType.responseBody", - "type.scalar.DecimalVerifyAsyncClient": "null", + "type.scalar.DecimalVerifyAsyncClient": "Type.Scalar.DecimalVerify", "type.scalar.DecimalVerifyAsyncClient.prepareVerify": "Type.Scalar.DecimalVerify.prepareVerify", "type.scalar.DecimalVerifyAsyncClient.prepareVerifyWithResponse": "Type.Scalar.DecimalVerify.prepareVerify", "type.scalar.DecimalVerifyAsyncClient.verify": "Type.Scalar.DecimalVerify.verify", "type.scalar.DecimalVerifyAsyncClient.verifyWithResponse": "Type.Scalar.DecimalVerify.verify", - "type.scalar.DecimalVerifyClient": "null", + "type.scalar.DecimalVerifyClient": "Type.Scalar.DecimalVerify", "type.scalar.DecimalVerifyClient.prepareVerify": "Type.Scalar.DecimalVerify.prepareVerify", "type.scalar.DecimalVerifyClient.prepareVerifyWithResponse": "Type.Scalar.DecimalVerify.prepareVerify", "type.scalar.DecimalVerifyClient.verify": "Type.Scalar.DecimalVerify.verify", "type.scalar.DecimalVerifyClient.verifyWithResponse": "Type.Scalar.DecimalVerify.verify", "type.scalar.ScalarClientBuilder": "Type.Scalar", - "type.scalar.StringOperationAsyncClient": "null", + "type.scalar.StringOperationAsyncClient": "Type.Scalar.String", "type.scalar.StringOperationAsyncClient.get": "Type.Scalar.String.get", "type.scalar.StringOperationAsyncClient.getWithResponse": "Type.Scalar.String.get", "type.scalar.StringOperationAsyncClient.put": "Type.Scalar.String.put", "type.scalar.StringOperationAsyncClient.putWithResponse": "Type.Scalar.String.put", - "type.scalar.StringOperationClient": "null", + "type.scalar.StringOperationClient": "Type.Scalar.String", "type.scalar.StringOperationClient.get": "Type.Scalar.String.get", "type.scalar.StringOperationClient.getWithResponse": "Type.Scalar.String.get", "type.scalar.StringOperationClient.put": "Type.Scalar.String.put", "type.scalar.StringOperationClient.putWithResponse": "Type.Scalar.String.put", - "type.scalar.UnknownAsyncClient": "null", + "type.scalar.UnknownAsyncClient": "Type.Scalar.Unknown", "type.scalar.UnknownAsyncClient.get": "Type.Scalar.Unknown.get", "type.scalar.UnknownAsyncClient.getWithResponse": "Type.Scalar.Unknown.get", "type.scalar.UnknownAsyncClient.put": "Type.Scalar.Unknown.put", "type.scalar.UnknownAsyncClient.putWithResponse": "Type.Scalar.Unknown.put", - "type.scalar.UnknownClient": "null", + "type.scalar.UnknownClient": "Type.Scalar.Unknown", "type.scalar.UnknownClient.get": "Type.Scalar.Unknown.get", "type.scalar.UnknownClient.getWithResponse": "Type.Scalar.Unknown.get", "type.scalar.UnknownClient.put": "Type.Scalar.Unknown.put", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-union_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-union_apiview_properties.json index 0e28c381fb..a5c070467e 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-union_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/type-union_apiview_properties.json @@ -1,102 +1,102 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "type.union.EnumsOnlyAsyncClient": "null", + "type.union.EnumsOnlyAsyncClient": "Type.Union.EnumsOnly", "type.union.EnumsOnlyAsyncClient.get": "Type.Union.EnumsOnly.get", "type.union.EnumsOnlyAsyncClient.getWithResponse": "Type.Union.EnumsOnly.get", "type.union.EnumsOnlyAsyncClient.send": "Type.Union.EnumsOnly.send", "type.union.EnumsOnlyAsyncClient.sendWithResponse": "Type.Union.EnumsOnly.send", - "type.union.EnumsOnlyClient": "null", + "type.union.EnumsOnlyClient": "Type.Union.EnumsOnly", "type.union.EnumsOnlyClient.get": "Type.Union.EnumsOnly.get", "type.union.EnumsOnlyClient.getWithResponse": "Type.Union.EnumsOnly.get", "type.union.EnumsOnlyClient.send": "Type.Union.EnumsOnly.send", "type.union.EnumsOnlyClient.sendWithResponse": "Type.Union.EnumsOnly.send", - "type.union.FloatsOnlyAsyncClient": "null", + "type.union.FloatsOnlyAsyncClient": "Type.Union.FloatsOnly", "type.union.FloatsOnlyAsyncClient.get": "Type.Union.FloatsOnly.get", "type.union.FloatsOnlyAsyncClient.getWithResponse": "Type.Union.FloatsOnly.get", "type.union.FloatsOnlyAsyncClient.send": "Type.Union.FloatsOnly.send", "type.union.FloatsOnlyAsyncClient.sendWithResponse": "Type.Union.FloatsOnly.send", - "type.union.FloatsOnlyClient": "null", + "type.union.FloatsOnlyClient": "Type.Union.FloatsOnly", "type.union.FloatsOnlyClient.get": "Type.Union.FloatsOnly.get", "type.union.FloatsOnlyClient.getWithResponse": "Type.Union.FloatsOnly.get", "type.union.FloatsOnlyClient.send": "Type.Union.FloatsOnly.send", "type.union.FloatsOnlyClient.sendWithResponse": "Type.Union.FloatsOnly.send", - "type.union.IntsOnlyAsyncClient": "null", + "type.union.IntsOnlyAsyncClient": "Type.Union.IntsOnly", "type.union.IntsOnlyAsyncClient.get": "Type.Union.IntsOnly.get", "type.union.IntsOnlyAsyncClient.getWithResponse": "Type.Union.IntsOnly.get", "type.union.IntsOnlyAsyncClient.send": "Type.Union.IntsOnly.send", "type.union.IntsOnlyAsyncClient.sendWithResponse": "Type.Union.IntsOnly.send", - "type.union.IntsOnlyClient": "null", + "type.union.IntsOnlyClient": "Type.Union.IntsOnly", "type.union.IntsOnlyClient.get": "Type.Union.IntsOnly.get", "type.union.IntsOnlyClient.getWithResponse": "Type.Union.IntsOnly.get", "type.union.IntsOnlyClient.send": "Type.Union.IntsOnly.send", "type.union.IntsOnlyClient.sendWithResponse": "Type.Union.IntsOnly.send", - "type.union.MixedLiteralsAsyncClient": "null", + "type.union.MixedLiteralsAsyncClient": "Type.Union.MixedLiterals", "type.union.MixedLiteralsAsyncClient.get": "Type.Union.MixedLiterals.get", "type.union.MixedLiteralsAsyncClient.getWithResponse": "Type.Union.MixedLiterals.get", "type.union.MixedLiteralsAsyncClient.send": "Type.Union.MixedLiterals.send", "type.union.MixedLiteralsAsyncClient.sendWithResponse": "Type.Union.MixedLiterals.send", - "type.union.MixedLiteralsClient": "null", + "type.union.MixedLiteralsClient": "Type.Union.MixedLiterals", "type.union.MixedLiteralsClient.get": "Type.Union.MixedLiterals.get", "type.union.MixedLiteralsClient.getWithResponse": "Type.Union.MixedLiterals.get", "type.union.MixedLiteralsClient.send": "Type.Union.MixedLiterals.send", "type.union.MixedLiteralsClient.sendWithResponse": "Type.Union.MixedLiterals.send", - "type.union.MixedTypesAsyncClient": "null", + "type.union.MixedTypesAsyncClient": "Type.Union.MixedTypes", "type.union.MixedTypesAsyncClient.get": "Type.Union.MixedTypes.get", "type.union.MixedTypesAsyncClient.getWithResponse": "Type.Union.MixedTypes.get", "type.union.MixedTypesAsyncClient.send": "Type.Union.MixedTypes.send", "type.union.MixedTypesAsyncClient.sendWithResponse": "Type.Union.MixedTypes.send", - "type.union.MixedTypesClient": "null", + "type.union.MixedTypesClient": "Type.Union.MixedTypes", "type.union.MixedTypesClient.get": "Type.Union.MixedTypes.get", "type.union.MixedTypesClient.getWithResponse": "Type.Union.MixedTypes.get", "type.union.MixedTypesClient.send": "Type.Union.MixedTypes.send", "type.union.MixedTypesClient.sendWithResponse": "Type.Union.MixedTypes.send", - "type.union.ModelsOnlyAsyncClient": "null", + "type.union.ModelsOnlyAsyncClient": "Type.Union.ModelsOnly", "type.union.ModelsOnlyAsyncClient.get": "Type.Union.ModelsOnly.get", "type.union.ModelsOnlyAsyncClient.getWithResponse": "Type.Union.ModelsOnly.get", "type.union.ModelsOnlyAsyncClient.send": "Type.Union.ModelsOnly.send", "type.union.ModelsOnlyAsyncClient.sendWithResponse": "Type.Union.ModelsOnly.send", - "type.union.ModelsOnlyClient": "null", + "type.union.ModelsOnlyClient": "Type.Union.ModelsOnly", "type.union.ModelsOnlyClient.get": "Type.Union.ModelsOnly.get", "type.union.ModelsOnlyClient.getWithResponse": "Type.Union.ModelsOnly.get", "type.union.ModelsOnlyClient.send": "Type.Union.ModelsOnly.send", "type.union.ModelsOnlyClient.sendWithResponse": "Type.Union.ModelsOnly.send", - "type.union.StringAndArrayAsyncClient": "null", + "type.union.StringAndArrayAsyncClient": "Type.Union.StringAndArray", "type.union.StringAndArrayAsyncClient.get": "Type.Union.StringAndArray.get", "type.union.StringAndArrayAsyncClient.getWithResponse": "Type.Union.StringAndArray.get", "type.union.StringAndArrayAsyncClient.send": "Type.Union.StringAndArray.send", "type.union.StringAndArrayAsyncClient.sendWithResponse": "Type.Union.StringAndArray.send", - "type.union.StringAndArrayClient": "null", + "type.union.StringAndArrayClient": "Type.Union.StringAndArray", "type.union.StringAndArrayClient.get": "Type.Union.StringAndArray.get", "type.union.StringAndArrayClient.getWithResponse": "Type.Union.StringAndArray.get", "type.union.StringAndArrayClient.send": "Type.Union.StringAndArray.send", "type.union.StringAndArrayClient.sendWithResponse": "Type.Union.StringAndArray.send", - "type.union.StringExtensibleAsyncClient": "null", + "type.union.StringExtensibleAsyncClient": "Type.Union.StringExtensible", "type.union.StringExtensibleAsyncClient.get": "Type.Union.StringExtensible.get", "type.union.StringExtensibleAsyncClient.getWithResponse": "Type.Union.StringExtensible.get", "type.union.StringExtensibleAsyncClient.send": "Type.Union.StringExtensible.send", "type.union.StringExtensibleAsyncClient.sendWithResponse": "Type.Union.StringExtensible.send", - "type.union.StringExtensibleClient": "null", + "type.union.StringExtensibleClient": "Type.Union.StringExtensible", "type.union.StringExtensibleClient.get": "Type.Union.StringExtensible.get", "type.union.StringExtensibleClient.getWithResponse": "Type.Union.StringExtensible.get", "type.union.StringExtensibleClient.send": "Type.Union.StringExtensible.send", "type.union.StringExtensibleClient.sendWithResponse": "Type.Union.StringExtensible.send", - "type.union.StringExtensibleNamedAsyncClient": "null", + "type.union.StringExtensibleNamedAsyncClient": "Type.Union.StringExtensibleNamed", "type.union.StringExtensibleNamedAsyncClient.get": "Type.Union.StringExtensibleNamed.get", "type.union.StringExtensibleNamedAsyncClient.getWithResponse": "Type.Union.StringExtensibleNamed.get", "type.union.StringExtensibleNamedAsyncClient.send": "Type.Union.StringExtensibleNamed.send", "type.union.StringExtensibleNamedAsyncClient.sendWithResponse": "Type.Union.StringExtensibleNamed.send", - "type.union.StringExtensibleNamedClient": "null", + "type.union.StringExtensibleNamedClient": "Type.Union.StringExtensibleNamed", "type.union.StringExtensibleNamedClient.get": "Type.Union.StringExtensibleNamed.get", "type.union.StringExtensibleNamedClient.getWithResponse": "Type.Union.StringExtensibleNamed.get", "type.union.StringExtensibleNamedClient.send": "Type.Union.StringExtensibleNamed.send", "type.union.StringExtensibleNamedClient.sendWithResponse": "Type.Union.StringExtensibleNamed.send", - "type.union.StringsOnlyAsyncClient": "null", + "type.union.StringsOnlyAsyncClient": "Type.Union.StringsOnly", "type.union.StringsOnlyAsyncClient.get": "Type.Union.StringsOnly.get", "type.union.StringsOnlyAsyncClient.getWithResponse": "Type.Union.StringsOnly.get", "type.union.StringsOnlyAsyncClient.send": "Type.Union.StringsOnly.send", "type.union.StringsOnlyAsyncClient.sendWithResponse": "Type.Union.StringsOnly.send", - "type.union.StringsOnlyClient": "null", + "type.union.StringsOnlyClient": "Type.Union.StringsOnly", "type.union.StringsOnlyClient.get": "Type.Union.StringsOnly.get", "type.union.StringsOnlyClient.getWithResponse": "Type.Union.StringsOnly.get", "type.union.StringsOnlyClient.send": "Type.Union.StringsOnly.send", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-added_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-added_apiview_properties.json index a7d4fed75d..36c0ff0089 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-added_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-added_apiview_properties.json @@ -12,10 +12,10 @@ "versioning.added.AddedClient.v2": "Versioning.Added.v2", "versioning.added.AddedClient.v2WithResponse": "Versioning.Added.v2", "versioning.added.AddedClientBuilder": "Versioning.Added", - "versioning.added.InterfaceV2AsyncClient": "null", + "versioning.added.InterfaceV2AsyncClient": "Versioning.Added.InterfaceV2", "versioning.added.InterfaceV2AsyncClient.v2InInterface": "Versioning.Added.InterfaceV2.v2InInterface", "versioning.added.InterfaceV2AsyncClient.v2InInterfaceWithResponse": "Versioning.Added.InterfaceV2.v2InInterface", - "versioning.added.InterfaceV2Client": "null", + "versioning.added.InterfaceV2Client": "Versioning.Added.InterfaceV2", "versioning.added.InterfaceV2Client.v2InInterface": "Versioning.Added.InterfaceV2.v2InInterface", "versioning.added.InterfaceV2Client.v2InInterfaceWithResponse": "Versioning.Added.InterfaceV2.v2InInterface", "versioning.added.models.EnumV1": "Versioning.Added.EnumV1", diff --git a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-renamedfrom_apiview_properties.json b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-renamedfrom_apiview_properties.json index 5d21443195..5a5ab4c8af 100644 --- a/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-renamedfrom_apiview_properties.json +++ b/packages/http-client-java/generator/http-client-generator-test/src/main/resources/META-INF/versioning-renamedfrom_apiview_properties.json @@ -1,10 +1,10 @@ { "flavor": "Azure", "CrossLanguageDefinitionId": { - "versioning.renamedfrom.NewInterfaceAsyncClient": "null", + "versioning.renamedfrom.NewInterfaceAsyncClient": "Versioning.RenamedFrom.NewInterface", "versioning.renamedfrom.NewInterfaceAsyncClient.newOpInNewInterface": "Versioning.RenamedFrom.NewInterface.newOpInNewInterface", "versioning.renamedfrom.NewInterfaceAsyncClient.newOpInNewInterfaceWithResponse": "Versioning.RenamedFrom.NewInterface.newOpInNewInterface", - "versioning.renamedfrom.NewInterfaceClient": "null", + "versioning.renamedfrom.NewInterfaceClient": "Versioning.RenamedFrom.NewInterface", "versioning.renamedfrom.NewInterfaceClient.newOpInNewInterface": "Versioning.RenamedFrom.NewInterface.newOpInNewInterface", "versioning.renamedfrom.NewInterfaceClient.newOpInNewInterfaceWithResponse": "Versioning.RenamedFrom.NewInterface.newOpInNewInterface", "versioning.renamedfrom.RenamedFromAsyncClient": "Versioning.RenamedFrom", diff --git a/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/Main.java b/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/Main.java index 430c15ec40..b0a6137870 100644 --- a/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/Main.java +++ b/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/Main.java @@ -174,7 +174,12 @@ private static void handleDPG(CodeModel codeModel, EmitterOptions emitterOptions } else { sb.append(",\n"); } - sb.append(" \"").append(key).append("\": \"").append(value).append("\""); + sb.append(" \"").append(key).append("\": "); + if (value == null) { + sb.append("null"); + } else { + sb.append("\"").append(value).append("\""); + } }); sb.append("\n }\n}\n"); diff --git a/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/mapper/TypeSpecServiceClientMapper.java b/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/mapper/TypeSpecServiceClientMapper.java index 19f696bdac..134c970362 100644 --- a/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/mapper/TypeSpecServiceClientMapper.java +++ b/packages/http-client-java/generator/http-client-generator/src/main/java/com/microsoft/typespec/http/client/generator/mapper/TypeSpecServiceClientMapper.java @@ -86,7 +86,7 @@ public ServiceClient map(Client client, CodeModel codeModel) { processPipelinePolicyDetails(builder, client); - builder.crossLanguageDefinitionId(client.getCrossLanguageDefinitionId()); + builder.crossLanguageDefinitionId(SchemaUtil.getCrossLanguageDefinitionId(client)); List clientAccessorMethods = new ArrayList<>(); for (Client subClient : client.getSubClients()) {